Skip to main content

devpi-tools

pypi

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)

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.5.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devpi_tools-0.5.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file devpi-tools-0.5.3.tar.gz.

File metadata

  • Download URL: devpi-tools-0.5.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for devpi-tools-0.5.3.tar.gz
Algorithm Hash digest
SHA256 456948aa5061b3a3cc40cbe90f2f5f9f9cf28dc1ad1f278cea5e67f353b0b117
MD5 7fc7c2d9cadd028044bf5eff7e014b53
BLAKE2b-256 44e06ebba74b098dc3ec9f602a116e1799b8f83fd50404ac79fea74f6d21b187

See more details on using hashes here.

File details

Details for the file devpi_tools-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: devpi_tools-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for devpi_tools-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 075bb002bca110117806c73f61f9a66e3fea0e6a03ecdee34c47e9f7db3b5473
MD5 5a7c70990d7e46c1ccd8d176e83d84fb
BLAKE2b-256 c660c5714dbcb5ef212d073aa0b11359cee6cdcd41de6e8e739f3dea24946151

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.3 This release

2 files

0.5.1

2 files

0.4

1 file

0.3

1 file

0.2

1 file

0.1

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page