Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

jcconv "JapaneseCharacterCONVerter", interconvert hiragana, katakana, halfwidth kana

Project Description

jcconv, Japanese Characters CONVerter, interconvert hiragana, katakana, half-width kana. This module also treat ‘half/wide number’, ‘half/wide alphabet’.

Since 0.2.0, check_hira, check_kata, check_half functions were added. you can check if string consists of characters you specified.

IMPOTANT: In current version, this works only with utf-8 encoding.

Simple example of usage is followings

>>> from jcconv import *
>>> print hira2kata('あいうえお')   # hiragana to katakana
>>> print kata2hira('カタカナ')     # katakana to hiragana
>>> print half2hira('ハンカクカタカナ')      # half-width kana to hiragana
>>> print half2wide('hello jcconv') # half-width alphabet to wide-width
hello jcconv
>>> print wide2half('WIDE')     # wide-width alphabet to half-width

Release History

This version
History Node


Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting