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.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

jcconv-0.1.1-py2.5.egg (7.8 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for jcconv-0.1.1.tar.gz
Algorithm Hash digest
SHA256 30b44734443e09b38b85a098171ea2659f56f0fd6068cb45f7f0ec24fd275855
MD5 f4e9e423661d4e3928ff0863980b778d
BLAKE2b-256 6b1df7212d829981cecccf248f55fd0934a7f1ede2a57eeafdc9d837ed92477a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jcconv-0.1.1-py2.5.egg
Algorithm Hash digest
SHA256 5ad938f45840ab665f1a56964e464e76de72e625b30133d4753256b8304624ac
MD5 ec5c8d66701766a4c5cfadf225bdbcd3
BLAKE2b-256 a2ec849a3dd2fe317b137deba96d912503d36948ae7672720e6b1d84cf1380c5

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