基于redis的消息队列。
Project description
simqcore
基于redis的消息队列。
特性
- 支持消息的队尾插入(FIFO),也可视为普通消息。
- 支持消息的队首插入(FILO),也可视为高优先级消息。
- 支持消息的消费确认。
- 支持超时未确认消息的自动回收。
- 支持消息超时策略的设定。
- 支持多通道。
- 支持未执行消息的取消。
- 支持执行器在获取消息后主动释放消息。
- 消息体使用yaml进行序列化,支持datetime、bytes等类型数值。
安装
pip install simqcore
注意
- 如果使用
db(即redis实例)构建的SimQ实例,可能存在非线程安全问题。 - 在多线程中使用,建议使用
connection_pool来构建SimQ实例。
版本
0.1.0
- 版本首发。
0.2.0
- 添加asyncio支持。
0.2.2
- 文档更新。
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simqcore-0.2.2.tar.gz
(12.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
simqcore-0.2.2-py3-none-any.whl
(15.3 kB
view details)
File details
Details for the file simqcore-0.2.2.tar.gz.
File metadata
- Download URL: simqcore-0.2.2.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f30f3a0f79ae5297822c11b099af0a6206d980b2e4f41d6d2b04447984e3326
|
|
| MD5 |
5d79dc71baa4df0ded26a635f70908fe
|
|
| BLAKE2b-256 |
0bb5fa0121789ce28cf14547a6ed2a6265d4a7919a6fff7b70c0425ac388a36b
|
File details
Details for the file simqcore-0.2.2-py3-none-any.whl.
File metadata
- Download URL: simqcore-0.2.2-py3-none-any.whl
- Upload date:
- Size: 15.3 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 |
040efffeb8b0872b60d1a8585c9932feab1fffb4c87a579a0611240a182e59d4
|
|
| MD5 |
4b796410e5a7ae35ad17e6fe838d0d31
|
|
| BLAKE2b-256 |
32d7623e14ae25412f066899411c0477a24b002ba61160b4dc27c3ef46b41b68
|