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.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)

Uploaded Source

Built Distribution

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

simqcore-0.2.2-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

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

Hashes for simqcore-0.2.2.tar.gz
Algorithm Hash digest
SHA256 6f30f3a0f79ae5297822c11b099af0a6206d980b2e4f41d6d2b04447984e3326
MD5 5d79dc71baa4df0ded26a635f70908fe
BLAKE2b-256 0bb5fa0121789ce28cf14547a6ed2a6265d4a7919a6fff7b70c0425ac388a36b

See more details on using hashes here.

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

Hashes for simqcore-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 040efffeb8b0872b60d1a8585c9932feab1fffb4c87a579a0611240a182e59d4
MD5 4b796410e5a7ae35ad17e6fe838d0d31
BLAKE2b-256 32d7623e14ae25412f066899411c0477a24b002ba61160b4dc27c3ef46b41b68

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