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.dev1702656489.tar.gz.

File metadata

File hashes

Hashes for roman_numerals_converter-0.2.6.dev1702656489.tar.gz
Algorithm Hash digest
SHA256 4f11db1ca52819ada00dbe00556f14d45c8ffdcc4826cb285280c9f487d675e9
MD5 ef763e762e5b317ec668ad6baffa9ce4
BLAKE2b-256 e23a81af79ed042a8100db66c41dac0da60badf5b2484226ea4e3d52fcafa95c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roman_numerals_converter-0.2.6.dev1702656489-py3-none-any.whl
Algorithm Hash digest
SHA256 da986c8ffbbf6cc6057a58c844184aceea921dae05e79dd23525793b839dffd2
MD5 b59b8be69faee50f6744b697124e510c
BLAKE2b-256 757f85841632002fe2390671b4a8b65944498a0413761dde585a2a3942989cec

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