pkg_about
Unified access to Python package metadata at runtime.
Overview
Provides a unified way to retrieve Python package metadata at runtime, regardless of the build backend or project structure.
about(package: str) - retrieves metadata for the given package
about() - retrieves metadata for the current package
about_from_setup() - retrieves metadata from pyproject.toml
and/or setup.cfg
Usage
>>> import pkg_about
>>> pkg_about.about("pip")
>>> __uri__ == "https://pip.pypa.io/"
True
Installation
Prerequisites:
Python 3.11 or higher
pip
To install run:
python -m pip install --upgrade pkg_about
Development
Prerequisites:
Development is strictly based on nox. To install it run:
python -m pip install --upgrade nox
Visit Development page.
Installation from sources:
clone the sources:
git clone https://github.com/karpierz/pkg_about pkg_about
and run:
python -m pip install ./pkg_about
or on development mode:
python -m pip install --editable ./pkg_about
License
Copyright (c) 2020-2026 Adam KarpierzLicensed under the zlib/libpng LicensePlease refer to the accompanying LICENSE file.
Sponsoring
If you would like to sponsor the development of this project, your contribution
is greatly appreciated.
As I am now retired, any support helps me dedicate more time to maintaining and
improving this work.
Metadata
Release files for pkg-about 2.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pkg_about-2.4.5.tar.gz | 16.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pkg_about-2.4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.2 kB
Release files / pkg_about-2.4.5.tar.gz
| Download URL | pkg_about-2.4.5.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48ea967af618f6d959845a5c5451f71adc735a115ffee11c8539007d28ce01a7
|
|
BLAKE2b-256 checksum How to use checksums |
2fb3e6c5ac69c3810741012ae43da1592f62332f1f0d96617c23786d7fa848a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / pkg_about-2.4.5-py3-none-any.whl
| Download URL | pkg_about-2.4.5-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d766a7169271d60140a3751ba612cc2f590cb33a85279a173a1baa8ba48bb68f
|
|
BLAKE2b-256 checksum How to use checksums |
aa13860fcdd447b448fd9db1b41738a8595c1fdbf3fbae65eed3486242117c06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|