Skip to main content

No project description provided

Project description

pyboin

PyPi MIT License

pyboin is Pure-Python Japanese character interconverter for Hiragana and Vowel.

「こんにちは」 -> 「おんいいあ」

Requirement

  • Python3

Usage

import pyboin

# Argument 'cv' may be omitted.
# Specify katakana or hiragana as the first argument.
pyboin.text2boin('こんにちは', cv='katakana')
# => 'オンイイア'

pyboin.text2boin('こんにちは', cv='hiragana')
# => 'おんいいあ'

pyboin.convert_vowel('ス', 'ア')
# => 'サ'
pyboin.convert_vowel('カ', 'オ')
# => 'コ'

pyboin.romanize('a', 's')
# => 'サ'

Installation

$ pip install pyboin

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/AjxLab/pyboin.

Author

  • Tatsuya Abe
  • '''abe12mccc.jp'''

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

pyboin-0.4.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

pyboin-0.4.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

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