Skip to main content

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’.

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
wide

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jcconv-0.1.6.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

jcconv-0.1.6-py2.5.egg (10.2 kB view details)

Uploaded Source

File details

Details for the file jcconv-0.1.6.tar.gz.

File metadata

  • Download URL: jcconv-0.1.6.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jcconv-0.1.6.tar.gz
Algorithm Hash digest
SHA256 e5cc90fd62fc3a8f2d15202326365a2a232708f1fe5c2c4f6b9f19194fddda3c
MD5 21576b0b9806be31a4b7646ad5a53cfb
BLAKE2b-256 a647b6e7161bf2de380234a1593c3b3b6f5202dcec11c70b756a6581f0a28c1d

See more details on using hashes here.

File details

Details for the file jcconv-0.1.6-py2.5.egg.

File metadata

  • Download URL: jcconv-0.1.6-py2.5.egg
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jcconv-0.1.6-py2.5.egg
Algorithm Hash digest
SHA256 bebc1e5a5284a47d951ab0679070de0db83ac2171ff1e31558053f0d6dd0bbea
MD5 6615c6c735494547c91aeeb4fa3b2c96
BLAKE2b-256 c8c724bed8b828d6810cc4ad339e01902d22cfa5e63c1bd6d781a828aff61245

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page