rom
This is a basic Roman numeral manipulation library written in Python.
It is capable of parsing Arabic numerals into Roman numerals, as well as generating Roman numerals from Arabic numerals.
Installation
pip3 install gnboorse-rom
Usage
>>> from rom import rom
>>> rom(12)
XII
>>> int(rom(12))
12
>>> int(rom('xlvi'))
46
>>> rom('XLVI', caps=False)
xlvi
Metadata
Release files for gnboorse-rom 0.0.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 | |
|---|---|---|---|
| gnboorse-rom-0.0.1.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gnboorse_rom-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / gnboorse-rom-0.0.1.tar.gz
| Download URL | gnboorse-rom-0.0.1.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e2d3e0d13491841fb67a4012d6f8fa49b92b608a33e282a11581a1aaf4f4cf5
|
|
BLAKE2b-256 checksum How to use checksums |
825c429d71ee209975913490f38378654ab2f6566c58b2f776d060c0e4b818e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
|
Release files / gnboorse_rom-0.0.1-py3-none-any.whl
| Download URL | gnboorse_rom-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5982f6ecd5de43c8159e106db32648641fd108159c36e4484a36c1510cfdf3df
|
|
BLAKE2b-256 checksum How to use checksums |
0e4e9ea5ef5341940c67f0dc11efcae924d8f9b4ea6f8ebb331b451af5853d90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
|