Skip to content

gnboorse/rom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rom

PyPI

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

About

Roman numeral conversion in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages