fast-semver-rs
Opt-in Rust-backed, behavior-compatible API replacement for semver==3.0.4.
It keeps the semver import, Version/VersionInfo Python class, CLI and
deprecated compatibility surface while accelerating the strict parse hot path.
Rust does not replace Python's public object model. Bytes decoding, subclasses, optional minor/patch parsing, arbitrary-size integers, exact errors, bumps, matching, formatting, CLI and warnings remain in the frozen Python compatibility layer. The native parser is used only when it can preserve that contract.
Verified release evidence
- frozen upstream tag
3.0.4at commit6adf8765f6e21910f1f0c13151ce84f32f8d431d; - exact native and universal fallback wheel suites:
337 passedeach (329frozen upstream plus8candidate regressions); - 10,000 deterministic valid, invalid, bytes, optional-part and arbitrary-integer cases produced identical results or exact exceptions;
- Google OSV
semver_indexapplicable suite: Oracle and Candidate3 passedeach; - exact macOS arm64 wheel, 15-pair local evidence: parse
1.72x, compare1.32x, match1.40xmedian speedup with identical output digests; - Google OSV 20,000-version exact-wheel evidence: normalize
1.21x, sort1.15x, identical digests; - native wheel, universal fallback wheel and sdist passed strict metadata,
RECORD, namespace, console-script, cache/test/binary sanitation and Twine checks.
Every release is gated on reproducing this contract across five native platforms, publishing one audited seven-artifact set, public native and universal-fallback reinstalls, and creating the GitHub Release last. The timings remain observations from named runners and artifacts, not universal speed claims.
Distribution limitation
The distribution name is fast-semver-rs, while existing consumers depend on
the separate semver distribution. Package resolvers do not treat one as
satisfying the other even though both provide the semver namespace. The
controlled opt-in flow after release will therefore be:
python -m pip uninstall -y semver
python -m pip install fast-semver-rs
python -c "from semver import Version; print(Version.parse('1.2.3-rc.1'))"
Do not install both distributions together. Roll back with
python -m pip uninstall -y fast-semver-rs && python -m pip install 'semver==3.0.4'.
An upstream optional native backend is the preferred broad-adoption path; no
upstream acceptance is claimed.
Development
uv venv --python 3.14 .venv
uv pip install --python .venv/bin/python maturin pytest pytest-cov pytest-randomly
.venv/bin/maturin develop --release
.venv/bin/python -m pytest -q tests upstream/tests
BSD-3-Clause. See THIRD_PARTY_NOTICES.md before redistribution.
Metadata
Release files for fast-semver-rs 0.1.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 | |
|---|---|---|---|
| fast_semver_rs-0.1.1.tar.gz | 296.2 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| fast_semver_rs-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
| fast_semver_rs-0.1.1-cp37-abi3-win_amd64.whl | CPython 3.7 | abi3 | Windows x86-64 | Details |
| fast_semver_rs-0.1.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.7 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| fast_semver_rs-0.1.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.7 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| fast_semver_rs-0.1.1-cp37-abi3-macosx_11_0_arm64.whl | CPython 3.7 | abi3 | macOS 11.0+ ARM64 | Details |
| fast_semver_rs-0.1.1-cp37-abi3-macosx_10_12_x86_64.whl | CPython 3.7 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 1.3 MB
Release files / fast_semver_rs-0.1.1.tar.gz
| Download URL | fast_semver_rs-0.1.1.tar.gz |
|---|---|
| Size | 296.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2c26a35d32a405585ba3cff343c87f21902647f088a6fd570c9fae5bbe25ea8
|
|
BLAKE2b-256 checksum How to use checksums |
31a1fe6bbc6adc862edaac1fe9fc4237bd7db0ac9b71b6fd658ba9bc1091f9bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logRelease files / fast_semver_rs-0.1.1-py3-none-any.whl
| Download URL | fast_semver_rs-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2941284958a17b703e72bf27e860249d3d89835f228cc05a18521b304486c323
|
|
BLAKE2b-256 checksum How to use checksums |
be5746c81155ad49c1c418d55d638c12a546f299f3e573a60c3b7145f0c05c5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logRelease files / fast_semver_rs-0.1.1-cp37-abi3-win_amd64.whl
| Download URL | fast_semver_rs-0.1.1-cp37-abi3-win_amd64.whl |
|---|---|
| Size | 117.1 kB |
| Tags | CPython 3.7 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
6c0a9e9bab43aa9ac46f2522057cc6d408103e34b714b1c70e0fab94db4beedd
|
|
BLAKE2b-256 checksum How to use checksums |
dc3eb85952807c1c4f3f9aaa145ed02df04faad23772bd665664e910d14dde34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logRelease files / fast_semver_rs-0.1.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | fast_semver_rs-0.1.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 245.6 kB |
| Tags | CPython 3.7 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
450789089b7a2e7015da8fa1540e1978a6bf439acd0eb06d03f8bd0fba5db250
|
|
BLAKE2b-256 checksum How to use checksums |
09ed2f50c2769e2f0671e85cacc6624612faca4a935ff7877487417ded4850ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logRelease files / fast_semver_rs-0.1.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | fast_semver_rs-0.1.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 240.5 kB |
| Tags | CPython 3.7 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
2fa03d0d2f9e962dd6ef826de94e8ae34ac1b9f26e4b6292d33ba59027a87d7e
|
|
BLAKE2b-256 checksum How to use checksums |
6ca92b045189469288c82849165fa8a8bc553719f597707b2feb9d069ee3d825
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logRelease files / fast_semver_rs-0.1.1-cp37-abi3-macosx_11_0_arm64.whl
| Download URL | fast_semver_rs-0.1.1-cp37-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 215.2 kB |
| Tags | CPython 3.7 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b186bbdef61ec7291b3990b1731dd5acf09d2a33effdee23dbfa0c243f142df0
|
|
BLAKE2b-256 checksum How to use checksums |
a0397ad43f35583060bea534bf12a48e063c3eac53aaa4783fe8b737f4fb743d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logRelease files / fast_semver_rs-0.1.1-cp37-abi3-macosx_10_12_x86_64.whl
| Download URL | fast_semver_rs-0.1.1-cp37-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 217.0 kB |
| Tags | CPython 3.7 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
45309973822a8a44729817395cd97bacf814ac8c43a266c48626d8b9d14e2d53
|
|
BLAKE2b-256 checksum How to use checksums |
894a8f02b6c828634dc71bd806348c294e1439b714827a7b5536533729111800
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency log