4.1. High level API to Query indexes

Distutils2 provides a high level API to query indexes, search for releases and distributions, no matters the underlying API you want to use.

The aim of this module is to choose the best way to query the API, using the less possible XML-RPC, and when possible the simple index.

4.1.1. API

The client comes with the common methods “find_projects”, “get_release” and “get_releases”, which helps to query the servers, and returns distutils2.index.dist.ReleaseInfo, and distutils2.index.dist.ReleasesList objects.

Table Of Contents

Previous topic

4. Query Python Package Indexes (PyPI)

Next topic

4.2. Representation of informations coming from indexes

This Page