SUO
🐢 suo 是一个「中英文缩写转化」的工具包。
1 功能
- suo.suo: 缩写
- suo.kuo: 扩写
2 安装
⚠️注意:
仅支持 Python 的 3.6 以上版本;
2.1 使用 pip 安装
pip install suo
2.2 从代码库安装
git clone https://github.com/Ailln/suo.git
cd suo && python setup.py install
3 使用
3.1 缩写
-
获得缩写
from suo import suo result = suo("阿伟死了") print(result) # "awsl"
3.2 扩写
-
获得扩写
from suo import kuo result = kuo("awsl") print(result) # "阿伟死了"
-
获得所有可能的扩写
from suo import kuo result = kuo("awsl", show_all=True) print(result) # ["阿伟死了", "啊我死了']
4 许可
5 参考
Metadata
Release files for suo 0.0.5
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 |
|---|---|---|---|---|
| suo-0.0.5.tar.gz | 3.7 kB | Without provenance | Details for suo-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| suo-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for suo-0.0.5-py3-none-any.whl |
Total release size: 8.8 kB
Release files / suo-0.0.5.tar.gz
| Download URL | suo-0.0.5.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
770d1debf9d2f665107cb17034c962909fadafeb01873f936a257ac0f58860ad
|
|
BLAKE2b-256 checksum How to use checksums |
b1a1812ce8eda36a805ed43284f27324d169159ca1bcc2e28a5f1a5aa5354302
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.1 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / suo-0.0.5-py3-none-any.whl
| Download URL | suo-0.0.5-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a1d4c4ac56d5fcaae50dd24b178acf1d8c2d2dce604dc2a40ae2c14bb7a847f
|
|
BLAKE2b-256 checksum How to use checksums |
8137fca7a7638d4edca7f202549afd33d735aa6316abb4019704cca3caecd403
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.1 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for suo 0.0.5
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.