simqclient
SIMQ客户端。SIMQ是一款基于redis的消息队列接口服务。
安装
pip install simqclient
客户端实例化参数
- base_url: SIMQ服务地址。必填。
- api_key: SIMQ服务认证。与SIMQ服务器保持一致。
- worker: 客户端识别码。默认为:主机名-进程号-线程号。
- api_key_header: SIMQ服务认证请求头。与SIMQ及其代理服务设置保持一致。默认为apikey,一般不设置。
- headers: 额外的请求头,需要根据代理服务器的需求进行设置。一般不设置。
服务实例化参数
- execute_timeout: 结果超时时间。默认为5秒。如果是长时间任务,建议使用异步调用。
版本
0.1.0
- 版本首发。
Release files for simqclient 0.1.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 | |
|---|---|---|---|
| simqclient-0.1.0.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simqclient-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.4 kB
Release files / simqclient-0.1.0.tar.gz
| Download URL | simqclient-0.1.0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
659116fafd9288d8ddfcd8d7aa6df64f1e3bee4da9b12fc6043bf5579a4981ca
|
|
BLAKE2b-256 checksum How to use checksums |
d1d76e208f2e6a4eb74a5815da96f7be00662aa2c38359ab3522ec3c11af0f7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / simqclient-0.1.0-py3-none-any.whl
| Download URL | simqclient-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bdbc79917610f71393a9843c6c8494b574c2f1ba76098765563a6c8cc73a8ee
|
|
BLAKE2b-256 checksum How to use checksums |
c775e66f0a6193e4b4255a19296b6ea3c54c992255b06d9cf56ae17b906cb32b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|