Skip to main content

packaging-rs

High-performance Rust implementation of packaging - version parsing and comparison utilities.

Overview

packaging-rs is a Rust-powered Python library that provides fast version parsing and comparison, compatible with Python's packaging library but with significantly improved performance.

Installation

pip install packaging-rs

Features

  • 🚀 High Performance: Built with Rust for maximum speed
  • 📦 Version Handling: Parse and compare package versions
  • 🔄 Compatible: Works with PEP 440 version specifications
  • 🐍 Python 3.8+: Supports Python 3.8 through 3.14
  • 🌍 Cross-Platform: Pre-built wheels for Linux, macOS, and Windows

Quick Start

from packaging_rs import Version, parse

# Parse versions
v1 = Version("1.2.3")
v2 = Version("2.0.0")
v3 = parse("1.2.3a1")  # Pre-release version

# Compare versions
print(v1 < v2)   # True
print(v2 > v1)   # True
print(v1 == Version("1.2.3"))  # True

# Version information
print(v1.major)  # 1
print(v1.minor)  # 2
print(v1.micro)  # 3

Version Formats

Supports PEP 440 version formats:

  • Standard versions: 1.2.3
  • Pre-releases: 1.2.3a1, 1.2.3b2, 1.2.3rc1
  • Post-releases: 1.2.3.post1
  • Development releases: 1.2.3.dev1
  • Local versions: 1.2.3+local.version

Performance

packaging-rs delivers significant performance improvements over pure Python implementations, especially when processing large numbers of version comparisons.

License

Apache License 2.0

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Metadata

Release files for packaging-rs 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for packaging-rs 0.1.1
File Actions
packaging_rs-0.1.1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for packaging_rs-0.1.1-cp314-cp314-win_amd64.whl
packaging_rs-0.1.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for packaging_rs-0.1.1-cp313-cp313-win_amd64.whl
packaging_rs-0.1.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for packaging_rs-0.1.1-cp312-cp312-win_amd64.whl
packaging_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details for packaging_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
packaging_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for packaging_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
packaging_rs-0.1.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for packaging_rs-0.1.1-cp311-cp311-win_amd64.whl
packaging_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details for packaging_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
packaging_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for packaging_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
packaging_rs-0.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for packaging_rs-0.1.1-cp310-cp310-win_amd64.whl
packaging_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details for packaging_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
packaging_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for packaging_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
packaging_rs-0.1.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for packaging_rs-0.1.1-cp39-cp39-win_amd64.whl
packaging_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.34+ x86-64 Details for packaging_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl
packaging_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details for packaging_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
packaging_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.34+ x86-64 Details for packaging_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl
packaging_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details for packaging_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl

Total release size: 13.5 MB

Release files / packaging_rs-0.1.1-cp314-cp314-win_amd64.whl

Download URL packaging_rs-0.1.1-cp314-cp314-win_amd64.whl
Size 739.8 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
57b3b3b7d83b3aa84c9c79fbc65dec27579d844d84ac0e479c4bb6dc083631dd
BLAKE2b-256 checksum
How to use checksums
aa24dcd49a53b1d3a2b26d0ec2c1b9e83f3a558fbd09833182696431d4464d9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp313-cp313-win_amd64.whl

Download URL packaging_rs-0.1.1-cp313-cp313-win_amd64.whl
Size 739.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
772698d2be12e088df8ac45b6a778454e3f7ed4a63c8114109069483bebcaa91
BLAKE2b-256 checksum
How to use checksums
26eeeed4daf87d2738327cc090cac11dd14e0bc4b6c44129adcd37bc83b97c5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp312-cp312-win_amd64.whl

Download URL packaging_rs-0.1.1-cp312-cp312-win_amd64.whl
Size 739.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
387d9969615c975821e75a09377d9033e215aa8e71003f9f6643281ca4f8439b
BLAKE2b-256 checksum
How to use checksums
62278eca1ab8dfee6031ca70208ecda02f9807b17ef6e16e922c13215b7ce105
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL packaging_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
Size 981.2 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
d0bf1fb622702f825a7d52c121d67643d1c8c01828a6a9ad7b0170362792bfee
BLAKE2b-256 checksum
How to use checksums
23ad0e0750b680cfc0e9eabac4662be6f99fbc4ca2c7c2ce76565709eb9bf45a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL packaging_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Size 822.5 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3b7cb9039031135f1d2cddfdbee656db82d4b867918f24a6aff902ef025156e2
BLAKE2b-256 checksum
How to use checksums
0bfde49a730239f87ffc9ebc6983b295b8ff524067ad9f4812b0732e00a22708
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp311-cp311-win_amd64.whl

