Metadata-Version: 2.1
Name: jcconv
Version: 0.2.4
Summary: jcconv "JapaneseCharacterCONVerter", interconvert hiragana, katakana, halfwidth kana
Home-page: http://github.com/taichino/jcconv
Author: Matsumoto Taichi
Author-email: taichino@gmail.com
License: MIT License
Keywords: japanese converter,hiragana,katakana,half-width kana
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Libraries :: Python Modules
License-File: LICENSE.txt
Requires-Dist: six

*************************************
jcconv, Japanese Characters CONVerter
*************************************

.. image:: https://travis-ci.org/taichino/jcconv.svg :target: https://travis-ci.org/taichino/jcconv
.. image:: https://coveralls.io/repos/taichino/jcconv/badge.svg?service=github :target: https://coveralls.io/github/taichino/jcconv

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

.. code-block:: python

    >>> 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
    ｈｅｌｌｏ ｊｃｃｏｎｖ
    >>> print wide2half('ＷＩＤＥ')     # wide-width alphabet to half-width
    wide
