Skip to main content
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

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

Metadata

Release files for jcconv 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jcconv 0.2.3
File Size Uploaded
jcconv-0.2.3.tar.gz 4.9 kB Details

Release files / jcconv-0.2.3.tar.gz

Download URL jcconv-0.2.3.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e3bd59d3fb129b952f84c66e6187abddb88cc7c2b3c83b12685a3256fd3b5e54
BLAKE2b-256 checksum
How to use checksums
dd5b55d6dd385e8584c6750864ddec8d5ff82a295b37ac68344febc9e923bf99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.3 This release

1 release file

0.2.2

2 release files

0.2.1

1 release file

0.2.0

1 release file

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page