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.0.tar.gz (13.8 kB view hashes)

Uploaded Source

Built Distribution

lznlp-0.1.0-py3-none-any.whl (15.6 kB view hashes)

Uploaded Python 3

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