Python Roman Numeral Parsing
Project description
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
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
gnboorse-rom-0.0.1.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for gnboorse_rom-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5982f6ecd5de43c8159e106db32648641fd108159c36e4484a36c1510cfdf3df |
|
MD5 | f94078e369577b2bdf40f9c579d8eaf3 |
|
BLAKE2b-256 | 0e4e9ea5ef5341940c67f0dc11efcae924d8f9b4ea6f8ebb331b451af5853d90 |