Skip to main content

Convert English alphabet to Katakana

Project description

alphabet2kana

PyPI - Version PyPI - Python Version

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

Uploaded Source

Built Distribution

alphabet2kana-0.1.6-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: alphabet2kana-0.1.6.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1012-azure

File hashes

Hashes for alphabet2kana-0.1.6.tar.gz
Algorithm Hash digest
SHA256 6aae246c1e0bce8ae8473aa8ffea25e1386dc82e4309f0a032f8b25119c65726
MD5 22a473e6c07c4d98cff3b2aa34f804c1
BLAKE2b-256 a421706d86aa3403bd9c9e90e24af9ddec3897704d31b820790775b9a6f0039d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alphabet2kana-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1012-azure

File hashes

Hashes for alphabet2kana-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 32c4a780ebda4a948cdbf458b2d016e8a2a2e6cc95f4b4c58e35c7ecb75ac20e
MD5 9f46311fd7ea6ea0117e4b220a5b043e
BLAKE2b-256 c63f091bd8a47ccc739bc4d5c559c695de0e94ad93d36c544a22c2e7cfb9d81f

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