qpp - Query PyPI
Find Python projects on pypi.org on the command line or from your own code.
Usage
On the command line
% qpp exists talk-like-a-pirate
The package name talk-like-a-pirate has not yet been registered on PyPI.
%
% qpp info pip
pip v23.1.1
The PyPA recommended tool for installing Python packages.
Author: The pip developers <distutils-sig@python.org>
License: MIT
Homepage: https://pip.pypa.io/
Package URL: https://pypi.org/project/pip/
Project URL: https://pypi.org/project/pip/
Python versions: >=3.7
Keywords:
Classifiers:
Development Status :: 4 - Beta
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Build Tools
%
qpp info --description pip or, short, qpp info pip -d, displays the same as above, but also includes the project's README.
qpp can render READMEs written in Markdown (using rich), reStructuredText (using rich-rst), and plain text.
qpp open <name> opens the package's PyPI project page in the system's default browser.
% qpp search pypi -n 3
pypi
PyPI is the Python Package Index at http://pypi.org/
Version: v2.1
Released: Mar 24, 2018
URL: https://pypi.org/project/pypi/
pypi1108
My short description for my project.
Version: v5.2.0
Released: Nov 8, 2022
URL: https://pypi.org/project/pypi1108/
pypi-client
PyPI command-line tool
Version: v0.2.3
Released: Dec 17, 2020
URL: https://pypi.org/project/pypi-client/
%
The -n option limits the amount of results shown.
As a library
from qpp import queries as pypi
# exists:
assert pypi.exists('pypi')
assert not pypi.exists('talk-like-a-pirate')
# info:
pkg_info = pypi.info('rich')
from qpp.renderables import PackageMetadataRenderable
from rich.console import Console
console = Console()
console.print(PackageMetadataRenderable(pkg_info))
# Output not shown.
# Or with the long description:
console.print(PackageMetadataRenderable(pkg_info, with_description=True))
# Output not shown.
# Search:
found = pypi.search('pypi')
assert len(found)
Credits
qpp was cooked with the tastiest ingredients:
Metadata
Release files for qpp 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qpp-0.3.1.tar.gz | 11.7 kB | Without provenance | Details for qpp-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qpp-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for qpp-0.3.1-py3-none-any.whl |
Total release size: 20.4 kB
Release files / qpp-0.3.1.tar.gz
| Download URL | qpp-0.3.1.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48b1c1403f2528df6050a0f09ab72b656665bdb043fefb14824fbf4ee1e4a9d4
|
|
BLAKE2b-256 checksum How to use checksums |
b79590e8706f618b6c97ff5f51c7f6409743703f010ff88ffa3310ec35432584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / qpp-0.3.1-py3-none-any.whl
| Download URL | qpp-0.3.1-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6496e928bc039d16678ebb0cbf1250c749f9155eb16361aab43069931b96dbc1
|
|
BLAKE2b-256 checksum How to use checksums |
0a972f6e2adb6ec29dac82d02f44f8c3c550a27c9b188f53319f0336dac58bbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for qpp 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.