BosonNLP HTTP API 封装库(SDK)。
安装
bosonnlp 代码托管在 GitHub,并且已经发布到 PyPI,可以直接通过 pip 安装:
$ pip install bosonnlp
bosonnlp 以 MIT 协议发布。
使用教程
>>> from bosonnlp import BosonNLP
>>> nlp = BosonNLP('YOUR_API_TOKEN')
>>> nlp.sentiment('这家味道还不错')
[[0.8758192096636473, 0.12418079033635264]]
SDK API 文档地址:http://bosonnlp-py.readthedocs.org/
可以在 BosonNLP 文档站点阅读详细的 BosonNLP HTTP API 文档。
Metadata
Release files for bosonnlp 0.11.1
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 | |
|---|---|---|---|---|
| bosonnlp-0.11.1.tar.gz | 11.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bosonnlp-0.11.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 23.5 kB
Release files / bosonnlp-0.11.1.tar.gz
| Download URL | bosonnlp-0.11.1.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
818e9907294b516fa5c57c2db8eeca31afd8a2ce6f186b93f228ca963f1909b0
|
|
BLAKE2b-256 checksum How to use checksums |
3a8346369bc77ff33784fc9747ae1fe46ac38d94dc4cfe885c74eb12824cb6ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3
|
Release files / bosonnlp-0.11.1-py2.py3-none-any.whl
| Download URL | bosonnlp-0.11.1-py2.py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3c3adc80d24cd035f4d50db145715088e5ab9fe2d0d85e280f6774f9a520fbe2
|
|
BLAKE2b-256 checksum How to use checksums |
63b65da230acd1a89709b77187e54f14d70de33511a606f78bec0621552a5671
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3
|
Security for bosonnlp 0.11.1
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.