Skip to content

Repository files navigation

go-python-packaging

Go primitives for Python packaging metadata: PEP 440 versions, PEP 508 requirement specifiers and markers, PEP 685 extras, PEP 425/600/656 compatibility tags, wheel/METADATA parsing, and requirements.txt.

Part of RFD 0001 — Native Go PyPI Dependency Resolution.

Status: scaffolding. Packages are populated per RFD 0001 Phase 0–1.

Packages

Package Scope
version/ PEP 440 versions and specifiers
requirement/ PEP 508 dependency specifiers (implemented)
marker/ PEP 508 environment markers (implemented)
extras/ PEP 685 extra-name normalization (implemented)
reqtxt/ pip requirements.txt format (implemented)
distribution/ METADATA / wheel parsing
wheelname/ PEP 427 wheel filename → name/version/build/tags (implemented)
tags/ PEP 425/600/656 compatibility tags (server-side, target-parameterized; no host detection)

Changelog

See CHANGELOG.md. Breaking changes ship in a minor bump while the major version is 0, so check the Breaking heading before upgrading.

License

Dual-licensed under Apache-2.0 OR MIT at your option. Every source file carries SPDX-License-Identifier: Apache-2.0 OR MIT.

About

Go primitives for Python packaging metadata (PEP 440/508/685/425, wheel/METADATA). RFD 0001.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages