caiyun-tr
caiyun-tr
Install it
pip install caiyun-tr --upgrade
# pip install git+https://github.com/ffreemt/caiyun-tr
# poetry add git+https://github.com/ffreemt/caiyun-tr
# git clone https://github.com/ffreemt/caiyun-tr && cd caiyun-tr
Use it
from caiyun_tr import caiyun_tr
print(caiyun_tr("test this"))
# 试试这个
# only certain pairs are valid, en/ja is not valid
print(caiyun_tr("test this", from_lang="en", to_lang="ja"))
# Exception: Unsupported trans_type (language pair)
# zh/ja is valid
print(caiyun_tr("test this", from_lang="zh", to_lang="ja"))
# テストして
print(caiyun_tr("テストして", 'ja', "zh"))
# 测试一下
Only certain from_lang/to_lang pairs are supported by the website. There is nothing we can do about it.
If the caiyun website changes, this package will likely no longer work. If you feedback, the dev will try to fix it -- there is no guarantee thou.
Metadata
Release files for caiyun-tr 0.1.1
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 |
|---|---|---|---|---|
| caiyun-tr-0.1.1.tar.gz | 5.5 kB | Without provenance | Details for caiyun-tr-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| caiyun_tr-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for caiyun_tr-0.1.1-py3-none-any.whl |
Total release size: 11.1 kB
Release files / caiyun-tr-0.1.1.tar.gz
| Download URL | caiyun-tr-0.1.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25a1151a3612bd570826f7964b800f3e48d9544585384a210a51742e6574a35a
|
|
BLAKE2b-256 checksum How to use checksums |
d18edb3853eaae572e4a71dc3aa676a60668ada4115d42eae191e623f55f6d24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.8.10 Windows/10
|
Release files / caiyun_tr-0.1.1-py3-none-any.whl
| Download URL | caiyun_tr-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad03cf96dffa2a6c4470231cec276f5593e870034cf3ec657e8496447190bf64
|
|
BLAKE2b-256 checksum How to use checksums |
971ba7b7cae6d452333ca39187dee455f620a74944f76779d8562aaa2c606359
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.8.10 Windows/10
|
Security for caiyun-tr 0.1.1
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.