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
File details
Details for the file roman_numerals_converter-0.2.6.dev1702939382.tar.gz
.
File metadata
- Download URL: roman_numerals_converter-0.2.6.dev1702939382.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 102b28f436e27c2a46085dbf24160fc2ff3240ef8b97de141b92490c1ab0a840 |
|
MD5 | ecbc8dc02914f0f04b638c32b5b9b631 |
|
BLAKE2b-256 | 14c7157e15a56808ae225a4dc885a06017a453351c358288a18ddead0748ec15 |
File details
Details for the file roman_numerals_converter-0.2.6.dev1702939382-py3-none-any.whl
.
File metadata
- Download URL: roman_numerals_converter-0.2.6.dev1702939382-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7812fc9298aa39bde8df26c3d590093d8a1072ce30f8506f9689d6d272c30e4e |
|
MD5 | 520dd2c58c2b92eb252607dce4f905fd |
|
BLAKE2b-256 | 681ea074140c2bd45bc0ddf55e40e9380ced97ab5a62c84b4cb15fa890ef8f01 |