Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pyproject-metadata

pre-commit.ci status checks tests codecov Documentation Status

Dataclass for PEP 621 metadata with support for core metadata generation

This project does not implement the parsing of pyproject.toml containing PEP 621 metadata.

Instead, given a Python data structure representing PEP 621 metadata (already parsed), it will validate this input and generate a PEP 643-compliant metadata file (e.g. PKG-INFO).

Usage

After installing pyproject-metadata, you can use it as a library in your scripts and programs:

from pyproject_metadata import StandardMetadata

parsed_pyproject = { ... }  # you can use parsers like `tomli` to obtain this dict
metadata = StandardMetadata.from_pyproject(parsed_pyproject)
print(metadata.entrypoints)  # same fields as defined in PEP 621

pkg_info = metadata.as_rfc822()
print(str(pkg_info))  # core metadata

Metadata

Release files for pyproject-metadata 0.8.0rc2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyproject-metadata 0.8.0rc2
File Size Uploaded Provenance Actions
pyproject_metadata-0.8.0rc2.tar.gz 14.9 kB Without provenance Details for pyproject_metadata-0.8.0rc2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyproject-metadata 0.8.0rc2
File Interpreter ABI Platform Actions
pyproject_metadata-0.8.0rc2-py3-none-any.whl Python 3 none any Details for pyproject_metadata-0.8.0rc2-py3-none-any.whl

Total release size: 22.3 kB

Release files / pyproject_metadata-0.8.0rc2.tar.gz

Download URL pyproject_metadata-0.8.0rc2.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e365b6ada22645de7308310412c71e4cf82470174de382f44675f407fad38ba9
BLAKE2b-256 checksum
How to use checksums
8c67a373990eb640705a22f5ed98d013ca18c65f28c5e17bf39b4f1b63c8a1c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / pyproject_metadata-0.8.0rc2-py3-none-any.whl

Download URL pyproject_metadata-0.8.0rc2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9638d5192853082c060b0ac5e547a0d23ef2b092e3e57ea77d5a39e683a6f8ae
BLAKE2b-256 checksum
How to use checksums
1ff958cd5865b38a23f8970cce18e5d3aff557bb7fdef9c8f63685129d2ae057
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Security for pyproject-metadata 0.8.0rc2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page