Observed since 20 Oct, 16:33 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
a2pcej, convert Alphabet to Phonetic Code in English and Japanese.
a2pcej, convert Alphabet to Phonetic Code in English and Japanese.
This module convert each alphabet letters to phonetic code, and also convert each alphabet letters to katakana.
letters is string.
def conv_al(letters, delimiter='-', sign='(CAPS)', num=False):
return str
letters is string.
def conv_ak(letters, delimiter='・', sign='(大文字)', num=False):
return str
First of all, import module.
>>> from a2pcej import *
Convert 'examples' to Phonetic code in English.
>>> conv_al('examples')
'Echo-Xray-Alfa-Mike-Papa-Lima-Echo-Sierra'
Convert 'examples' to Phonetic code in Japanese Katakana.
>>> conv_ak('examples')
'イー・エクス・エイ・エム・ピー・エル・イー・エス'
Non alphabet letters are not convert (default).
Upper case letters has (CAPS) or (大文字) sign (default).
>>> conv_al('Examples002')
'Echo(CAPS)-Xray-Alfa-Mike-Papa-Lima-Echo-Sierra-0-0-2'
>>> conv_ak('Examples002')
'イー(大文字)・エクス・エイ・エム・ピー・エル・イー・エス・0・0・2'
You can change delimiter and Upper case letters sign.
>>> conv_al('Examples003', delimiter=', ', sign='(CAPITAL)')
'Echo(CAPITAL), Xray, Alfa, Mike, Papa, Lima, Echo, Sierra, 0, 0, 3'
>>> conv_ak('Examples003', delimiter='/', sign='(大)')
'イー(大)/エクス/エイ/エム/ピー/エル/イー/エス/0/0/3'
If you would like to convert numbers to phonetic code, set num=True.
>>> conv_al('Examples004', num=True)
'Echo(CAPS)-Xray-Alfa-Mike-Papa-Lima-Echo-Sierra-zero-zero-four'
>>> conv_ak('Examples004', num=True)
'イー(大文字)・エクス・エイ・エム・ピー・エル・イー・エス・ゼロ・ゼロ・ヨン'
# Clone the repository
git clone https://github.com/kacchan822/a2pcej.git
cd a2pcej
# Install in development mode
pip install -e .[dev]
# Run tests
pytest tests/ -v
# Format code
black .
isort .
# Lint code
flake8 .
This project uses automated releases via GitHub Actions. To create a new release:
git tag v1.0.0 # Replace with your version
git push origin v1.0.0
To enable automatic PyPI publishing, you need to set up authentication:
PYPI_API_TOKEN in GitHub repository secretsFor more details, see the PyPI documentation on Trusted Publishing.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.4 | 20 Aug 2025 | 8 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 16:33 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:ea4da7f5daeb3d8f9b847eb90222a6e04f26590ce2a19a48b83a9acecb5ee2e8