Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python Roman/Arabic numbers 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 numbers from roman to arabic:

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

From arabic to roman:

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

Changelog

0.1.4 (2015-04-12)

  • Beta release
  • pylint (pep8)
  • doc strings

0.1.3 (2015-03-31)

  • unittest (extended)
  • python3+ support extended
  • bugfix - python3+: TypeError: can’t multiply sequence by non-int of type ‘float’

0.1.2 (2015-03-22)

  • unittest
  • bugfix - python3.4: AttributeError: ‘str_iterator’ object has no attribute ‘next’
  • lower case roman numerals

0.1.1 (2015-03-22)

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

0.1.0 (2015-03-22)

  • Pre-release
Release History

Release History

This version
History Node

1.0.0

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
py-romanify-1.0.0.tar.gz (77.0 kB) Copy SHA256 Checksum SHA256 Source Oct 15, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting