https://github.com/gaming32/roman-numerals
Python library for interacting with roman numerals
https://github.com/gaming32/roman-numerals
library python roman-number-converter roman-numerals
Last synced: about 2 months ago
JSON representation
Python library for interacting with roman numerals
- Host: GitHub
- URL: https://github.com/gaming32/roman-numerals
- Owner: Gaming32
- License: mit
- Created: 2020-04-20T21:57:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T20:15:11.000Z (about 5 years ago)
- Last Synced: 2025-03-03T15:45:40.022Z (3 months ago)
- Topics: library, python, roman-number-converter, roman-numerals
- Language: Python
- Size: 16.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Installing
``` shell
$ python3 -m pip install Roman-Numerals-Simple
```# Using
``` python
>>> import roman
>>> roman.int_to_roman(947)
'CMXLVII'
>>> roman.roman_to_int('CMXLVII')
947
```# Command Line
``` shell
$ python3 -m roman
5377
MMMMMCCCLXXVII
5377 True
$ python3 -m roman 947
947
CMXLVII
947 True
```