pyproject-metadata
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.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyproject-metadata-0.7.1.tar.gz | 7.4 kB | Without provenance | Details for pyproject-metadata-0.7.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyproject_metadata-0.7.1-py3-none-any.whl | Python 3 | none | any | Details for pyproject_metadata-0.7.1-py3-none-any.whl |
Total release size: 14.8 kB
Release files / pyproject-metadata-0.7.1.tar.gz
| Download URL | pyproject-metadata-0.7.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67
|
|
BLAKE2b-256 checksum How to use checksums |
38afb0e6a9eba989870fd26e10889446d1bec2e6d5be0a1bae2dc4dcda9ce199
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / pyproject_metadata-0.7.1-py3-none-any.whl
| Download URL | pyproject_metadata-0.7.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28691fbb36266a819ec56c9fa1ecaf36f879d6944dfde5411e87fc4ff793aa60
|
|
BLAKE2b-256 checksum How to use checksums |
c4cb4678dfd70cd2f2d8969e571cdc1bb1e9293c698f8d1cf428fadcf48d6e9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for pyproject-metadata 0.7.1
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.