Download URL packaging_rs-0.1.1-cp311-cp311-win_amd64.whl
Size 740.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
3c88682be0057b3cf8518941b19b4e765d3942715ea4871b10eb405634d99909
BLAKE2b-256 checksum
How to use checksums
602d72936aae796b8dfc2fdad8f44845dbd1ae393bbb5f9028eae87824bc1898
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL packaging_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
Size 981.0 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
e76b5f4d616e600d810293e418840d58139d4f2ba8d3348a01246d07433799e4
BLAKE2b-256 checksum
How to use checksums
a370f13bff4dc99f3d83489d9da7c7dbd99759e9654a369bf7809906528d42db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL packaging_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Size 822.8 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c9ae995ecd5eb19b4975ffa577e2c48a4f73fac4348757f092b279d1ae2837d9
BLAKE2b-256 checksum
How to use checksums
73c2030e518343572257762e9ded4c88fb1cc48413d001fbb01f51f00a7351c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp310-cp310-win_amd64.whl

Download URL packaging_rs-0.1.1-cp310-cp310-win_amd64.whl
Size 743.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
ae4f4699ff442040e28a5841a8002db85922c124ae85b53073fb8d4c5b5c9b8f
BLAKE2b-256 checksum
How to use checksums
6dde58c3aa58ae0143183baa1e4025763ebdb263e34e0dadf7455c1dcd14105f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL packaging_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
Size 980.9 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
6b4b1ee86bc4cd18dbab60bcf18a88129afec738480b23436bcd2ffb8d59e858
BLAKE2b-256 checksum
How to use checksums
55dfa8db43a3af55485720279751d64a97aeb124d9039af4b1ea917aecb4e49f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL packaging_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Size 823.1 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a0d6a7574819947bbd9a4ed58bfd0bf7ff7cb3fd1f7c6493ff3fa055a0fbdaa6
BLAKE2b-256 checksum
How to use checksums
937bfca5622efa94bb24b3eaf10d401f5c7115256561eb891aad603623f4ac70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp39-cp39-win_amd64.whl

Download URL packaging_rs-0.1.1-cp39-cp39-win_amd64.whl
Size 745.3 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
42cb0d786a747b261f822e5339e98f77a991dfbf206331bbf1444441502db1d4
BLAKE2b-256 checksum
How to use checksums
89f0278c71e181c03a76850dd86604178472fc9a8c20f107767265c6f6b61770
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl

Download URL packaging_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl
Size 981.5 kB
Tags CPython 3.9 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
d531cccf0c802ae432bb27dd9096e806b22caf3bd10976e09cb43b5ce94f4d2b
BLAKE2b-256 checksum
How to use checksums
cd9fce3f936ce6cf7f133835cb9db029359de6b70359889b86945cecf2061e72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl

Download URL packaging_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
Size 823.2 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
dec2e4b7bfdaaf86244136358327eaff31c1edf01ff015dda6e224b67504a12a
BLAKE2b-256 checksum
How to use checksums
fc1fa6955adef42e1020a1f31a96c98437b1b8c81613a32ca58bc1868b722038
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl

Download URL packaging_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl
Size 981.7 kB
Tags CPython 3.8 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
4dc1199d5b17c6f869bdbf1f67fc181e7af8e41011f1d4ddb7c0bd02f2b5e98e
BLAKE2b-256 checksum
How to use checksums
74cf3a343dc362331c88f7094f42eb6a1feb4b3eca2ac33f9027a757c0fd7740
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / packaging_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl

Download URL packaging_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl
Size 823.5 kB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
aa0c21ca515e698883f742805892caeac69ee5cd6437a1ed737dbdadc09b68fe
BLAKE2b-256 checksum
How to use checksums
41ce5e4e83dc952a175d5dfcee5671e564bf15dfc3c7d3f0ef446a56b7784553
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for packaging-rs 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

16 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page