Skip to main content

library for interacting with devpi servers via web API

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


Release history Release notifications

This version
History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

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
devpi-tools-0.4.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None Aug 11, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page