No project description provided
Project description
Roman Numeral Converter
This Python CLI (Command-Line Interface) project, developed for the "Moderne Softwareentwicklung" course, offers an efficient way to convert integers to Roman numerals and vice versa. Built with the Click library, it provides a user-friendly experience on the command line.
Features
- Integer to Roman Numeral Conversion: Convert integers within the range of 1 to 3999 into Roman numerals.
- Roman Numeral to Integer Conversion: Translate valid Roman numerals back into integers.
Getting Started
Prerequisites
Installation
Using Poetry
-
Clone the Repository
git clone https://github.com/your-repository/roman-numeral-converter.git cd roman-numeral-converter
-
Install Dependencies
poetry install
Using pip
If you prefer to use pip:
pip install roman-numeral-converter
Usage
Once installed, the CLI can be used as follows:
-
Convert an Integer to a Roman Numeral
Syntax:
poetry run python -m roman.your_module_name to-roman [number]
Replace
[number]
with the integer you wish to convert. -
Convert a Roman Numeral to an Integer
Syntax:
poetry run python -m roman.your_module_name from-roman [roman_numeral]
Replace
[roman_numeral]
with the Roman numeral you wish to translate.
Contributing
Contributions are welcome! Please read our Contributing Guidelines for more information.
License
Distributed under the MIT License. See LICENSE for more information.
Acknowledgments
- Thanks to the "Moderne Softwareentwicklung" course team for their guidance.
- Click, for making command-line interface creation efficient.
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.3.1.dev1703865078.tar.gz
.
File metadata
- Download URL: roman_numerals_converter-0.3.1.dev1703865078.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71be8cb7476920069f770cc30f03fdbd1e6c8de869c8a3ca3f5c601b218504c1 |
|
MD5 | 67290da787d544dcf2833908904e144c |
|
BLAKE2b-256 | 0d3e566d2e948832d5b5ca32a71bfc9437ad9f513923cf82e4cf0c4b1d4497e1 |
File details
Details for the file roman_numerals_converter-0.3.1.dev1703865078-py3-none-any.whl
.
File metadata
- Download URL: roman_numerals_converter-0.3.1.dev1703865078-py3-none-any.whl
- Upload date:
- Size: 7.9 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 | 17f29510ae860f4a0fbdf20ad170e7b3dd6d4b5689c56c7f65d087ae8ca98a0f |
|
MD5 | a15e82697d0958049a2d76a90ae22173 |
|
BLAKE2b-256 | 2d514f58ff09ed519a05391cd9db52f707c9127ebfb5a8163b69a97ac744431d |