{"id":18444972,"url":"https://github.com/filipporanza/roman_numbers","last_synced_at":"2025-04-14T22:56:26.985Z","repository":{"id":118635686,"uuid":"183011540","full_name":"FilippoRanza/roman_numbers","owner":"FilippoRanza","description":"Convert integers to roman numerals and vice versa","archived":false,"fork":false,"pushed_at":"2019-04-24T15:53:10.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T22:56:24.533Z","etag":null,"topics":["python","python3-6","python3-7","python3-library","roman-numerals"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FilippoRanza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-23T12:35:55.000Z","updated_at":"2019-04-24T15:53:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb6a7f50-9f35-477e-9c22-1d86d3557bd0","html_url":"https://github.com/FilippoRanza/roman_numbers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoRanza%2Froman_numbers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoRanza%2Froman_numbers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoRanza%2Froman_numbers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoRanza%2Froman_numbers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FilippoRanza","download_url":"https://codeload.github.com/FilippoRanza/roman_numbers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975330,"owners_count":21192208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python3-6","python3-7","python3-library","roman-numerals"],"created_at":"2024-11-06T07:04:24.949Z","updated_at":"2025-04-14T22:56:26.967Z","avatar_url":"https://github.com/FilippoRanza.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# roman_numbers [![Build Status](https://travis-ci.com/FilippoRanza/roman_numbers.svg?branch=master)](https://travis-ci.com/FilippoRanza/roman_numbers) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/1d68e4e50fb44ace853305e19e46b8ae)](https://app.codacy.com/app/FilippoRanza/roman_numbers?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=FilippoRanza/roman_numbers\u0026utm_campaign=Badge_Grade_Dashboard)\nConvert integers to roman numerals and vice versa\n\n## Description\nroman_numbers is a simple Python library that lets you convert from python int to \nroman numerals (represented as a python string) or convert from roman numerals \nto python int. \n\n## Installation\nTo install this script you need [setuptools](https://github.com/pypa/setuptools)\nFrom the command line run\n\n```bash\n[sudo] python[3] setup.py install\n```\n\nIf you want to run test locally you can simply\n\n```bash\npython[3] test_roman_numbers.py\n```\n\nor, if you have installed [pytest](https://github.com/pytest-dev/pytest),\nyou can run\n\n```bash\npytest\n```\n\n## Usage\nOnce installed you can simply import this module\nin the usual way. For a complete function\ndocumentation refer to `pydoc`.\n\n## Notes\n### Large Numbers\nNo system to write large roman numeral is currently supported.\n\n### Safe Version\nConvetion functions are available in two different forms:\n+   safe: those versions(function name end with **_safe**) perform \nchecks on the input, ensuring that input type is correct and \ninput variables are in the right form.\n\n+   fast: those versions don't perform any check on the input, \nassuming the values are both of the correct type and in the \ncorrect form.\n\n### Correct Input Format\n+   `int_to_roman` (integer to roman numeral convertion) consider \nas correct input any python integer lerger then zero\n\n+   `roman_to_int` (roman numeral to integer convertion) consider\nas correct input ant python string that contains a correct \nroman numeral and nothing more. To test if a string is correct\nor not `is_valid_roman` function is available\n\n### Examlpe\nSee `example.py` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipporanza%2Froman_numbers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilipporanza%2Froman_numbers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipporanza%2Froman_numbers/lists"}