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.
Release files for pkg-about 2.4.4
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.4.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pkg_about-2.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.2 kB
Release files / pkg_about-2.4.4.tar.gz
| Download URL | pkg_about-2.4.4.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b54452470efd2e720e5a28fe2730cb2e328d3edb3d81c5dd378b50f6efe06ee4
|
|
BLAKE2b-256 checksum How to use checksums |
47982a10d477c66301bfa881d23ca3829d882d54d314c9841eb06eb7195c7527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pkg_about-2.4.4-py3-none-any.whl
| Download URL | pkg_about-2.4.4-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
140c620cab622f22adf978bbd44bc8b0454cfed923399a21222c2a534cf4e8b0
|
|
BLAKE2b-256 checksum How to use checksums |
57b609ef9d6ab1e6f75a4c1a114d96db82d4a7d04ad678d351b7d90425870c6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|