{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools"}],"enrichment":{"capability":"Validates and transforms pyproject.toml [project] metadata into PEP 643-compliant core metadata files (PKG-INFO) without parsing the TOML itself.","skillfed_tags":["build-backend","pep-621","metadata-validation"],"use_cases":["Build backends (like hatchling or flit) validating and serializing project metadata during package builds.","Packaging tools that need to generate or inspect PKG-INFO files without re-parsing TOML.","CI/CD pipelines validating pyproject.toml metadata structure before publishing to PyPI.","Tools that need to convert between pyproject.toml [project] and core metadata formats programmatically.","Build systems implementing dynamic metadata, where some fields are computed at build time."],"what_it_does":"pyproject-metadata is a dataclass-based validator and transformer for Python project metadata. It takes a parsed dictionary representing the [project] table from pyproject.toml, validates it against PEP 621 and related standards, and generates RFC 822-formatted core metadata suitable for distribution (e.g., PKG-INFO files). It does not parse TOML itself\u2014that responsibility stays with the caller\u2014but handles all the structural validation, normalization, and serialization that build backends and packaging tools need.\n\nThe package supports modern metadata standards including dynamic metadata (METADATA 2.2+), SPDX license expressions (METADATA 2.4+), and flexible error reporting. It can collect all validation errors at once rather than failing on the first one, making it useful for build systems that want to report comprehensive feedback. It also provides utilities to map between pyproject.toml field names and their corresponding metadata fields, and can validate classifiers against the trove_classifiers library if installed.","worth_installing":"Yes. This is a foundational tool for Python build backends and packaging infrastructure. It has no security vulnerabilities, minimal dependencies, active maintenance, and a permissive license. Install it if you're building a backend, validating project metadata, or need to generate core metadata files from structured data."},"id":"pyproject-metadata","links":{"html":"https://skillfed.io/packages/pyproject-metadata","md":"https://skillfed.io/packages/pyproject-metadata.md","pypi":"https://pypi.org/project/pyproject-metadata/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-04","license_spdx":"MIT","license_treatment":"permissive","name":"pyproject-metadata","python_support":"supports_current","summary":"PEP 621 metadata parsing"},"popularity":{"monthly_downloads":14063548,"position":1249,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.12.1"}
