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.dev1702652426.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b87d558fe52620dc2d687abe10251c6fb8bb3afba62bdcdd2cecd2aaff371f |
|
MD5 | 72de11cbd233b66e6f8147ed6ab6fed1 |
|
BLAKE2b-256 | d5f45f9dae869045d444a5d35b6737d6c21367dafbfbc3d5aa21cdcccacd24ab |
Close
Hashes for roman_numerals_converter-0.2.6.dev1702652426-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fbfd978c36db866b6a8ec1ebb0920b0db639cb5ccc3c634b8a13ad89c006b08 |
|
MD5 | 00fbe1a2eb4bcd54e010a765617c34b2 |
|
BLAKE2b-256 | ffde28e59472aa01ffac1510692cb8497b1f80b1206d542d3ba9370c3e1ddc65 |