Easy converter between Kanji-Number and Integer. Version 1.6.1 supports Python >=3.8. Released irregularly, maintenance mode.
pip install kanjizeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic conversion between Kanji numbers and integers.
Ensure input uses standard kanji numerals (一二三四五六七八九十百千万億) or half-width digits, not full-width.
For zero, use number(0) which returns '零'.
Verify logic: e.g., '五百' is 500, '五百一' is 501.
Use: from kanjize import kanjize then call kanjize().
Convert full-width digits to half-width or kanji numerals before passing.
Use format options if available (not in current version). Accept the output as is.
No dependency data recorded yet.