Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Roman numeral to/from converter scripts

Project description

Roman numeral conversion tools

The scripts (and functions) r2n and n2r will convert roman numerals to integers and natural numbers to roman numerals, respectively. Error handling is nonexistent.

Works:

  • Conversion to/from integers in standard form with absolute value of 1-4999 or 0, when represented with 'nulla'
  • Conversion to/from integers, when the overline in vinculus forms is replaced with parentheses groups.

Doesn't work:

  • Input validation: Use -f and input clean inputs or face errors.
  • Decoding some rarer "nonstandard" forms.

TODO:

  • Decoding vinculus forms to/from LaTeX etc..
  • Nice errors handling / warnings.
  • Proper packaging: verify that pip works & register to PyPi

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for romanum, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size romanum-0.1-py2-none-any.whl (5.6 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size romanum-0.1.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page