Skip to main content

Roman numbers converting library

Project description

romanify
====

.. image:: https://coveralls.io/repos/github/JaneTurueva/py-romanify/badge.svg?branch=master
:target: https://coveralls.io/github/JaneTurueva/py-romanify?branch=master
:alt: Coveralls

.. image:: https://travis-ci.org/JaneTurueva/py-romanify.svg
:target: https://travis-ci.org/JaneTurueva/py-romanify
:alt: Travis CI

.. image:: https://img.shields.io/pypi/v/romanify.svg
:target: https://pypi.python.org/pypi/romanify/
:alt: Latest Version

.. image:: https://img.shields.io/pypi/wheel/romanify.svg
:target: https://pypi.python.org/pypi/romanify/

.. image:: https://img.shields.io/pypi/pyversions/romanify.svg
:target: https://pypi.python.org/pypi/romanify/

.. image:: https://img.shields.io/pypi/l/romanify.svg
:target: https://pypi.python.org/pypi/romanify/


Roman numbers converting library.

Library uses following mapping:

======== ===========
Arabic Roman
======== ===========
M 1000
CM 900
D 500
CD 400
C 100
XC 90
L 50
XL 40
X 10
IX 9
V 5
IV 4
I 1
======== ===========

Installation
------------

.. code-block:: shell

pip install romanify


Command-line usage
------------------
.. code-block:: shell

romanify 101
> CI


Library usage
-------------
.. code-block:: shell

from romanify import arabic2roman

print(arabic2roman(101))


Versioning
==========

This software follows `Semantic Versioning`_

.. _Semantic Versioning: http://semver.org/

Project details


Download files

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

Source Distribution

romanify-0.0.4.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

romanify-0.0.4-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

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