SIMQ客户端。SIMQ是一款基于redis的消息队列接口服务。
Project description
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
- 版本首发。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simqclient-0.1.0.tar.gz
(7.9 kB
view details)
Built Distribution
File details
Details for the file simqclient-0.1.0.tar.gz
.
File metadata
- Download URL: simqclient-0.1.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659116fafd9288d8ddfcd8d7aa6df64f1e3bee4da9b12fc6043bf5579a4981ca |
|
MD5 | 9f674bab0c747f2a4a15d66973cc0fb5 |
|
BLAKE2b-256 | d1d76e208f2e6a4eb74a5815da96f7be00662aa2c38359ab3522ec3c11af0f7f |
File details
Details for the file simqclient-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: simqclient-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bdbc79917610f71393a9843c6c8494b574c2f1ba76098765563a6c8cc73a8ee |
|
MD5 | 9f2d12c518cc4c99715bd3381ab452f3 |
|
BLAKE2b-256 | c775e66f0a6193e4b4255a19296b6ea3c54c992255b06d9cf56ae17b906cb32b |