Skip to main content

library for interacting with devpi servers via web API

Reason this release was yanked:

deprecated

Project description

# devpi-tools
Small Python library for interacting with devpi servers via web API

## Installing

```python
pip install devpi-tools
```

## Usage

```python
from devpi_tools import DevpiClient

client = DevpiClient('http://127.0.0.1:3141')

client.indexes() # list all indexes
index = client.index('/root/pypi') # or fetch a single index

index.projects() # list all projects
project = index.project('devpi-tools') # or fetch a single project/package by name

project.versions() # list of uploaded versions
project.version('1.0.1') # or fetch details on a specific version
```


Another example, finding the latest version of a specific package, in a specific devpi index:
```python
all_versions = c.index('/root/pypi').project('requests').versions
latest = max(all_versions.keys())
```

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

devpi-tools-0.2.tar.gz (3.4 kB view hashes)

Uploaded Source

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