Skip to main content

pypi XML-RPC

Project description

Installation

$ [sudo] pip install pypi-xmlrpc

Functions

function __doc__
pypi_xmlrpc.list_packages() return a list of all server packages
pypi_xmlrpc.package_roles(name) return a list of package roles
pypi_xmlrpc.release_data(name, version) return dictionary with release data
pypi_xmlrpc.release_urls(name, version) return a list of release urls

Executable modules

usage __doc__
python -m pypi_xmlrpc.package_releases name print package releases
python -m pypi_xmlrpc.user_packages user print user packages

Examples

user_packages(user) [(role,name),...]

>>> packages = pypi_xmlrpc.user_packages("kennethreitz") # user packages
>>> for role, name in packages:

package_releases(name)

>>> pypi_xmlrpc.package_releases("requests")
['x.y.z',..., '0.0.1']

package_roles(name) [(role,name),...]

>>> pypi_xmlrpc.package_roles("requests")
[('role','username'),...]

release_data(name,version)

>>> pypi_xmlrpc.release_data("requests","x.y.z")
{'name': 'requests',...}

release_urls(name,version)

>>> pypi_xmlrpc.release_urls("requests","x.y.z")
[...]

Links

python-readme-generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypi-xmlrpc-2019.4.13.tar.gz (2.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page