Metadata-Version: 2.1
Name: simqcore
Version: 0.2.2
Summary: 基于redis的消息队列。
Author: rRR0VrFP
Maintainer: rRR0VrFP
License: Apache License, Version 2.0
Keywords: simq,simqcore,Redis-Based-MQ
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Description-Content-Type: text/markdown
License-File: LICENSE

# simqcore

基于redis的消息队列。

## 特性

- 支持消息的队尾插入（FIFO），也可视为普通消息。
- 支持消息的队首插入（FILO），也可视为高优先级消息。
- 支持消息的消费确认。
- 支持超时未确认消息的自动回收。
- 支持消息超时策略的设定。
- 支持多通道。
- 支持未执行消息的取消。
- 支持执行器在获取消息后主动释放消息。
- 消息体使用yaml进行序列化，支持datetime、bytes等类型数值。

## 安装

```shell
pip install simqcore
```

## 注意

- 如果使用`db`（即redis实例）构建的SimQ实例，可能存在非线程安全问题。
- 在多线程中使用，建议使用`connection_pool`来构建SimQ实例。

## 版本

### 0.1.0

- 版本首发。

### 0.2.0

- 添加asyncio支持。

### 0.2.2

- 文档更新。

