Skip to main content

pypi XML-RPC

Project description


$ [sudo] pip install pypi-xmlrpc


function description
pypi_xmlrpc.list_packages() return list of all server packages
pypi_xmlrpc.package_releases(name, show_hidden=True) return list of package releases
pypi_xmlrpc.package_roles(name) return list of package roles
pypi_xmlrpc.release_data(name, version) return dictionary with release data
pypi_xmlrpc.release_urls(name, version) return list of release urls
pypi_xmlrpc.user_packages(user) return list of user packages


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


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

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


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

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

>>> pypi_xmlrpc.package_roles("requests")


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


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


readme-md - 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-2018.11.20.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

pypi_xmlrpc-2018.11.20-py2.py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page