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

roman_numerals_converter-0.2.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

roman_numerals_converter-0.2.1-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

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