A dead-simple hiragana and katakana romanization library
Project description
A dead-simple hiragana and katakana romanization library for Python 2.7 and 3.4+.
By default, romanization is performed according to ISO 3602 Strict (Nihon-shiki) with long vowels expanded (e.g., ou or oo instead of ô):
>>> from __future__ import unicode_literals
>>> import waapuro
>>> waapuro.romanize('とおりゃんせ')
'tooryanse'
Passing the hepburnish option replaces some of the individual kana romanizations with more Hepburn-like variants:
>>> waapuro.romanize('あいづち')
'aiduti'
>>> waapuro.romanize('あいづち', hepburnish=True)
'aizuchi'
To install, just use:
$ pip install waapuro
Report bugs and make feature requests on Waapuro’s GitHub project page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file waapuro-1.0.1.tar.gz.
File metadata
- Download URL: waapuro-1.0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
896023195907bdb7f9a6b6c61e23d2bd47e0df0d8d194ff465f35a4e7e7be79c
|
|
| MD5 |
d7c25e3ab4f2023436c59bc22ad33f13
|
|
| BLAKE2b-256 |
ccfa60824d03f3f4a4cab4eafc6f44d8e65ac8e352966188fd48de15a3df14aa
|
File details
Details for the file waapuro-1.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: waapuro-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e5659946605a42afc49150f2b73d4db03436259e9c07fd1a280e44010ab6495
|
|
| MD5 |
4b30f20359a7d2f681260498f11ed08b
|
|
| BLAKE2b-256 |
d15ddb897eca1f4afb05f4bdf75328184758a003f096283bec23ea45a6aef85e
|