pip install wanakana
from wanakana import hiragana
hiragana.is_hiragana("げーむ")
or
from wanakana.hiragana import is_hiragana
is_hiragana("げーむ")
See original WanaKana docs as the functions are near identical.
is_japanese("泣き虫。!〜2¥zenkaku")
// => true
is_kana("あーア")
// => true
is_hiragana("げーむ")
// => true
is_katakana("ゲーム")
// => true
is_kanji("切腹")
// => true
is_romaji("Tōkyō and Ōsaka")
// => true
A partial port of WanaKana
Source files of this project are available under the MIT License. See LICENSE