Skip to main content

PlanQ

CI codecov PyPI Python versions License


PlanQ is a transport-agnostic async task queue for Python. Define a task once and run it over an in-memory, Redis, or SQS broker — the wire format is JSON-RPC 2.0, so producers and consumers stay decoupled from the transport.

Installation

pip install planq            # in-memory only
pip install "planq[redis]"   # Redis broker
pip install "planq[sqs]"     # AWS SQS broker

Example

from planq import Planq
from planq.providers.memory import InMemoryBroker

app = Planq(broker=InMemoryBroker())

@app.task()
async def greet(name: str, say: str = "hi") -> None:
    print(f"{say}, {name}!")

await greet.send("world")   # enqueue

License

Apache-2.0

Metadata

Release files for PlanQ 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PlanQ 0.3.1
File Size Uploaded
planq-0.3.1.tar.gz 64.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PlanQ 0.3.1
File Interpreter ABI Platform
planq-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 139.6 kB

Release files / planq-0.3.1.tar.gz

Download URL planq-0.3.1.tar.gz
Size 64.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aabb1b4d81ff724bb4e20c61e9d69299f00e758b230d7ada7b502efa035b3061
BLAKE2b-256 checksum
How to use checksums
81d2d153ccd1f9c6f04f264a52134f629fc48dd2388347852ea5cfa8e2642375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / planq-0.3.1-py3-none-any.whl

Download URL planq-0.3.1-py3-none-any.whl
Size 74.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4188618b75876891c16fc9f3d85df3f774c889dda80a7eff2d543765d1c408c1
BLAKE2b-256 checksum
How to use checksums
4e3b93ee39b219b0de86330c41ad7b0c302c8f8683b2e7e64e29af6a390132f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page