Registry / romkan

romkan

JSON →
library0.2.1pypypiunverified

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.

pip install romkan
INSTALL
IMPORT
SIG · ROMKAN
R
romkan
pythonv0.2.1
Install
2.2s avg
Import
102ms
Disk
20MB
Pass rate
6/ 10
Env Coverage6 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 2.2s
py 3.11
✓ —
✓ 2.1s
py 3.12
✕ build_error
✕ build_error
py 3.13
✕ build_error
✕ build_error
py 3.9
✓ —
✓ 2.3s
20MB installed
● package 20MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

to_hiragana
from romkan import to_hiragana
import romkan; romkan.to_hiragana('roma')
Importing the module and calling function works fine, but the common mistake is forgetting to import the specific function.

Basic usage of romkan for conversion between Romaji and Kana.

from romkan import to_hiragana, to_katakana, to_hepburn, to_kunrei hira = to_hiragana('nihon') print(hira) # にほん kata = to_katakana('nihon') print(kata) # ニホン hepburn = to_hepburn('にほん') print(hepburn) # nihon kunrei = to_kunrei('にほん') print(kunrei) # nihon (same for this example)
Debug
Known issues
gotchaSome Romaji inputs may not round-trip correctly due to ambiguous mappings (e.g., 'おお' vs 'おう').
fix
Be aware that conversion is phonetic; verify expected output for edge cases.
affects: all
deprecatedThe library is not actively maintained (last update 2013). It may have bugs or miss modern Python features.
fix
Consider alternatives like pykakasi or jaconv for actively maintained libraries.
affects: 0.2.1
Upgrade
Version history
0.2.1latest on PyPI · released Feb 26, 2013
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
romkan — pip install romkan · libregistry