Giter VIP home page Giter VIP logo

roman-numerals's Introduction

Read Me

This library will convert integers to unicode Roman numerals, or vice versa. The library supports Apostrophus and Vinculum notation on top of standard Roman numerals.

This library also supports the use of unicode fallback characters. For example, when using fallback characters, instead of outputting code point U+216F (โ…ฏ) the library will output the latin M character, which looks identical to the Roman numeral glyph.

Please keep in mind that fallback characters should only be used if escape sequences are unavailable.

Road Map

  • 0.1 Convert between numerals and integers
  • 0.2 Integrate services like PyUp and TravisCI
  • 0.3 Add support for fallback characters
  • 0.4 Write documenation
  • 0.5 Add support for Apostrophus
  • 0.6 Add support for Vinculum
  • 1.0 Full feature release

Testing

The structure of the project forces tests to run on an installed version of the code.

You can run the tests directly with python setup.py test. Alternatively, you could install the package with pip install -e . or python setup.py develop and then run tests with py.test.

To run linters, checkers, and tests on multiple Python versions, simply invoke tox.

roman-numerals's People

Contributors

jambonrose avatar pyup-bot avatar

Stargazers

Abhijit Mamarde avatar Ivar Stangeby avatar Soundarya0 avatar Mark Steve Samson avatar Daniel Farias avatar Marco Federighi avatar GAURAV avatar

Watchers

James Cloos avatar  avatar

Forkers

vvasuki battyone

roman-numerals's Issues

Not detecting IX

Got this error... on a string "IX" (9)...

roman_numerals.convert_to_integer(roman_numeral=my_number)

ValueError: the string IX is not a valid numeral

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.