python-serpente

Roman numeral encoder and decoder


License
BSD-3-Clause
Install
pip install python-serpente==1.0.1

Documentation

python-serpente

Roman numeral conversion. Supports Python 3.6, 3.7, and 3.8.

Usage

>>> import serpente
>>> serpente.encode(1234)
u'MCCXXXIV'
>>> serpente.decode(u'MCCXXXIV')
1234