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

Uploaded Source

Built Distribution

jcconv-0.1.2-py2.5.egg (15.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for jcconv-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b3921888ae2df124f57e538383ace21cef00180c8e03c2cb1650d8dfd591c7ef
MD5 9e3497fd0329630fd9b1205df5d684ae
BLAKE2b-256 d617581e9e027a5e1a49232417ba33aa857f7261a382aba673ef30d783768752

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jcconv-0.1.2-py2.5.egg
Algorithm Hash digest
SHA256 d64ea5baa414db5429aa26c952edf84296608cff650c4606b4ced11a80c7005a
MD5 164d1c1a9ce0a85ed9b164f1bccec012
BLAKE2b-256 0b3b0d1d9dc6fc1a122a654dd4e11947ac6ea01057b526d8e50422cfa833e42e

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