Skip to main content

Unified access to Python package metadata at runtime.

Project description

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

PyPI record.

Documentation.

Usage

>>> import pkg_about
>>> pkg_about.about("pip")
>>> __uri__ == "https://pip.pypa.io/"
True

Installation

Prerequisites:

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 Karpierz
Licensed under the zlib/libpng License
Please refer to the accompanying LICENSE file.

Authors

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.

Donate

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pkg_about-2.3.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pkg_about-2.3.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file pkg_about-2.3.0.tar.gz.

File metadata

  • Download URL: pkg_about-2.3.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for pkg_about-2.3.0.tar.gz
Algorithm Hash digest
SHA256 83e45db94fda2c3f94c1955ec4e3576bcfab4339d59b26c2e46e199c8ba03ea2
MD5 d9d3daf75a11120332799305092c3ca0
BLAKE2b-256 329f2a111b9f01860367da26a60c82ad75d33a921b3874387074092623e65396

See more details on using hashes here.

File details

Details for the file pkg_about-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: pkg_about-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for pkg_about-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90fb0bc58460676e9b706fc4aaa32d834f4efe8068285302f72569958e350b70
MD5 aead3956eacc8d7fd94d902b1ec7a53d
BLAKE2b-256 1c860f1d7473e3e5872ba24ed4ed71f1eac162e20308702a9e01744fbddf413e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page