Simple extractor for python artifact metadata
Project description
metadata_please
There are a couple of pretty decent ways to read metadata (importlib-metadata
,
and pkginfo
) but they tend to be pretty heavyweight. This lib aims to do two
things, with as minimal dependencies as possible:
- Support just enough metadata to be able to look up deps.
- Do "the thing that pip does" when deciding what dist-info dir to look at.
Version Compat
Usage of this library should work back to 3.7, but development (and mypy compatibility) only on 3.10-3.12. Linting requires 3.12 for full fidelity.
License
metadata_please is copyright Tim Hatch, and licensed under
the MIT license. I am providing code in this repository to you under an open
source license. This is my personal repository; the license you receive to
my code is from me and not from my employer. See the LICENSE
file for details.
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
Built Distribution
Hashes for metadata_please-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e43489437905a59abcd771575668ca15e8642e87e21bbaea818a1484d9fd5870 |
|
MD5 | 2e8b150a939b8a7e5cfa112e098572f2 |
|
BLAKE2b-256 | 263ca53b53d35c1d1fef2b159295ee7ead1777f70841f997235243677dfed2c9 |