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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file roman-numerals-0.1.0.tar.gz
.
File metadata
- Download URL: roman-numerals-0.1.0.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21a8846e79074fa2c7e2b57b1cd9e3c7f2de33fd741f396b40017157643a26c2 |
|
MD5 | 20066619ca726d86fff0ea791b3cb5fe |
|
BLAKE2b-256 | db602f0a16367dee5c57c4dfac2c123a2549dc616bf365a9c80ccba74ae05f75 |
File details
Details for the file roman_numerals-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: roman_numerals-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 583a44505423c2fb73b49f3459b9257d54768484c4b26bb1567cbdd6630cf538 |
|
MD5 | e9e31fc985e1cad9d4ce38fee4268bc8 |
|
BLAKE2b-256 | 94fc0bc1d63d20e87367ba4ac167891061f7f6e8be3941c1e9a8058d9e154f13 |