Skip to main content

A library to convert between integers and Unicode Roman numerals.

Project description

This library will convert integers to unicode Roman numerals, or vice versa. The library supports Apostrophus and Vinculum notation on top of standard Roman numerals.

This library also supports the use of unicode fallback characters. For example, when using fallback characters, instead of outputting code point U+216F (Ⅿ) the library will output the latin M character, which looks identical to the Roman numeral glyph.

Please keep in mind that fallback characters should only be used if escape sequences are unavailable.

Road Map

  • 0.1 Convert between numerals and integers

  • 0.2 Integrate services like PyUp and TravisCI

  • 0.3 Add support for fallback characters

  • 0.4 Write documenation

  • 0.5 Add support for Apostrophus

  • 0.6 Add support for Vinculum

  • 1.0 Full feature release

Testing

The structure of the project forces tests to run on an installed version of the code.

You can run the tests directly with python setup.py test. Alternatively, you could install the package with pip install -e . or python setup.py develop and then run tests with py.test.

To run linters, checkers, and tests on multiple Python versions, simply invoke tox.

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

roman-numerals-0.0.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roman_numerals-0.0.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file roman-numerals-0.0.1.tar.gz.

File metadata

File hashes

Hashes for roman-numerals-0.0.1.tar.gz
Algorithm Hash digest
SHA256 be4d7621bc4d9208a581da0100bd9bb9c2cc5e42ce02304c4a9a67d5e7e466ed
MD5 98d55eafa2a3816cd7700464bdba315f
BLAKE2b-256 2de41f24f66b03efbf4aeabb1dda09fc184f4ae006d02dd3cb6f191199a622e2

See more details on using hashes here.

File details

Details for the file roman_numerals-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for roman_numerals-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 898d471b9c2e96d97f221b482f3bd157975c0d1e0a9a74acee794729579c7057
MD5 e85695224d6b2f977271ce567ef8d147
BLAKE2b-256 79bef7802b2499365491f77cc0a7f1a7dd92f4c28adef943bc43e529e8475a22

See more details on using hashes here.

Supported by

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