LiangZhiNLP Python SDK
LiangZhi HTTP API 封装库(SDK)
开发模式安装
修改代码之后不用重新安装,立即可用最新的代码,在 setup.py 的同级目录下运行以下命令
$ python setup.py develop
打包
现在在 setup.py 的同级目录下运行以下命令,dist 目录下会生成相应文件
$ python setup.py sdist bdist_wheel
依赖
根据 requirements.txt 安装依赖包
$ pip install -r requirements.txt
测试
进行单元测试的命令如下,-v -s 参数是为了在控制台输出更多的打印信息
$ nosetests -v -s lznlp/tests/test_lznlp.py
文档
参考
Metadata
Release files for lznlp 0.1.4
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 |
|---|---|---|---|---|
| lznlp-0.1.4.tar.gz | 13.9 kB | Without provenance | Details for lznlp-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lznlp-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for lznlp-0.1.4-py3-none-any.whl |
Total release size: 29.7 kB
Release files / lznlp-0.1.4.tar.gz
| Download URL | lznlp-0.1.4.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63a390eae9ba60de6d3705c4670efe7ada841558011d110f153c79a3a509fa36
|
|
BLAKE2b-256 checksum How to use checksums |
eb3749a598ad3fa6c111b305ed1de93bf56b9853becc86dbd6b42a474b3d2e87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Release files / lznlp-0.1.4-py3-none-any.whl
| Download URL | lznlp-0.1.4-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46f45eb6fcd834eac198226d9a1c279800add6bc0e6c23ebdb2af74f7bf18da0
|
|
BLAKE2b-256 checksum How to use checksums |
f0ccc85b885e05f4b74bd6899388d7b320dd9a2df29acaf1fed799b44f2ca327
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Security for lznlp 0.1.4
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.