Registry / data / romkan2

romkan2

JSON →
library0.1.1pypypiunverified

A Python library for converting between Romaji (Romanized Japanese) and Kana (Hiragana/Katakana). It supports both to_romaji and to_kana conversions. Current version 0.1.1, released 2025, with no fixed release cadence.

pip install romkan2
INSTALL
IMPORT
SIG · ROMKAN2
R
romkan2
datapythonv0.1.1
Install
1.6s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.1.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
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

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

to_romaji
from romkan2 import to_romaji
from romkan2 import to_romaji
to_kana
from romkan2 import to_kana
from romkan2 import to_kana

Convert between Romaji and Kana.

from romkan2 import to_romaji, to_kana print(to_romaji('こんにちは')) # konnnichiha print(to_kana('konnnichiha')) # こんにちは
Debug
Known issues
gotchaThe 'to_romaji' function may return 'konnnichiha' (with double n) for 'こんにちは' due to Hepburn romanization rules; not a bug.
fix
Use 'to_kana' to reverse; accept double n as standard Hepburn.
affects: all
deprecatedUnlike the older 'romkan' library, 'romkan2' does not support custom romanization systems or extended conversions like 'to_hepburn'.
fix
If you need custom systems, consider using 'pykakasi' instead.
affects: all
Upgrade
Version history
0.1.1latest on PyPI · released Oct 22, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
romkan2 — pip install romkan2 · libregistry