Skip to main content

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 Build Lane evidence

  • frozen upstream tag 3.0.4 at commit 6adf8765f6e21910f1f0c13151ce84f32f8d431d;
  • exact native and universal fallback wheel suites: 337 passed each (329 frozen upstream plus 8 candidate regressions);
  • 10,000 deterministic valid, invalid, bytes, optional-part and arbitrary-integer cases produced identical results or exact exceptions;
  • Google OSV semver_index applicable suite: Oracle and Candidate 3 passed each;
  • exact macOS arm64 wheel, 15-pair local evidence: parse 1.72x, compare 1.32x, match 1.40x median speedup with identical output digests;
  • Google OSV 20,000-version exact-wheel evidence: normalize 1.21x, sort 1.15x, identical digests;
  • native wheel, universal fallback wheel and sdist passed strict metadata, RECORD, namespace, console-script, cache/test/binary sanitation and Twine checks.

These are local Build Lane observations, not public release or universal speed claims. CI and public reinstall remain required before DONE.

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fast_semver_rs-0.1.0.tar.gz (295.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fast_semver_rs-0.1.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

fast_semver_rs-0.1.0-cp37-abi3-win_amd64.whl (117.0 kB view details)

Uploaded CPython 3.7+Windows x86-64

fast_semver_rs-0.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (245.5 kB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ x86-64

fast_semver_rs-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (240.4 kB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

fast_semver_rs-0.1.0-cp37-abi3-macosx_11_0_arm64.whl (215.1 kB view details)

Uploaded CPython 3.7+macOS 11.0+ ARM64

fast_semver_rs-0.1.0-cp37-abi3-macosx_10_12_x86_64.whl (217.0 kB view details)

Uploaded CPython 3.7+macOS 10.12+ x86-64

File details

Details for the file fast_semver_rs-0.1.0.tar.gz.

File metadata

  • Download URL: fast_semver_rs-0.1.0.tar.gz
  • Upload date:
  • Size: 295.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fast_semver_rs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fc657686b6dcc9d910135726e405dc7aba5aa2d9c8f8041d7ffcc6411dfb2a5e
MD5 964499a78d602eb355aefe6a7a40d828
BLAKE2b-256 7f977d049ffae1c453040076bbea93b53e24e4777124f6827701796a928d4861

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_semver_rs-0.1.0.tar.gz:

Publisher: release.yml on lowmiaq-gmail/fast-semver-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_semver_rs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fast_semver_rs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fast_semver_rs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db1e57ecec5f9652c47f3ea45bc1cbf4862a99e0baf020572088a6e964c04d3d
MD5 8fbd42eb465b9310a0b6be72e30f22a8
BLAKE2b-256 6fbffc0c524ca64232fb03f24342fc9887a3e41c8c81c94fa608795e328de96b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_semver_rs-0.1.0-py3-none-any.whl:

Publisher: release.yml on lowmiaq-gmail/fast-semver-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_semver_rs-0.1.0-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for fast_semver_rs-0.1.0-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c90ea7482794d40f7daf873e694e097870a14a3280ce677f9338b19078c39f11
MD5 1a777cb2098474aa651f2d01a55440e2
BLAKE2b-256 5d5edd53b99ef603b576523f04ec9360b843c71b0edb275d29772b5f7100e58e

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_semver_rs-0.1.0-cp37-abi3-win_amd64.whl:

Publisher: release.yml on lowmiaq-gmail/fast-semver-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_semver_rs-0.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_semver_rs-0.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7e6ee24e2b778416ed4910ec04b6fedd1997518fc5e75048bc850af6ddb63f26
MD5 2ebc55e9bedcf3da8f4c53c0c3b3c08f
BLAKE2b-256 4bd60df8a1674687bc2345eca9e242bc7437ea1fc199fdade5cd2604751bb2b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_semver_rs-0.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on lowmiaq-gmail/fast-semver-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_semver_rs-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fast_semver_rs-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f0da0f3af9c9dd9a5719d6e62b99852727c59bc9c7bbbaab4d6d004422cc706a
MD5 7075925b428d2b1e2f025b846a089343
BLAKE2b-256 40379e367404475e1e859098af7992ca170e3038b5e321e939a718e886c364f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_semver_rs-0.1.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on lowmiaq-gmail/fast-semver-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_semver_rs-0.1.0-cp37-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fast_semver_rs-0.1.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c657bda70910158bc26737f96aa78f6c7bcc63614858240f7d114c186c568598
MD5 8b2075c8a7225f55865f40e2725eda24
BLAKE2b-256 756d2e6a93fec7ad3f300a49620b1b18ddc0bfd5418c4d9e02a582b783599f7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_semver_rs-0.1.0-cp37-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on lowmiaq-gmail/fast-semver-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fast_semver_rs-0.1.0-cp37-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for fast_semver_rs-0.1.0-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 adca8c4b668b3664afde16f19cb4b1fc7c9d41202361bac3314f85aa4832283a
MD5 fb922029dbdd9c4cd2eb531be38157f6
BLAKE2b-256 153e0c08ecd6c85371e6d54a4b4bfd927538ca6bf306f0efeee4b42cc6ea52c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_semver_rs-0.1.0-cp37-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on lowmiaq-gmail/fast-semver-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page