Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Latest commit

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

devpi-tools

pypi

Small Python library for interacting with devpi servers via web API

Installing

pipinstalldevpi-tools

Usage

fromdevpi_toolsimportDevpiClientclient=DevpiClient('http://127.0.0.1:3141')
client.indexes() # list all indexesindex=client.index('/root/pypi') # fetch a single indexindex.projects() # list all projectsproject=index.project('devpi-tools') # fetch a single project/package by nameproject.versions() # list of uploaded versionsproject.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)

About

Small Python library for interacting with devpi servers via web API

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages