Skip to main content

Roman numeral encoder and decoder

Project description

python-serpente

Roman numeral conversion. Supports Python 3.8 to 3.12.

main branch CI badge

Usage

>>> import serpente
>>> serpente.encode(1234)
'MCCXXXIV'
>>> serpente.decode("MCCXXXIV")
1234

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

python_serpente-2.0.tar.gz (2.2 kB view hashes)

Uploaded source

Built Distribution

python_serpente-2.0-py3-none-any.whl (2.6 kB view hashes)

Uploaded py3

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