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

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)
Collection of addresses with no constraints on contiguity,
featuring insertion functions and inclusion tests.

src/b/i/BitTornado-HEAD/BitTornado/BT1/track.py   BitTornado(Download)
import threading
from urllib import quote, unquote
from BitTornado.NetworkAddress import is_ipv4, is_valid_ip, ipv6_to_ipv4, \
    to_ipv4, AddrList
from BitTornado.parseargs import parseargs, formatDefinitions
alas = 'your file may exist elsewhere in the universe\nbut alas, not here\n'
 
local_IPs = AddrList()
local_IPs.set_intranet_addresses()
 
        f = self.config['allowed_ips']
        if f and self.allowed_ip_mtime != os.path.getmtime(f):
            self.allowed_IPs = AddrList()
            try:
                self.allowed_IPs.read_fieldlist(f)
        f = self.config['banned_ips']
        if f and self.banned_ip_mtime != os.path.getmtime(f):
            self.banned_IPs = AddrList()
            try:
                self.banned_IPs.read_rangelist(f)