A Python package to get any kind of pinyin of Chinese characters.
Project description
Lavender-Pinyin
A Python package for obtaining various pinyin representations of Chinese characters.
Quick Start
Install the package with pip:
pip install Lavender-Pinyin
Import it in your Python scripts:
from lavender_pinyin import *
Functions
| Usage | Description |
|---|---|
pinyin_list(cc, style_name="normal") |
Returns a list of all possible pinyin pronunciations for the given Chinese character cc. You can specify the pinyin style by setting style_name (default: "normal"). |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lavender_pinyin-0.0.3.tar.gz
(1.1 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lavender_pinyin-0.0.3.tar.gz.
File metadata
- Download URL: lavender_pinyin-0.0.3.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4de6597fbbd2fa39ae0593fc191596d63b526b1835942bdead4ab0a872312cb
|
|
| MD5 |
fca72d7a41904c6d23908c4203627f27
|
|
| BLAKE2b-256 |
385a6b62963c073454cb355fda433cccc4ec501d6dbbd6be26f9a7247f012efa
|
File details
Details for the file lavender_pinyin-0.0.3-py3-none-any.whl.
File metadata
- Download URL: lavender_pinyin-0.0.3-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8ee3cefa59e4e39b39dee7305f91163ce11c622938008169ac936604f11af76
|
|
| MD5 |
8b19086882b05b5bab88b334dc4d714d
|
|
| BLAKE2b-256 |
6df2417651c98f4f05dfad476429605223afbc62ec9bab3236145e9a2c9ef718
|