Roman numeral to/from converter scripts
Project description
Roman numeral conversion tools
The scripts (and functions) r2n and n2r will convert roman numerals to integers and natural numbers to roman numerals, respectively. Error handling is nonexistent.
Works:
- Conversion to/from integers in standard form with absolute value of 1-4999 or 0, when represented with 'nulla'
- Conversion to/from integers, when the overline in vinculus forms is replaced with parentheses groups.
Doesn't work:
- Input validation: Use -f and input clean inputs or face errors.
- Decoding some rarer "nonstandard" forms.
TODO:
- Decoding vinculus forms to/from LaTeX etc..
- Nice errors handling / warnings.
- Proper packaging: verify that pip works & register to PyPi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
romanum-0.1.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
romanum-0.1-py2-none-any.whl
(5.6 kB
view details)
File details
Details for the file romanum-0.1.tar.gz.
File metadata
- Download URL: romanum-0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0612ed5baf987e4a2176f79d9acbb9a9366d07dcbff35d7f84678aab9e19b3b9
|
|
| MD5 |
821e804317e4d01714a1121c57f2331c
|
|
| BLAKE2b-256 |
8510b14243e4ef54826999c6b26f5a5b69e9af5dc2f1a91adc1af15b5acde374
|
File details
Details for the file romanum-0.1-py2-none-any.whl.
File metadata
- Download URL: romanum-0.1-py2-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
787ad22beca45b371e669a1c7b47290eee08667d0e93982862a7798dba1be91e
|
|
| MD5 |
aa9fd447da7db34721b8f30bbd11df30
|
|
| BLAKE2b-256 |
d0eab82382058556962755cd316483e3e804dd41fc612250d0aafe751b5ec5b6
|