skip to navigation
skip to content

pykakasi 0.2

Python implementation of kakasi - kana kanji simple inversion library

Latest Version: 0.23


pykakasi is re-imprelemtation of kakasi library by Python.

How To Use pykakasi


import pykakasi.kakasi as kakasi

kakasi = kakasi()
kakasi.setMode("H","a") # default: Hiragana -> Roman
kakasi.setMode("K","a") # default: Katakana -> Roman
kakasi.setMode("J","a") # default: Japanese -> Roman
kakasi.setMode("r","Hepburn") # default: use Hepburn Roman table
kakasi.setMode("C", true) # default: Separator
kakasi.setMode("c", false) # default: no Capitalize
conv = kakasi.getConverter()
result =

You can use output `Mode` values from "h", "k", "a" which is each means
"Hiragana", "Katakana" and "Alphabet".
For input, you can use "J" that means "Japanese" that is
mixture of Kanji, Katakana and Hiragana.
Also there is values of "H", "K" that means "Hiragana", and "Katakana".
You can use "Hepburn" or "Kunrei" as mode "r", Roman table switch.
Also "C" used for separator switch, "c" for capitalize switch.  
File Type Py Version Uploaded on Size
pykakasi-0.2-py2.7.egg (md5) Python Egg 2.7 2014-04-27 2MB
pykakasi-0.2-py3.3.egg (md5) Python Egg 3.3 2014-04-27 2MB
pykakasi-0.2-py3.4.egg (md5) Python Egg 3.4 2014-04-27 2MB
pykakasi-0.2.tar.gz (md5) Source 2014-04-27 993KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 217 downloads in the last week
  • 1193 downloads in the last month