No project description provided
Project description
Roman Numeral Converter
I developed this python cli for my course "Moderne Softwareentwicklung", provides an easy-to-use interface for converting integers to Roman numerals and vice versa. It uses the Click library to create a user-friendly command-line tool.
Features
- Convert Integers to Roman Numerals: Convert any integer between 1 and 3999 into its corresponding Roman numeral.
- Convert Roman Numerals to Integers: Translate valid Roman numerals back into integers.
Installation
This project uses Poetry for dependency management. To set up the project, follow these steps:
-
Clone the Repository
git clone https://github.com/your-repository/roman-numeral-converter.git cd roman-numeral-converter
-
Install Dependencies Make sure you have Poetry installed. Then run:
poetry install
Usage
After installation, you can use the CLI as follows:
- Converting an Integer to a Roman Numeral
poetry run python -m roman.your_module_name to-roman [number]
Replace [number] with the integer you want to convert.
- Converting a Roman Numeral to an Integer
poetry run python -m roman.your_module_name from-roman [roman_numeral]
Replace [roman_numeral] with the Roman numeral you want to translate.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for roman_numerals_converter-0.2.5.dev1702648589.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee3e6e665431f10ed3aa49383b8963f911dda1dca956199020b9ab7566225a2e |
|
MD5 | e03c620f96b4731812b514596c986b4a |
|
BLAKE2b-256 | e1ea755b84179f70da14ff265c3f75d7d3819b62836daaaad9974744414769fe |
Close
Hashes for roman_numerals_converter-0.2.5.dev1702648589-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9385e9fc330583ea69930c3eb30cd0da979ca31152e1bf93e200965ca283d9c |
|
MD5 | 98d26141acd2e80d03a7742b13a17933 |
|
BLAKE2b-256 | b327490c2f5c21a694530c4b139fe9f28200e7c5284b99ffbceb9fbeb421cccf |