Did I find the right examples for you? yes no

All Samples(29)  |  Call(15)  |  Derive(1)  |  Import(13)
Interface to Python Package Index

src/m/o/modern-python-example-HEAD/lib/python2.7/site-packages/yolk/cli.py   modern-python-example(Download)
from yolk.metadata import get_metadata
from yolk.yolklib import get_highest_version, Distributions
from yolk.pypi import CheeseShop
from yolk.setuptools_support import get_download_uri, get_pkglist
from yolk.plugins import load_plugins
        #show_updates may or may not have a pkg_spec
        if not want_installed or self.options.show_updates:
            self.pypi = CheeseShop(self.options.debug)
            #XXX: We should return 2 here if we couldn't create xmlrpc server
 

src/y/o/yolk-0.4.3/yolk/cli.py   yolk(Download)
from yolk.metadata import get_metadata
from yolk.yolklib import get_highest_version, Distributions
from yolk.pypi import CheeseShop
from yolk.setuptools_support import get_download_uri, get_pkglist
from yolk.plugins import load_plugins
        #show_updates may or may not have a pkg_spec
        if not want_installed or self.options.show_updates:
            self.pypi = CheeseShop(self.options.debug)
            #XXX: We should return 2 here if we couldn't create xmlrpc server
 

src/y/o/yolk3k-0.8.1/yolk/cli.py   yolk3k(Download)
from yolk.metadata import get_metadata
from yolk.yolklib import get_highest_version, Distributions
from yolk.pypi import CheeseShop
from yolk.setuptools_support import get_download_uri, get_pkglist
from yolk.utils import run_command, command_successful
            self.options.upgrade
        ):
            self.pypi = CheeseShop(self.options.debug)
            # XXX: We should return 2 here if we couldn't create xmlrpc server
 

src/e/e/eea.eggmonkey-3.0/eea/eggmonkey/buildout.py   eea.eggmonkey(Download)

src/d/j/django-eggnog-0.0.1/eggnog/management/commands/checkupdates.py   django-eggnog(Download)
from yolk.setuptools_support import get_pkglist
from yolk.yolklib import get_highest_version, Distributions
from yolk.pypi import CheeseShop
 
from eggnog.models import Update
    threads = []
    dists = Distributions()
    pypi = CheeseShop()
 
    def __init__(self, *args, **kwargs):

src/g/0/g-pypi-0.3/gpypi/cli.py   g-pypi(Download)
import argparse
 
from yolk.pypi import CheeseShop
from yolk.yolklib import get_highest_version
from yolk.setuptools_support import get_download_uri
        self.options = options
        self.tree = [(package_name, version)]
        self.pypi = CheeseShop()
 
    def create_ebuilds(self):
    def sync(self):
        """"""
        pypi = CheeseShop()
        for package in pypi.list_packages():
            (pn, vers) = pypi.query_versions_pypi(package)

src/g/0/g-pypi-HEAD/gpypi/cli.py   g-pypi(Download)
import argparse
 
from yolk.pypi import CheeseShop
from yolk.yolklib import get_highest_version
from yolk.setuptools_support import get_download_uri
        self.options = options
        self.tree = [(package_name, version)]
        self.pypi = CheeseShop()
 
    def create_ebuilds(self):
    def sync(self):
        """"""
        pypi = CheeseShop()
        for package in pypi.list_packages():
            (pn, vers) = pypi.query_versions_pypi(package)

src/v/a/vanity_app-HEAD/src/vanity_app/vanity_app/utils.py   vanity_app(Download)
from pypi.trashfinder.cli import process_package
from pyramid.security import has_permission
from yolk.pypi import CheeseShop
from . import config
from . import mkcfg as d2
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
pypi = xmlrpclib.ServerProxy(config.PYPI_URL)
yolk = CheeseShop()
twitter = Twitter.Api(consumer_key=config.TWITTER_CONSUMER_KEY,
    consumer_secret=config.TWITTER_CONSUMER_SECRET,

src/p/l/plock-0.2.0/plock/config.py   plock(Download)
from yolk.pypi import CheeseShop
import argparse
import configparser
import os
import pkg_resources
cfg_parser = configparser.SafeConfigParser()
 
pypi = CheeseShop()
 
REMOTE_PLONE = "https://raw.github.com/plock/pins/master/plone-4-3"

src/b/u/bundle-1.1.2/bundle/versions.py   bundle(Download)
from yolk.pypi import CheeseShop as PyPI
 
from .utils import say
 
 
    def pypi(self):
        if self._pypi is None:
            self._pypi = PyPI()
        return self._pypi
 

  1 | 2  Next