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.
Metadata
Release files for fast-roman-rs 0.1.0
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_roman_rs-0.1.0.tar.gz | 33.4 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| fast_roman_rs-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
| fast_roman_rs-0.1.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| fast_roman_rs-0.1.0-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
| fast_roman_rs-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 877.5 kB
Release files / fast_roman_rs-0.1.0.tar.gz
| Download URL | fast_roman_rs-0.1.0.tar.gz |
|---|---|
| Size | 33.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7941a5e07203e75585d61000b93f1b684c6f903c4f7e7f67a5b3d8c8c79b594
|
|
BLAKE2b-256 checksum How to use checksums |
9a0328050f2a60224baf4ce437aa82631b5e29546b6a562ae72b14c84ebb315b
|
| 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 12, 2026.
Transparency logRelease files / fast_roman_rs-0.1.0-py3-none-any.whl
| Download URL | fast_roman_rs-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
221bef7d4e7562cb6c977f833ffafb5f8a31c20cfc55140daec85f427063c176
|
|
BLAKE2b-256 checksum How to use checksums |
aa205aaa82db0084ea6085ed5ac3b868290c548697eaf0f561df27943d2f95e4
|
| 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 12, 2026.
Transparency logRelease files / fast_roman_rs-0.1.0-cp310-abi3-win_amd64.whl
| Download URL | fast_roman_rs-0.1.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 101.6 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
672d4219dbac7eb679c05a19aaa2470343e8836628274de2bbf73ff39c6c0971
|
|
BLAKE2b-256 checksum How to use checksums |
78ce8c82ff8a452fd6e69c3e0ed2c5d212783a4f133ca4c4cda2238ffc58971a
|
| 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 12, 2026.
Transparency logRelease files / fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 193.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
2d933a76996de15cc32edb1af35a53b3c39aa4837ef47b9a22933aa9fb17306a
|
|
BLAKE2b-256 checksum How to use checksums |
ab482548abba2aba8eccda3de599251cef052fecf0ec7b69f6dc8230864eb97b
|
| 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 12, 2026.
Transparency logRelease files / fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | fast_roman_rs-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 187.6 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
10fe0653daea2d2179c187f80eee7cf53969d1b160c1835df7765776b494facc
|
|
BLAKE2b-256 checksum How to use checksums |
1163e4366440d9ead1e036f5d3f7d8fb4c19e29bee97e7e75a45ad2d302c68b9
|
| 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 12, 2026.
Transparency logRelease files / fast_roman_rs-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | fast_roman_rs-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 175.2 kB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a66926d886987ba0123e14170e67ef114f1940aff21705c25e3ce67443a68ab8
|
|
BLAKE2b-256 checksum How to use checksums |
5048d5fe9e40ba58efe3e3d84df8286485ea37c9303934f06ad3d1b46a375b8b
|
| 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 12, 2026.
Transparency logRelease files / fast_roman_rs-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | fast_roman_rs-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 180.7 kB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
32e419c2482c2c99c6a9b8b6b5e746710bf047940cc508400e41770dcbf250b2
|
|
BLAKE2b-256 checksum How to use checksums |
9ce5df7b52af2e2619ba3685c765cd551072f0416da3eb4dc634c0b1f518dc7c
|
| 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 12, 2026.
Transparency log