Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(5)  |  Derive(0)  |  Import(5)

        def createPeerID(ins='---'):
    assert isinstance(ins, str)
    assert len(ins) == 3
    return _idprefix + ins + _idrandom[0]
        


src/o/w/OwnTube-HEAD/videoportal/BitTornadoABC/BitTornado/BT1/track.py   OwnTube(Download)
import signal
import re
from BitTornado.__init__ import version, createPeerID
try:
    True
                self.times[x][y] = 0
 
        self.trackerid = createPeerID('-T-')
        seed(self.trackerid)
 

src/f/r/FriendlyTorrent-HEAD/src/tornado/BitTornado/BT1/track.py   FriendlyTorrent(Download)
import re
import BitTornado.__init__
from BitTornado.__init__ import version, createPeerID
try:
    True
                self.times[x][y] = 0
 
        self.trackerid = createPeerID('-T-')
        seed(self.trackerid)
 

src/h/e/Herd-HEAD/BitTornado/BT1/track.py   Herd(Download)
import re
import BitTornado.__init__
from BitTornado.__init__ import version, createPeerID
try:
    True
                self.times[x][y] = 0
 
        self.trackerid = createPeerID('-T-')
        seed(self.trackerid)
 

src/b/i/BitTornado-HEAD/BitTornado/BT1/track.py   BitTornado(Download)
from BitTornado.clock import clock
from binascii import hexlify
from BitTornado.__init__ import version, createPeerID
 
defaults = [
                self.times[x][y] = 0
 
        self.trackerid = createPeerID('-T-')
        random.seed(self.trackerid)
 

src/s/w/swarm-HEAD/BitTornado/BT1/track.py   swarm(Download)
import re
import BitTornado.__init__
from BitTornado.__init__ import version, createPeerID
try:
    True
                self.times[x][y] = 0
 
        self.trackerid = createPeerID('-T-')
        seed(self.trackerid)