pkg-about provides unified access to Python package metadata at runtime. It's designed to fetch information like version, summary, author, and license for installed packages, abstracting away differences between `pkg_resources` and `importlib.metadata`. The current version is 2.3.0, and it generally follows a release cadence driven by new features or bug fixes, typically every few months.
pip install pkg-aboutVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to fetch metadata for an installed package using `get_about`. It retrieves information like name, version, summary, author, and license for the 'pkg-about' library itself.
Migrate to using `pkg_about.get_about()` which returns an `About` object. Access attributes directly on the returned object (e.g., `about.version`).
Ensure your environment uses Python 3.10, 3.11, or 3.12. Upgrade your Python interpreter if necessary.
Verify the exact spelling of the package as it appears in `pip list` or `site-packages`. Wrap calls to `get_about()` in a `try...except pkg_about.exceptions.PackageNotFoundError` block for robust applications.
No dependency data recorded yet.