def download_all_package_dicts(num_greenlets=5, limit=None):
 package_names = xmlrpclib.ServerProxy('https://pypi.python.org/pypi').list_packages()[:limit]
 logger.info('Downloading %s packages', len(package_names))
 return Pool(num_greenlets).imap(download_package_dict, package_names)

def download_all_package_dicts ( num_greenlets = 5 , limit = None ) : package_names = xmlrpclib . ServerProxy ( 'https://pypi.python.org/pypi' ) . list_packages ( ) [ : limit ] logger . info ( 'Downloading %s packages' , len ( package_names ) ) return Pool ( num_greenlets ) . imap ( download_package_dict , package_names )
download all the package dicts from pypi .