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.5.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 | |
|---|---|---|---|
| pkg_about-2.5.1.tar.gz | 16.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pkg_about-2.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.3 kB
Release files / pkg_about-2.5.1.tar.gz
| Download URL | pkg_about-2.5.1.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4efb55ea9dbe176bd631d6884493079bcacfb247b585768fd616841b9b9f2c10
|
|
BLAKE2b-256 checksum How to use checksums |
42b4a77a5e4903cc626e549fdaea718f756c2309db8e609692625d1f8b51817a
|
| 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.5.1-py3-none-any.whl
| Download URL | pkg_about-2.5.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28b11bd64e9d9c6111bc1a49c6ab194b26307b77e57620b5474a04a9a3114617
|
|
BLAKE2b-256 checksum How to use checksums |
1717e33bcb99a93e4a343585b99cce91f324903c8d0ce6ddd7c5dffe6309a967
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|