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.2.0.tar.gz (16.0 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.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pkg_about-2.2.0.tar.gz
  • Upload date:
  • Size: 16.0 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.2.0.tar.gz
Algorithm Hash digest
SHA256 113653df313ac825eb715f94af63f6996383ece812330701903ff09612d1cc35
MD5 87f8a35546267e0f7495369415a3c6bf
BLAKE2b-256 26ff932498c29d3df3e2dc719e58913b36b8790b50999c60a864908cbd73e9ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pkg_about-2.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f17c8507b6eb26813b22b4f307f47b27bbe57cf6a8df820d050d8b8e2ecd92e
MD5 20193285c528a45f784640d91a5f9ae1
BLAKE2b-256 b1dc8491db980a55f252017a9e292bdad7ea4ee1829c0801326896e71c71e7bf

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