# simqclient
SIMQ客户端。SIMQ是一款基于redis的消息队列接口服务。
## 安装
```shell
pip install simqclient
```
## 客户端实例化参数
- base_url: SIMQ服务地址。必填。
- api_key: SIMQ服务认证。与SIMQ服务器保持一致。
- worker: 客户端识别码。默认为:主机名-进程号-线程号。
- api_key_header: SIMQ服务认证请求头。与SIMQ及其代理服务设置保持一致。默认为apikey,一般不设置。
- headers: 额外的请求头,需要根据代理服务器的需求进行设置。一般不设置。
## 服务实例化参数
- execute_timeout: 结果超时时间。默认为5秒。如果是长时间任务,建议使用异步调用。
## 版本
### 0.1.0
- 版本首发。
Raw data
{
"_id": null,
"home_page": null,
"name": "simqclient",
"maintainer": "Chen Han",
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "simq",
"author": "Chen Han",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/d1/d7/6e208f2e6a4eb74a5815da96f7be00662aa2c38359ab3522ec3c11af0f7f/simqclient-0.1.0.tar.gz",
"platform": null,
"description": "# simqclient\r\n\r\nSIMQ\u5ba2\u6237\u7aef\u3002SIMQ\u662f\u4e00\u6b3e\u57fa\u4e8eredis\u7684\u6d88\u606f\u961f\u5217\u63a5\u53e3\u670d\u52a1\u3002\r\n\r\n## \u5b89\u88c5\r\n\r\n```shell\r\npip install simqclient\r\n```\r\n\r\n## \u5ba2\u6237\u7aef\u5b9e\u4f8b\u5316\u53c2\u6570\r\n\r\n- base_url: SIMQ\u670d\u52a1\u5730\u5740\u3002\u5fc5\u586b\u3002\r\n- api_key: SIMQ\u670d\u52a1\u8ba4\u8bc1\u3002\u4e0eSIMQ\u670d\u52a1\u5668\u4fdd\u6301\u4e00\u81f4\u3002\r\n- worker: \u5ba2\u6237\u7aef\u8bc6\u522b\u7801\u3002\u9ed8\u8ba4\u4e3a\uff1a\u4e3b\u673a\u540d-\u8fdb\u7a0b\u53f7-\u7ebf\u7a0b\u53f7\u3002\r\n- api_key_header: SIMQ\u670d\u52a1\u8ba4\u8bc1\u8bf7\u6c42\u5934\u3002\u4e0eSIMQ\u53ca\u5176\u4ee3\u7406\u670d\u52a1\u8bbe\u7f6e\u4fdd\u6301\u4e00\u81f4\u3002\u9ed8\u8ba4\u4e3aapikey\uff0c\u4e00\u822c\u4e0d\u8bbe\u7f6e\u3002\r\n- headers: \u989d\u5916\u7684\u8bf7\u6c42\u5934\uff0c\u9700\u8981\u6839\u636e\u4ee3\u7406\u670d\u52a1\u5668\u7684\u9700\u6c42\u8fdb\u884c\u8bbe\u7f6e\u3002\u4e00\u822c\u4e0d\u8bbe\u7f6e\u3002\r\n\r\n## \u670d\u52a1\u5b9e\u4f8b\u5316\u53c2\u6570\r\n\r\n- execute_timeout: \u7ed3\u679c\u8d85\u65f6\u65f6\u95f4\u3002\u9ed8\u8ba4\u4e3a5\u79d2\u3002\u5982\u679c\u662f\u957f\u65f6\u95f4\u4efb\u52a1\uff0c\u5efa\u8bae\u4f7f\u7528\u5f02\u6b65\u8c03\u7528\u3002\r\n\r\n## \u7248\u672c\r\n\r\n### 0.1.0\r\n\r\n- \u7248\u672c\u9996\u53d1\u3002\r\n",
"bugtrack_url": null,
"license": "Apache License, Version 2.0",
"summary": "SIMQ\u5ba2\u6237\u7aef\u3002SIMQ\u662f\u4e00\u6b3e\u57fa\u4e8eredis\u7684\u6d88\u606f\u961f\u5217\u63a5\u53e3\u670d\u52a1\u3002",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [
"simq"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c775e66f0a6193e4b4255a19296b6ea3c54c992255b06d9cf56ae17b906cb32b",
"md5": "9f2d12c518cc4c99715bd3381ab452f3",
"sha256": "1bdbc79917610f71393a9843c6c8494b574c2f1ba76098765563a6c8cc73a8ee"
},
"downloads": -1,
"filename": "simqclient-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9f2d12c518cc4c99715bd3381ab452f3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8450,
"upload_time": "2024-10-18T07:20:59",
"upload_time_iso_8601": "2024-10-18T07:20:59.008204Z",
"url": "https://files.pythonhosted.org/packages/c7/75/e66f0a6193e4b4255a19296b6ea3c54c992255b06d9cf56ae17b906cb32b/simqclient-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d1d76e208f2e6a4eb74a5815da96f7be00662aa2c38359ab3522ec3c11af0f7f",
"md5": "9f674bab0c747f2a4a15d66973cc0fb5",
"sha256": "659116fafd9288d8ddfcd8d7aa6df64f1e3bee4da9b12fc6043bf5579a4981ca"
},
"downloads": -1,
"filename": "simqclient-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "9f674bab0c747f2a4a15d66973cc0fb5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7923,
"upload_time": "2024-10-18T07:21:00",
"upload_time_iso_8601": "2024-10-18T07:21:00.879914Z",
"url": "https://files.pythonhosted.org/packages/d1/d7/6e208f2e6a4eb74a5815da96f7be00662aa2c38359ab3522ec3c11af0f7f/simqclient-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-18 07:21:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "simqclient"
}