Skip to main content

LiangZhiNLP API wrapper

Project description

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

文档

参考

Project details


Download files

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

Source Distribution

lznlp-0.1.4.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

lznlp-0.1.4-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file lznlp-0.1.4.tar.gz.

File metadata

  • Download URL: lznlp-0.1.4.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for lznlp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 63a390eae9ba60de6d3705c4670efe7ada841558011d110f153c79a3a509fa36
MD5 ec6db11927e72182139211c1f8da608b
BLAKE2b-256 eb3749a598ad3fa6c111b305ed1de93bf56b9853becc86dbd6b42a474b3d2e87

See more details on using hashes here.

File details

Details for the file lznlp-0.1.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for lznlp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 46f45eb6fcd834eac198226d9a1c279800add6bc0e6c23ebdb2af74f7bf18da0
MD5 08cb9a724b074a8a297a95b9f59be5ed
BLAKE2b-256 f0ccc85b885e05f4b74bd6899388d7b320dd9a2df29acaf1fed799b44f2ca327

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page