Skip to main content

Convert English alphabet to Katakana

Project description

alphabet2kana

Convert English alphabet to Katakana

アルファベットの日本語表記は Unidic英語アルファベット - Wikipedia を参考にしています。

特に、Zゼット 表記です。

Installation

pip install alphabet2kana

Usage

from alphabet2kana import a2k

a2k("ABC")
# "エービーシー"

a2k("Alphabetと日本語")
# "エーエルピーエイチエービーイーティーと日本語"

a2k("Alphabetと日本語", delimiter="・")
# "エー・エル・ピー・エイチ・エー・ビー・イー・ティーと日本語"

a2k('k8s', delimiter='・', numeral=True)
# "ケー・エイト・エス"

半角にのみ対応しています。 全角アルファベットは mojimojijaconv などで半角に変換してください。

Only supported with half-width characters.

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

alphabet2kana-0.1.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

alphabet2kana-0.1.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file alphabet2kana-0.1.4.tar.gz.

File metadata

  • Download URL: alphabet2kana-0.1.4.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.7.3 Darwin/20.5.0

File hashes

Hashes for alphabet2kana-0.1.4.tar.gz
Algorithm Hash digest
SHA256 03690f90b5a340d8b1b6843206f4584b89d662f85a4849227d01ec5e3044fd6f
MD5 7acc2afe1a04a3f2cfa5a4d8c867a655
BLAKE2b-256 103d9e42f859a749024771412b80cb360856b7d551c102663ab13c073dc6d2db

See more details on using hashes here.

File details

Details for the file alphabet2kana-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: alphabet2kana-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.7.3 Darwin/20.5.0

File hashes

Hashes for alphabet2kana-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3af98500c64325ca44f16c31a8cba69db892df851d6e9e18b98d4846c33c59ef
MD5 872160b41dbe0945cb77c022314b0665
BLAKE2b-256 f90cf96a0c4c30a49633b73b3a78ff7584bb38258298565085ae0dde25e44893

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