Skip to main content

基于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.1

  • 添加使用redis connection pool来实例化SimQ对象。

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.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simqcore-0.2.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file simqcore-0.2.1.tar.gz.

File metadata

  • Download URL: simqcore-0.2.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for simqcore-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1f29f50ae411918ca3a6762852c7f13b2d1ce3096974c81d47d0a270ed851aef
MD5 4507aeca6efeda9903176caead74b8ff
BLAKE2b-256 bdc52159a0692d6acec30388b9abd0a20835ed3aa8b063f8f1966e6bc3f0fb7a

See more details on using hashes here.

File details

Details for the file simqcore-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: simqcore-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for simqcore-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ef9f1e956f6c2ced5df368c51fcbdda2d94dfdf1b9b012fcd6ac4a3527a3f73
MD5 4f12e8e786315e79af8f9dff102c9579
BLAKE2b-256 6b8bc17deef8b9b13ec69d8fd957bd2f175cea06d18c6b748a3cbf8f44db2d47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page