qcloudapi3
qcloudapi3是为了让Python3开发者能够在自己的代码里更快捷方便的使用腾讯云的API而开发的Python库。
Example
>>> from qcloudapi3 import QcloudApi
>>> _module = 'wenzhi'
>>> action = 'TextSentiment'
>>> config = {
>>> 'Region': 'gz',
>>> 'secretId': '123',
>>> 'secretKey': '000',
>>> 'method': 'post'
>>> }
>>> params = {
>>> "content": "所有人都很差劲。",
>>> }
>>> service = QcloudApi(_module, config)
>>> print('URL:\n' + service.generateUrl(action, params))
>>> print(service.call(action, params))
URL:
https://wenzhi.api.qcloud.com/v2/index.php
{"code":0,"message":"","codeDesc":"Success","positive":0.048611093312502,"negative":0.95138889551163}
Install
pip install qcloudapi3
Metadata
Release files for qcloudapi3 0.3.0
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 |
|---|---|---|---|---|
| qcloudapi3-0.3.0.tar.gz | 5.9 kB | Without provenance | Details for qcloudapi3-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qcloudapi3-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for qcloudapi3-0.3.0-py2.py3-none-any.whl |
Total release size: 16.7 kB
Release files / qcloudapi3-0.3.0.tar.gz
| Download URL | qcloudapi3-0.3.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24f821a14eaf9fdc772422796556f223903a918ad0215d288f9de478f78db982
|
|
BLAKE2b-256 checksum How to use checksums |
c15f793fef758ad67aeb2c29ac8f1b3beaf40444688c5d11e4d8617076efcabf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / qcloudapi3-0.3.0-py2.py3-none-any.whl
| Download URL | qcloudapi3-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2a5735347491dcd90678de5eeba54d81ffd8dc45faa84b0d13c621c39b1354a3
|
|
BLAKE2b-256 checksum How to use checksums |
8a1c87e4fe4835efebd0ae90867e2a266a4c44bcdd7cd12c3d577215912978d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for qcloudapi3 0.3.0
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.