Roman numbers converting library
Project description
romanify
Roman numbers converting library.
Library uses following mapping:
Arabic |
Roman |
---|---|
M |
1000 |
CM |
900 |
D |
500 |
CD |
400 |
C |
100 |
XC |
90 |
L |
50 |
XL |
40 |
X |
10 |
IX |
9 |
V |
5 |
IV |
4 |
I |
1 |
Installation
pip install romanify
Command-line usage
romanify 101
> CI
Library usage
from romanify import romanify
print(romanify(101))
Versioning
This software follows Semantic Versioning
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
romanify-0.0.8.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file romanify-0.0.8.tar.gz
.
File metadata
- Download URL: romanify-0.0.8.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d054a9803bce21ffd709170b741b3adf8f316392792245b5558983e32cbdf7b8 |
|
MD5 | 58e9c303d93d25c1cde23a167534e64e |
|
BLAKE2b-256 | 3d5252fdc1364f9497e32f21dfb651faa2c85e285111849d433bbe73d039f60f |
File details
Details for the file romanify-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: romanify-0.0.8-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9549d491362b21aa4468110e2ec297db7d3c984b15ec7142b99ff0c3643dd5c2 |
|
MD5 | 0cd2690a9463c6cd2edcb31ad489067e |
|
BLAKE2b-256 | 9bbb53e90eb383d120a3f76dc13bd0a42a3e45af83f20b7559097d8854e07419 |