{"id":22324,"library":"romkan","title":"Romkan","description":"A library for converting between Romaji and Kana (Hiragana and Katakana) in Japanese. Version 0.2.1 is the latest release. Maintenance status is unclear; the last update was in 2013.","status":"maintenance","version":"0.2.1","language":"python","source_language":"en","source_url":"https://github.com/jeffreybiles/romkan/","tags":["japanese","romaji","kana","hiragana","katakana"],"install":[{"cmd":"pip install romkan","lang":"bash","label":"Latest stable"}],"dependencies":[],"imports":[{"note":"Importing the module and calling function works fine, but the common mistake is forgetting to import the specific function.","wrong":"import romkan; romkan.to_hiragana('roma')","symbol":"to_hiragana","correct":"from romkan import to_hiragana"}],"quickstart":{"code":"from romkan import to_hiragana, to_katakana, to_hepburn, to_kunrei\n\nhira = to_hiragana('nihon')\nprint(hira)  # にほん\n\nkata = to_katakana('nihon')\nprint(kata)  # ニホン\n\nhepburn = to_hepburn('にほん')\nprint(hepburn)  # nihon\n\nkunrei = to_kunrei('にほん')\nprint(kunrei)  # nihon (same for this example)\n","lang":"python","description":"Basic usage of romkan for conversion between Romaji and Kana."},"warnings":[{"fix":"Be aware that conversion is phonetic; verify expected output for edge cases.","message":"Some Romaji inputs may not round-trip correctly due to ambiguous mappings (e.g., 'おお' vs 'おう').","severity":"gotcha","affected_versions":"all"},{"fix":"Consider alternatives like pykakasi or jaconv for actively maintained libraries.","message":"The library is not actively maintained (last update 2013). It may have bugs or miss modern Python features.","severity":"deprecated","affected_versions":"0.2.1"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install romkan' and ensure correct spelling: 'romkan' not 'romaji' etc.","cause":"The package is not installed, or the name is misspelled.","error":"ModuleNotFoundError: No module named 'romkan'"},{"fix":"Use 'from romkan import to_hiragana' directly.","cause":"Incorrect import: importing the module instead of the function.","error":"AttributeError: module 'romkan' has no attribute 'to_hiragana'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}