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
Metadata
Release files for py-romanify 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-romanify-1.0.0.tar.gz | 77.0 kB | Without provenance | Details for py-romanify-1.0.0.tar.gz |
Release files / py-romanify-1.0.0.tar.gz
| Download URL | py-romanify-1.0.0.tar.gz |
|---|---|
| Size | 77.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cd91161b69e3fa83337ef3348ec563375fe45bf06453eb19634a21dc3e2cbe9
|
|
BLAKE2b-256 checksum How to use checksums |
537634f8d23a0e3bf1d48c27141124853d37f848995ff6494efe09c0479fe1a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for py-romanify 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.