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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/c/u/curdling-0.4.0/curdling/install.py   curdling(Download)
 
from .services.base import Service
from .services.downloader import Finder, Downloader
from .services.curdler import Curdler
from .services.dependencer import Dependencer
        p = lambda n: max(int(math.floor((cpu_count / 8.0) * n)), 1)
 
        self.finder = Finder(size=p(1), **args)
        self.downloader = Downloader(size=p(2), **args)
        self.curdler = Curdler(size=p(4), **args)

src/c/u/curdling-HEAD/curdling/install.py   curdling(Download)
 
from .services.base import Service
from .services.downloader import Finder, Downloader
from .services.curdler import Curdler
from .services.dependencer import Dependencer
        p = lambda n: max(int(math.floor((cpu_count / 8.0) * n)), 1)
 
        self.finder = Finder(size=p(1), **args)
        self.downloader = Downloader(size=p(2), **args)
        self.curdler = Curdler(size=p(4), **args)