PyPI Simple Repository API client library wrapper
Project description
pypi-simple-cli
A wrapper for pypi-simple
CI/CD | |
Package | |
Meta |
Example Usage:
> pypi-simple-cli list pypi-simple-cli
0.1.1
> pypi-simple-cli latest pypi-simple-cli
0.1.1
> pypi-simple-cli list requests 2.9
2.9.0
2.9.1
2.9.2
> pypi-simple-cli --endpoint=https://nexus.osdc.io/service/rest/repository/browse/pypi-all/ --release-stage=final list gdcdatamodel2
2.6.8
3.0.0
> pypi-simple-cli --endpoint=https://nexus.osdc.io/service/rest/repository/browse/pypi-all/ --pattern='use.*fix' list gdcdatamodel2
3.0.2.dev6+feat.dev.2298.use.different.post.fix.for.version
3.0.2.dev7+feat.dev.2298.use.different.post.fix.for.version
> pip install requests==$(pypi-simple-cli latest requests 2.30)
Collecting requests==2.30.0
Downloading requests-2.30.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 kB 2.5 MB/s eta 0:00:00
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv37/lib/python3.7/site-packages (from requests==2.30.0) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in ./venv37/lib/python3.7/site-packages (from requests==2.30.0) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv37/lib/python3.7/site-packages (from requests==2.30.0) (2.0.7)
Requirement already satisfied: certifi>=2017.4.17 in ./venv37/lib/python3.7/site-packages (from requests==2.30.0) (2023.11.17)
Installing collected packages: requests
Attempting uninstall: requests
Found existing installation: requests 2.31.0
Uninstalling requests-2.31.0:
Successfully uninstalled requests-2.31.0
Successfully installed requests-2.30.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pypi-simple-cli-0.1.5.tar.gz
(18.5 kB
view hashes)
Built Distribution
Close
Hashes for pypi_simple_cli-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1432b44e922fffabbf10bc21b6227eb74bf75ed0f9c1a889f21e1646b629bd9 |
|
MD5 | 038c1a9c47175ddaa35e4442f7879bee |
|
BLAKE2b-256 | 452b78186c34693daa1357b2fd36690dd6fd2de012d12c7df228dace86aede0c |