Skip to content

caleb531/romnum

Repository files navigation

romnum

Copyright 2021-2025 Caleb Evans
Released under the MIT license

tests Coverage Status

This package is a Python 3 CLI utility for converting to and from Roman numerals.

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

Usage

Installation

You can install romnum via pip, or using your preferred package manager (like uv):

# via pip
pip3 install romnum
# via uv
uv tool install romnum

Encoding

romnum encode 1776
# MDCCLXXVI

Decoding

romnum decode MDCCLXXVI
# 1776

About

A bidirectional Roman Numeral converter, written in Python

Topics

Resources

License

Stars

Watchers

Forks

Languages