Skip to main content

No project description provided

Project description

Poetry Ruff codecov

Roman Numeral Converter

This Python CLI (Command-Line Interface) project, developed for the "Moderne Softwareentwicklung" course, offers an efficient way to convert integers to Roman numerals and vice versa. Built with the Click library, it provides a user-friendly experience on the command line.

Features

  • Integer to Roman Numeral Conversion: Convert integers within the range of 1 to 3999 into Roman numerals.
  • Roman Numeral to Integer Conversion: Translate valid Roman numerals back into integers.

Getting Started

Prerequisites

  • Poetry for dependency management.
  • pip for package installation.

Installation

Using Poetry

  1. Clone the Repository

    git clone https://github.com/your-repository/roman-numeral-converter.git
    cd roman-numeral-converter
    
  2. Install Dependencies

    poetry install
    

Using pip

If you prefer to use pip:

pip install roman-numeral-converter

Usage

Once installed, the CLI can be used as follows:

  1. Convert an Integer to a Roman Numeral

    Syntax:

    poetry run python -m roman.your_module_name to-roman [number]
    

    Replace [number] with the integer you wish to convert.

  2. Convert a Roman Numeral to an Integer

    Syntax:

    poetry run python -m roman.your_module_name from-roman [roman_numeral]
    

    Replace [roman_numeral] with the Roman numeral you wish to translate.

Contributing

Contributions are welcome! Please read our Contributing Guidelines for more information.

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgments

  • Thanks to the "Moderne Softwareentwicklung" course team for their guidance.
  • Click, for making command-line interface creation efficient.

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.3.1.dev1706448029.tar.gz.

File metadata

File hashes

Hashes for roman_numerals_converter-0.3.1.dev1706448029.tar.gz
Algorithm Hash digest
SHA256 fb7a5add26ccf15c0607c3d3540bf005ebc0a644d624a1d21e2fe3dae670e7a0
MD5 09d4e98fd5f1e85c0509576fb8ded3d4
BLAKE2b-256 9c21c7490f30b5d9021dd0d74100758af016b399a7e0433b4b093bfbd1a5a9e7

See more details on using hashes here.

File details

Details for the file roman_numerals_converter-0.3.1.dev1706448029-py3-none-any.whl.

File metadata

File hashes

Hashes for roman_numerals_converter-0.3.1.dev1706448029-py3-none-any.whl
Algorithm Hash digest
SHA256 b58a359231260d0d4a16b6df614e8c8373410a8392ed6f33750592a46aa89250
MD5 399c4a20a5b20449d7f914ba85b811cd
BLAKE2b-256 98abe8ee3d30da913d5c168bff2b60a1e2a4083b9cd3fbd1d31a36da7258af09

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