Skip to main content

No project description provided

Project description

Poetry Ruff codecov

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:

  1. Clone the Repository

    git clone https://github.com/your-repository/roman-numeral-converter.git
    cd roman-numeral-converter
    
  2. Install Dependencies Make sure you have Poetry installed. Then run:

    poetry install
    

Usage

After installation, you can use the CLI as follows:

  1. 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.

  1. 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


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

File hashes

Hashes for roman_numerals_converter-0.2.6.dev1702939382.tar.gz
Algorithm Hash digest
SHA256 102b28f436e27c2a46085dbf24160fc2ff3240ef8b97de141b92490c1ab0a840
MD5 ecbc8dc02914f0f04b638c32b5b9b631
BLAKE2b-256 14c7157e15a56808ae225a4dc885a06017a453351c358288a18ddead0748ec15

See more details on using hashes here.

File details

Details for the file roman_numerals_converter-0.2.6.dev1702939382-py3-none-any.whl.

File metadata

File hashes

Hashes for roman_numerals_converter-0.2.6.dev1702939382-py3-none-any.whl
Algorithm Hash digest
SHA256 7812fc9298aa39bde8df26c3d590093d8a1072ce30f8506f9689d6d272c30e4e
MD5 520dd2c58c2b92eb252607dce4f905fd
BLAKE2b-256 681ea074140c2bd45bc0ddf55e40e9380ced97ab5a62c84b4cb15fa890ef8f01

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page