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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: alphabet2kana-0.1.7.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.6 Linux/6.11.0-1018-azure

File hashes

Hashes for alphabet2kana-0.1.7.tar.gz
Algorithm Hash digest
SHA256 5fa9899715d254fbe4b9f3e2a66bba0102a9dfc4ed3dffb7910b9afbfe0ae184
MD5 c202aa59709a2e999f7e99491b79a645
BLAKE2b-256 dbecb5731fb09ca0a82e3449bbc22ad3839d8405fe1032c441a79bbafbfceb14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alphabet2kana-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.6 Linux/6.11.0-1018-azure

File hashes

Hashes for alphabet2kana-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 72330ab03821b6274577a403ddfcfc1f91138f65b08fdf9b5dc153d56b9d0b5b
MD5 b5482a393651c6c391246121e94200e1
BLAKE2b-256 322aee726eb973d42e1dc092d3bcf1df6ce88b0e244fcaca323ae6f63e2cc754

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page