pypicloud.route module

Tools and resources for traversal routing

class pypicloud.route.APIPackageFileResource(request, name, filename)[source]

Bases: object

Resource for api endpoints dealing with a single package version

class pypicloud.route.APIPackageResource(request, name)[source]

Bases: pypicloud.route.IResourceFactory

Resource for requesting package versions

class pypicloud.route.APIPackagingResource(request)[source]

Bases: pypicloud.route.IResourceFactory

Resource for api package queries

class pypicloud.route.APIResource(request)[source]

Bases: pypicloud.route.IStaticResource

Resource for api calls

subobjects = {'package': <class 'pypicloud.route.APIPackagingResource'>}[source]
class pypicloud.route.AdminResource(request)[source]

Bases: pypicloud.route.IStaticResource

Resource for admin calls

class pypicloud.route.IResourceFactory(request)[source]

Bases: object

Resource that generates child resources from a factory

class pypicloud.route.IStaticResource(request)[source]

Bases: object

Simple resource base class for static-mapping of paths

subobjects = {}[source]
class pypicloud.route.PackagesResource(request)[source]

Bases: pypicloud.route.IStaticResource

Resource for cleaner buildout config

class pypicloud.route.Root(request)[source]

Bases: pypicloud.route.IStaticResource

Root context for PyPI Cloud

subobjects = {'admin': <class 'pypicloud.route.AdminResource'>, 'simple': <class 'pypicloud.route.SimpleResource'>, 'api': <class 'pypicloud.route.APIResource'>, 'pypi': <class 'pypicloud.route.SimpleResource'>, 'packages': <class 'pypicloud.route.PackagesResource'>}[source]
class pypicloud.route.SimplePackageResource(request, name)[source]

Bases: object

Resource for requesting simple endpoint package versions

class pypicloud.route.SimpleResource(request)[source]

Bases: object

Resource for simple pip calls