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

This version

2.4.3

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.4.3.tar.gz (15.9 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.4.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pkg_about-2.4.3.tar.gz
Algorithm Hash digest
SHA256 0aa3b8938f691218d828fb4a0b4f3cc1d4fbed68c473c407db7b8a06d7c14748
MD5 857ac8a97b7d20ddbba133535ea0545d
BLAKE2b-256 cb6b07a3bfa65e8b360dbb3572bf92f03ef346f29778a06e851778d52834e3f1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pkg_about-2.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 84bb4fa6badf50214e9bc9c0ce5fc710ccfa8b6098b172a8d39c45b636e53687
MD5 40fc68bac4a7b160e90a840a92385a33
BLAKE2b-256 0b8e131dae123344fcae2a190fd7a283e37e9caf1bbabdeb4a06c7ffcd985175

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