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.

Files for pypi-xmlrpc, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size pypi-xmlrpc-2019.4.13.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page