Skip to main content

pypi XML-RPC wrapper

Project description

Install

$ [sudo] pip install pypixmlrpc

Features

  • pypi.org object - pypixmlrpc.pypi
  • pypi class - pypixmlrpc.Server

Examples

list_packages - get all pypi packages

>>> pypixmlrpc.pypi.list_packages()
[...]

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

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

package_releases(name)

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

release_urls(name,version)

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

json(name,version=None)

>>> pypixmlrpc.pypi.json("requests") # latest
{...}
>>> pypixmlrpc.pypi.json("requests","x.y.z")
{...}

Links

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pypixmlrpc-1.0.3-py2.py3-none-any.whl (2.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jul 5, 2018
pypixmlrpc-1.0.3.tar.gz (2.1 kB) Copy SHA256 hash SHA256 Source None Jul 5, 2018

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