Metadata-Version: 2.2
Name: romnum
Version: 1.0.0rc2
Summary: A bidirectional Roman numeral converter
Author-email: Caleb Evans <caleb@calebevans.me>
Maintainer-email: Caleb Evans <caleb@calebevans.me>
License: The MIT License (MIT)
        
        Copyright (c) 2021-2025 Caleb Evans
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in
        all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
        THE SOFTWARE.
        
Project-URL: homepage, https://github.com/caleb531/romnum
Project-URL: documentation, https://github.com/caleb531/romnum#readme
Project-URL: repository, https://github.com/caleb531/romnum
Project-URL: changelog, https://github.com/caleb531/romnum/releases
Keywords: roman,numeral,converter,bidirectional
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# romnum

*Copyright 2021-2025 Caleb Evans*  
*Released under the MIT license*

[![tests](https://github.com/caleb531/romnum/actions/workflows/tests.yml/badge.svg)](https://github.com/caleb531/romnum/actions/workflows/tests.yml)
[![Coverage Status](https://coveralls.io/repos/caleb531/romnum/badge.svg?branch=main)](https://coveralls.io/r/caleb531/romnum?branch=main)

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

```sh
./romnum.py encode 1776
```

### Decoding

```sh
./romnum.py decode MDCCLXXVI

```

### Run test suite

```sh
./test_romnum.py
```
