/alfred-roman-numerals

A simple Alfred workflow for converting between roman numerals and arabic integers.

Primary LanguagePythonMIT LicenseMIT

Alfred Roman Numerals

GitHub Workflow Status (branch) CodeFactor Grade GitHub issues Languages supported GitHub license PRs welcome

A simple Alfred workflow for converting between roman numerals and arabic integers written in Python.

Installation

  1. Install alfred-roman-numerals workflow.
  2. All further updates are handled automatically.

Usage

In Alfred, type rn and enter either your roman numeral or arabic integer. Selected result is copied to your clipboard.

Arabic to Roman Roman to Arabic

The expression is being evaluated as you type it. If the expression cannot be evaluated, for example if you are using illegal characters, user will be notified about that.

Gibberish

Note

The workflow doesn't support incorrectly written roman numerals, i.e. "IC", and will also notify user about this:

Invalid Roman

Credits

The workflow makes use of OneUpdater by vitorgalvao to focus on the implementation of the conversion between the number systems rather than code related to updating.