https://github.com/cqcl/pypig
Simple command line tool for managing private pypiserver
https://github.com/cqcl/pypig
Last synced: about 1 year ago
JSON representation
Simple command line tool for managing private pypiserver
- Host: GitHub
- URL: https://github.com/cqcl/pypig
- Owner: CQCL
- License: gpl-3.0
- Created: 2020-07-17T13:26:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-07T17:33:34.000Z (over 5 years ago)
- Last Synced: 2025-05-08T03:06:37.044Z (about 1 year ago)
- Language: Python
- Size: 22.5 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pypig :pig:
[](https://badge.fury.io/py/pypig)
Command line utility for managing private pypiserver.
https://github.com/pypiserver/pypiserver
Install with `pip install pypig` for distributed version, or clone and run `pip install -e .` for install from source.
print help: `pypig -h`
for individual commands: `pypig -h`
For frequent use store credentials in `${HOME}/.config/pypig/auth.json` as
{
"index": "https://.com/",
"username": "u",
"password": "p"
}
These are treated as default values and overriden by flags, save any number of these.
Example usage
-------------
List all packages
pypig list
List all instances of one package
pypig list pytket
Filter further (version range and platform)
pypig list pytket --version 0.5.2 0.5.4 --platform linux
Download packages - same filtering interface as list, but with optional directory
pypig download -d downloads pytket --pyver 3.8
Delete packages on server: Use with care!
pypig remove pytket-qiskit 0.4.1