devpi-tools
Small Python library for interacting with devpi servers via web API
Installing
pip install devpi-tools
Usage
from devpi_tools import DevpiClient
client = DevpiClient('http://127.0.0.1:3141')
client.indexes() # list all indexes
index = client.index('/root/pypi') # fetch a single index
index.projects() # list all projects
project = index.project('devpi-tools') # fetch a single project/package by name
project.versions() # list of uploaded versions
project.version('1.0.1') # fetch details on a specific version
Another example, finding the latest version of a specific package, in a specific devpi index:
index = client.index('/root/pypi')
v = index.project('requests').latest_version()
print('version: %s' % v.version)
print('uploaded: %s' % v.uploaded)
Metadata
Release files for devpi-tools 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| devpi-tools-0.5.3.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| devpi_tools-0.5.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / devpi-tools-0.5.3.tar.gz
| Download URL | devpi-tools-0.5.3.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
456948aa5061b3a3cc40cbe90f2f5f9f9cf28dc1ad1f278cea5e67f353b0b117
|
|
BLAKE2b-256 checksum How to use checksums |
44e06ebba74b098dc3ec9f602a116e1799b8f83fd50404ac79fea74f6d21b187
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
|
Release files / devpi_tools-0.5.3-py3-none-any.whl
| Download URL | devpi_tools-0.5.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
075bb002bca110117806c73f61f9a66e3fea0e6a03ecdee34c47e9f7db3b5473
|
|
BLAKE2b-256 checksum How to use checksums |
c660c5714dbcb5ef212d073aa0b11359cee6cdcd41de6e8e739f3dea24946151
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
|