{"id":28069564,"url":"https://github.com/muawiya-contact/roman-to-integer-python","last_synced_at":"2025-05-12T19:09:16.333Z","repository":{"id":292867568,"uuid":"982169683","full_name":"Muawiya-contact/roman-to-integer-python","owner":"Muawiya-contact","description":"# roman-to-integer-python","archived":false,"fork":false,"pushed_at":"2025-05-12T14:38:29.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T19:09:04.349Z","etag":null,"topics":["algorithms","beginner-friendly","coding-moves","command-line-tool","converter","data-structures","educational","number-conversion","numeral-system","open-source","python","python-exercise","python-project","python3","roman-numerals","utility"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Muawiya-contact.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-05-12T13:29:43.000Z","updated_at":"2025-05-12T14:42:51.000Z","dependencies_parsed_at":"2025-05-12T15:52:18.893Z","dependency_job_id":"aedca248-571b-4632-9e8c-d65cb5c3f1aa","html_url":"https://github.com/Muawiya-contact/roman-to-integer-python","commit_stats":null,"previous_names":["muawiya-contact/roman-to-integer-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muawiya-contact%2Froman-to-integer-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muawiya-contact%2Froman-to-integer-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muawiya-contact%2Froman-to-integer-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muawiya-contact%2Froman-to-integer-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Muawiya-contact","download_url":"https://codeload.github.com/Muawiya-contact/roman-to-integer-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253805861,"owners_count":21967053,"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":["algorithms","beginner-friendly","coding-moves","command-line-tool","converter","data-structures","educational","number-conversion","numeral-system","open-source","python","python-exercise","python-project","python3","roman-numerals","utility"],"created_at":"2025-05-12T19:09:12.971Z","updated_at":"2025-05-12T19:09:16.325Z","avatar_url":"https://github.com/Muawiya-contact.png","language":"Python","readme":"# 🏛️ Roman to Integer Converter (Python)\n\nConvert **Roman numerals** to **integers** in Python using a clean and beginner-friendly approach.  \nThis simple script demonstrates how to implement Roman numeral conversion logic using Python data structures and control flow.\n\n---\n\n## 📌 Overview\n\nRoman numerals are composed of the following seven symbols:\n\n| Symbol | Value |\n|--------|-------|\n| I      | 1     |\n| V      | 5     |\n| X      | 10    |\n| L      | 50    |\n| C      | 100   |\n| D      | 500   |\n| M      | 1000  |\n\n### Special Cases:\n\n- I before V or X (e.g. IV = 4, IX = 9)\n- X before L or C (e.g. XL = 40, XC = 90)\n- C before D or M (e.g. CD = 400, CM = 900)\n\n---\n\n## ✅ Features\n\n- Converts valid Roman numerals (1 - 3999) into integers\n- Handles all subtractive cases\n- Clean O(n) algorithm\n- Beginner-friendly code\n- Can be integrated into larger Python projects\n\n---\n\n## 🚀 Usage\n```\n# Example usage\nif __name__ == \"__main__\":\n    converter = Solution()\n    print(converter.romanToInt(\"XI\"))  # Output: 11\n```\n## 📂 Project Structure\n```\nroman-to-integer-python/\n├── roman_converter.py       # Main script\n├── test_cases.py            # (Optional) Unit tests\n├── README.md                # Project documentation\n└── LICENSE                  # MIT or any license\n\n```\n## 📄 License\nThis project is licensed under the **MIT License**.\nFeel free to use, modify, and distribute it for personal or commercial use.\n\n## 👨‍💻 Author\nMuawiya Amir\n+ 🔗 GitHub: [Muawiya-contact](https://github.com/Muawiya-contact)\n+ 📺 YouTube: [@Coding_Moves](https://www.youtube.com/@Coding_Moves)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuawiya-contact%2Froman-to-integer-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuawiya-contact%2Froman-to-integer-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuawiya-contact%2Froman-to-integer-python/lists"}