jaconv is a pure-Python library designed for interconverting Japanese characters, including Hiragana, Katakana, Hankaku (half-width), Zenkaku (full-width), and Romaji. It provides a straightforward API for various common text processing tasks involving Japanese script. The library is actively maintained, with its latest version being 0.5.0, and has a consistent release cadence addressing bug fixes and improvements.
pip install jaconvVerified import paths — ran on the pinned version, not inferred.
Convert between Hiragana, Katakana, Half-width, Full-width, and Romaji characters using jaconv's core functions.
Always test conversion outputs thoroughly after upgrading `jaconv`. Refer to release notes for specific bug fixes related to these functions, especially for `small-kana` and `alphabet2kana` behavior changes in v0.5.0.
Update calls from `hankaku2zenkaku` to `jaconv.h2z` and `zenkaku2hankaku` to `jaconv.z2h`.
Install the library using pip: `pip install jaconv`
Access the desired conversion function directly from the module, for example: `jaconv.hira2kata('ともえまみ')`Use the correct function name as defined in the library's API: `jaconv.hira2kata('ともえまみ')`No dependency data recorded yet.