Skip to main content

SUO

Pypi MIT License stars

🐢 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 缩写

  1. 获得缩写

    from suo import suo
    
    result = suo("阿伟死了")
    print(result)
    # "awsl"
    

3.2 扩写

  1. 获得扩写

    from suo import kuo
    
    result = kuo("awsl")
    print(result)
    # "阿伟死了"
    
  2. 获得所有可能的扩写

    from suo import kuo
    
    result = kuo("awsl", show_all=True)
    print(result)
    # ["阿伟死了", "啊我死了']
    

4 许可

5 参考

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

suo-0.0.5.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

suo-0.0.5-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file suo-0.0.5.tar.gz.

File metadata

  • Download URL: suo-0.0.5.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for suo-0.0.5.tar.gz
Algorithm Hash digest
SHA256 770d1debf9d2f665107cb17034c962909fadafeb01873f936a257ac0f58860ad
MD5 3a49e3f4f5e8fb31ca03c182f3e0a13d
BLAKE2b-256 b1a1812ce8eda36a805ed43284f27324d169159ca1bcc2e28a5f1a5aa5354302

See more details on using hashes here.

File details

Details for the file suo-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: suo-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for suo-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8a1d4c4ac56d5fcaae50dd24b178acf1d8c2d2dce604dc2a40ae2c14bb7a847f
MD5 a5da34598644ad48d82f85cd8b820efe
BLAKE2b-256 8137fca7a7638d4edca7f202549afd33d735aa6316abb4019704cca3caecd403

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 files

0.0.4

2 files

0.0.3

1 file

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page