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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file roman_numerals_converter-0.2.1.tar.gz.

File metadata

  • Download URL: roman_numerals_converter-0.2.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-25-generic

File hashes

Hashes for roman_numerals_converter-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6add79c3c7210a3952adc99e24e23f177308f33fc56a922aa98a8caf21eb2655
MD5 fcc78e6500c7b0bbf77bac2d0c59d98d
BLAKE2b-256 5b5a9a0ec565cfa4efba651f362c202bb76dbc78b0a55f54bb7aff980f148ab6

See more details on using hashes here.

File details

Details for the file roman_numerals_converter-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for roman_numerals_converter-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 afd623de3a67e4b443e5fa0bc684cd2393d7dfb2033a929b036b0b79d8f9c66d
MD5 d8e77ec32ca6b95dd52e28aa40449745
BLAKE2b-256 6a2f72f24b21682733f01ccf129a3b7f14f54f06dd8385d6936767293e563a1c

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