pinyin-tone-converter
Python library to convert pinyin with numbers to tone with marks. This library is based on https://github.com/chanind/pinyin-tone-converter
Install
pip install pinyin-tone-converter
How to use
from pinyin_tone_converter.pinyin_tone_converter import PinyinToneConverter
PinyinToneConverter().convert_text("lu4")
"lù"
Examples can be seen in tests.
Metadata
Release files for pinyin-tone-converter 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pinyin-tone-converter-1.0.2.tar.gz | 14.2 kB | Without provenance | Details for pinyin-tone-converter-1.0.2.tar.gz |
Release files / pinyin-tone-converter-1.0.2.tar.gz
| Download URL | pinyin-tone-converter-1.0.2.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f4aaaf44513f376381cc53368afab2038a3f1412e2d0ab1d95c302af58027dc
|
|
BLAKE2b-256 checksum How to use checksums |
cdf6c8f86263a9c2efd339618f225f1a4371e5275f6f14d18271d65f2a734ea0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for pinyin-tone-converter 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.