Skip to main content

fast-roman-rs: fast Roman numerals for Python with Rust

Rust-backed drop-in replacement distribution for the frozen roman==5.2 package.

It preserves the roman Python API and CLI while using a PyO3 Rust core on compatible CPython platforms. A same-version pure-Python wheel keeps the frozen contract available on supported PyPy and other platforms.

Install fast-roman-rs

pip install fast-roman-rs
import roman

assert roman.toRoman(972) == "CMLXXII"
assert roman.fromRoman("cMlxxii") == 972

The installed namespace, function signatures, exception hierarchy, regex globals, typing marker, and roman console command follow upstream 5.2. CPython selects a PyO3 abi3 wheel where available; PyPy and unsupported platforms use the same-version pure-Python fallback.

Roman numeral CLI

roman 972
roman -r cMlxxii

Migrate from roman 5.2

Remove the upstream distribution, install the replacement, and keep application imports unchanged:

python -m pip uninstall roman
python -m pip install fast-roman-rs

Do not install both distributions into the same environment because both own the roman namespace and console script.

Roll back

python -m pip uninstall fast-roman-rs
python -m pip install roman==5.2

Compatibility and verification

See COMPATIBILITY.md for the executable contract and UPSTREAM-CONTRACT.md for immutable upstream evidence.

Benchmark evidence

See BENCHMARK.md. Measurements are published only after semantic equality and are scoped to the exact artifact and host.

Download files

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

Source Distribution

fast_roman_rs-0.1.0.tar.gz (33.4 kB view details)

Uploaded Source

Built Distributions

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

fast_roman_rs-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

fast_roman_rs-0.1.0-cp310-abi3-win_amd64.whl (101.6 kB view details)

Uploaded CPython 3.10+Windows x86-64

fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (193.1 kB view details)

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

fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (187.6 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

fast_roman_rs-0.1.0-cp310-abi3-macosx_11_0_arm64.whl (175.2 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

fast_roman_rs-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl (180.7 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for fast_roman_rs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a7941a5e07203e75585d61000b93f1b684c6f903c4f7e7f67a5b3d8c8c79b594
MD5 78b26acee7a30c2c489c7316592f2e15
BLAKE2b-256 9a0328050f2a60224baf4ce437aa82631b5e29546b6a562ae72b14c84ebb315b

See more details on using hashes here.

Provenance

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

Publisher: release.yml on lowmiaq-gmail/fast-roman-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_roman_rs-0.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for fast_roman_rs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 221bef7d4e7562cb6c977f833ffafb5f8a31c20cfc55140daec85f427063c176
MD5 1ee6ced1973bf2e8af1a6310707c0802
BLAKE2b-256 aa205aaa82db0084ea6085ed5ac3b868290c548697eaf0f561df27943d2f95e4

See more details on using hashes here.

Provenance

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

Publisher: release.yml on lowmiaq-gmail/fast-roman-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_roman_rs-0.1.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for fast_roman_rs-0.1.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 672d4219dbac7eb679c05a19aaa2470343e8836628274de2bbf73ff39c6c0971
MD5 3701306dd0bf02c0472a8dfd6baa31fa
BLAKE2b-256 78ce8c82ff8a452fd6e69c3e0ed2c5d212783a4f133ca4c4cda2238ffc58971a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_roman_rs-0.1.0-cp310-abi3-win_amd64.whl:

Publisher: release.yml on lowmiaq-gmail/fast-roman-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_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d933a76996de15cc32edb1af35a53b3c39aa4837ef47b9a22933aa9fb17306a
MD5 4f92f4861f5cc50cef9b65e28ed87d2c
BLAKE2b-256 ab482548abba2aba8eccda3de599251cef052fecf0ec7b69f6dc8230864eb97b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on lowmiaq-gmail/fast-roman-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_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 10fe0653daea2d2179c187f80eee7cf53969d1b160c1835df7765776b494facc
MD5 131d6cd41d25f77a9962cf6da9d68c0c
BLAKE2b-256 1163e4366440d9ead1e036f5d3f7d8fb4c19e29bee97e7e75a45ad2d302c68b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on lowmiaq-gmail/fast-roman-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_roman_rs-0.1.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fast_roman_rs-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a66926d886987ba0123e14170e67ef114f1940aff21705c25e3ce67443a68ab8
MD5 4ce03cd8bfbb03207f135a73bf14fe80
BLAKE2b-256 5048d5fe9e40ba58efe3e3d84df8286485ea37c9303934f06ad3d1b46a375b8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_roman_rs-0.1.0-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on lowmiaq-gmail/fast-roman-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_roman_rs-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for fast_roman_rs-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 32e419c2482c2c99c6a9b8b6b5e746710bf047940cc508400e41770dcbf250b2
MD5 de6455aec6d3d10c9fc80e6ced644c99
BLAKE2b-256 9ce5df7b52af2e2619ba3685c765cd551072f0416da3eb4dc634c0b1f518dc7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for fast_roman_rs-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on lowmiaq-gmail/fast-roman-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