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.6.dev1702656653.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7139c437e8ca2f5baa2f4860f3c868fa12855588a0138e52a594f9d88c606d51 |
|
MD5 | 42792d67c9743b0def8d95489df72dba |
|
BLAKE2b-256 | c7e2d193d72642255ee4885890183be065b951948fada4b4d19c03fac7f060bd |
Close
Hashes for roman_numerals_converter-0.2.6.dev1702656653-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afaa09df65dc1e875599d7ddca1167dcfd83571a7cd4cfb2eb2ac156f94b3973 |
|
MD5 | ed37ec40bc947d9e7c218e6c8cde1267 |
|
BLAKE2b-256 | 785b01efa724d0a2b952b287cb7e9e752543006e8551f296024464452e5ac946 |