Metadata-Version: 2.1
Name: roman-numbers
Version: 1.0.1
Summary: Convert roman numeral to number and manage roman number object
Home-page: UNKNOWN
Author: Jirakit Jirapongwanich
Author-email: jirakit.jpwn@gmail.com
License: UNKNOWN
Description: # Roman numerals
        
        Manage roman numerals using roman number object.
        
        ## Convert roman numeral to integers
        
        * **`roman` function**
        
        return roman numeral string
        
        ```python
        import roman_numbers as r
        
        x = 10
        print(r.roman(x))
        ```
        Output:
        ```python
        >> X
        ```
        
        * **`number` function**
        
        return integers from roman numeral
        
        ```python
        import roman_numbers as r
        
        x = 'X'
        print(r.number(x))
        ```
        Output:
        ```python
        >> 10
        ```
        
        * **`rom` object**
        
        support Basic and Compare opeartion for roman numeral
        ```python
        from roman_numbers import rom
        
        >> rom(10) + rom(10) # add
        >> XX
        
        >> rom(5) - rom(1) # sub
        >> IV
        
        >> rom(5) * 3 # mul
        >> XV
        
        >> rom('V') > rom('XI') # compare
        >> False
        
        >> rom('V') == 5 # compare
        >> True
        
        >> int(rom('XI'))
        >> 11
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
