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

File metadata

File hashes

Hashes for roman_numerals_converter-0.2.6.dev1702657618.tar.gz
Algorithm Hash digest
SHA256 93d2dc69f7530beee9739ba2ee16991884f511edf2171f5d159b8d4522820a68
MD5 ebf85d2d0383fbb910a8de406bef8f04
BLAKE2b-256 2e56bd969c940e3d48bc3c0aa0bd80570296652426f3f423b2c725330ee8a4da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roman_numerals_converter-0.2.6.dev1702657618-py3-none-any.whl
Algorithm Hash digest
SHA256 68e42098a7de471cb122ca0c4db3255aa9d4abe32e5c5e41e507a75fe2028069
MD5 eb098333578f007da478489554d4158f
BLAKE2b-256 6c1fd9e8db748dc3ba4500ee1518a6dbd44dd1505c0c6e878ca4c28bf1102ae7

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