Skip to main content

A bidirectional Roman numeral converter

Project description

romnum

Copyright 2021-2025 Caleb Evans
Released under the MIT license

tests Coverage Status

This project is a Python 3 utility for converting Roman numerals. The tool is able to convert to and from Roman Numerals.

Please note that the Roman Numeral overbar notation (for multiplying by 1,000) is not supported.

Usage

Encoding

./romnum.py encode 1776

Decoding

./romnum.py decode MDCCLXXVI

Run test suite

./test_romnum.py

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

romnum-1.0.0rc2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

romnum-1.0.0rc2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file romnum-1.0.0rc2.tar.gz.

File metadata

  • Download URL: romnum-1.0.0rc2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for romnum-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 1a322a7014b37be2f08b8ed7ccb6cad521db7bf966d6b1c3e08bec9ffe6d247b
MD5 729e53c69174fea327797e421a5a0922
BLAKE2b-256 77ab7c5c2c6eef33a80ada06521ade874376ccd2e1b22e5c8748bdd38f1ee6b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for romnum-1.0.0rc2.tar.gz:

Publisher: publish.yml on caleb531/romnum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file romnum-1.0.0rc2-py3-none-any.whl.

File metadata

  • Download URL: romnum-1.0.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for romnum-1.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 ede3adbcfb820d7792f3bfbceb8846525c47fe1f5c23f3ac70b6f4fe44b8101f
MD5 eb891c7c76ec7b8c7fd3e4a8f6aa1444
BLAKE2b-256 a8f8143ed94a06df31798a8d859a36b4a89cd47e19a96fa6a91d79e78ccc4ffc

See more details on using hashes here.

Provenance

The following attestation bundles were made for romnum-1.0.0rc2-py3-none-any.whl:

Publisher: publish.yml on caleb531/romnum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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