Skip to main content

Python Roman/Arabic numerals convertor

Project description

Installation

You can install py-romanify with pip:

$ pip install py-romanify

Or from git:

$ git clone https://github.com/peter-lisak/py-romanify.git
$ python setup.py install

Usage

Converting numerals from roman to arabic:

>>> import romanify
>>> romanify.roman2arabic("MMXV")
2015

From arabic to roman:

>>> import romanify
>>> romanify.arabic2roman(2015)
"MMXV"

Changelog

0.1.1 (2015-03-22)

  • renamed functions: arabic2romans -> arabit2roman, romans2arabic -> roman2arabic

  • doc

0.1.0 (2015-03-22)

  • Pre-release

Project details


Download files

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

Source Distributions

py-romanify-0.1.1.zip (13.2 kB view hashes)

Uploaded Source

py-romanify-0.1.1.tar.gz (9.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page