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

Uploaded Source

Built Distribution

jcconv-0.1.3-py2.5.egg (9.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for jcconv-0.1.3.tar.gz
Algorithm Hash digest
SHA256 30f1d1ae5096a3de7b452adbe17e0c343592678e681ac8c72866e9cf232acc50
MD5 e1857340778c7a76306e4b5cd4e417b6
BLAKE2b-256 e5ac3065602f4a4e5b9ba05f8fb643c31bab209be93f4dadcfc508151b065c99

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jcconv-0.1.3-py2.5.egg
Algorithm Hash digest
SHA256 55260e42cdba4e9a5f9c2c10a4b95295b4b921a9e4eb64bce514c5e76fae62fd
MD5 bff376683569c642de6c2eb6ef6b5be8
BLAKE2b-256 7f306f34a0fe71981696060cf458332afdee15907859f8594b2a2e3c2046fd4d

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