Differences between revisions 6 and 7
Revision 6 as of 2008-02-27 20:52:52
Size: 2844
Editor: c122-107-136-108
Revision 7 as of 2008-03-21 20:32:18
Size: 3070
Deletions are marked like this. Additions are marked like this.
Line 64: Line 64:

     Return a list of changed packages since the given timestamp;
     since is given in seconds since the Unix epoch. For each
     package, it provides name, version, submitted_date, and

PyPI's XML-RPC methods

XmlRpc methods:

package_releases(package_name, show_hidden=False):

  • Returns list of release versions, as strings, e.g., ['0.1', '0.2b', '0.2'], in chronological order. If show_hidden is True then both hidden and unhidden will be listed.


  • Returns packages.stable_version; the current stable version of the package. E.g., the string '0.3'

package_urls(package_name, version):

package_data(package_name, version):

  • automates the packaging, release and announcement of Open Source software. The pack class creates packages, which are defined by packer classes, manages versioning, and brings up your notes and changelog in

    an editor. The release class uploads the package to SourceForge, releases it through QRS, announces it on freshmeat and (if appropriate) on pypi.",

    • 'license': 'GNU General Public License', 'platform': 'any', 'classifiers': [
      'Development Status
      4 - Beta',
      'Intended Audience
      OSI Approved :: GNU General Public License (GPL)',
      'Natural Language
      'Operating System
      OS Independent',
      'Programming Language
      Software Development'],

      'summary': , 'description_html': , 'keywords': , }

} } }

  • All keys are required. Missing values are given as 'UNKNOWN'.

search(field_specifiers, [operator='and']):

  • field_specifiers is a dictionary of {fieldname: searchvalue}. Returns a list like [(name, version)] of matching non-hidden records. The search values are case-insensitive and match any substring. The second argument indicates if all the field specifiers are ANDed or ORed together. The value defaults to 'and' and is case-insensitive.


  • Return a list of changed packages since the given timestamp; since is given in seconds since the Unix epoch. For each package, it provides name, version, submitted_date, and action.


PyPIXmlRpc (last edited 2018-07-10 16:43:27 by EWDurbin)

Unable to edit the page? See the FrontPage for instructions.