Skip to main content

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)
# "ケー・エイト・エス"

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

Only supported with half-width characters.

Metadata

Release files for alphabet2kana 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alphabet2kana 0.1.7
File Size Uploaded
alphabet2kana-0.1.7.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alphabet2kana 0.1.7
File Interpreter ABI Platform
alphabet2kana-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / alphabet2kana-0.1.7.tar.gz

Download URL alphabet2kana-0.1.7.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5fa9899715d254fbe4b9f3e2a66bba0102a9dfc4ed3dffb7910b9afbfe0ae184
BLAKE2b-256 checksum
How to use checksums
dbecb5731fb09ca0a82e3449bbc22ad3839d8405fe1032c441a79bbafbfceb14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.6 Linux/6.11.0-1018-azure

Release files / alphabet2kana-0.1.7-py3-none-any.whl

Download URL alphabet2kana-0.1.7-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72330ab03821b6274577a403ddfcfc1f91138f65b08fdf9b5dc153d56b9d0b5b
BLAKE2b-256 checksum
How to use checksums
322aee726eb973d42e1dc092d3bcf1df6ce88b0e244fcaca323ae6f63e2cc754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.6 Linux/6.11.0-1018-azure

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page