Skip to main content

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:

  1. Support just enough metadata to be able to look up deps.
  2. 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


Download files

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

Source Distribution

metadata-please-0.0.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

metadata_please-0.0.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file metadata-please-0.0.2.tar.gz.

File metadata

  • Download URL: metadata-please-0.0.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for metadata-please-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2c7659e06b86a78cd11a59857ea68f4711ca0bb89350f855c50f315f8a763865
MD5 d3d8295f69e34b6fd18268dd52bad007
BLAKE2b-256 9a2cbea8dd2677180d8e278fc13e69d9c7d8e458dc5640f2fb498b48849126cf

See more details on using hashes here.

File details

Details for the file metadata_please-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for metadata_please-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e7c4698b8c4a7989d1e7276ca7d1f201e47073de673db6eac9e8f4882886281
MD5 f62e5559edaafd1a9278f6c74294f2d6
BLAKE2b-256 e2158c17e0af1c761bf9962f398923aef94f58ac598c672a49137ffae22980fa

See more details on using hashes here.

Supported by

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