Skip to main content

simple-q

Rust supervisor and queue runtime for Python async tasks. The worker binary is agent-worker. Application code imports simple_q. The Rust extension inside that package is simple_q._runtime.

Install

Supported runtime: CPython 3.12, 3.13, 3.14, and 3.15 with the GIL. Linux x86_64 and aarch64, glibc 2.28 or newer. Free-threaded builds are not supported. A producer and a worker may use different minor versions: the message is JSON, and the actor module is imported by the worker.

uv add simple-q-runtime simple-q-worker

simple-q-runtime is the importable package (import simple_q). simple-q-worker installs the agent-worker binary into the virtualenv and depends on the same version of simple-q-runtime.

A local macOS producer is maturin develop against CPython 3.12 or newer. A local worker is cargo build -p agent-worker with PYO3_PYTHON pointing at a shared CPython (libpython3.X.dylib from python.org or Homebrew). PyO3 sets the rpath. Published wheels and the agent-worker launcher are Linux.

Example

from simple_q import App, Client, Config, actor


@actor(queue="default", max_retries=2, lock_key="demo:gate")
async def recalc(project_id: int) -> None:
    ...


def create_app() -> App:
    config = Config.from_env()
    return App(client=Client("redis://redis:6379/0", config=config), actors=[recalc])


async def enqueue() -> None:
    config = Config.from_env()
    client = Client("redis://redis:6379/0", config=config)
    await client.send_with_options(
        recalc,
        kwargs={"project_id": 42},
        unique_key="recalc:42",
    )
    await client.close()

Documentation

These pages describe 1.1: docs/index.md.

Metadata

Release files for simple-q-runtime 1.1.0

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

Source distribution (sdist)

Source distribution for simple-q-runtime 1.1.0
File Size Uploaded Provenance Actions
simple_q_runtime-1.1.0.tar.gz 84.4 kB With provenance Details for simple_q_runtime-1.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for simple-q-runtime 1.1.0
File Actions
simple_q_runtime-1.1.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.17+ x86-64 Details for simple_q_runtime-1.1.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
simple_q_runtime-1.1.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.15 CPython 3.15 Linux glibc 2.17+ ARM64 Details for simple_q_runtime-1.1.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
simple_q_runtime-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details for simple_q_runtime-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
simple_q_runtime-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64 Details for simple_q_runtime-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
simple_q_runtime-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for simple_q_runtime-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
simple_q_runtime-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details for simple_q_runtime-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
simple_q_runtime-1.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for simple_q_runtime-1.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
simple_q_runtime-1.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for simple_q_runtime-1.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Total release size: 12.7 MB

Release files / simple_q_runtime-1.1.0.tar.gz

Download URL simple_q_runtime-1.1.0.tar.gz
Size 84.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6a2e803dda04e3b0a3cb97d54ea615aa68a83b55abcf489bd1e4224b569ccd42
BLAKE2b-256 checksum
How to use checksums
b1cd4e37469d69aa34b5b0110127020a9a00681fa7fd3154cb4cd81fc733e32b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / simple_q_runtime-1.1.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL simple_q_runtime-1.1.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.6 MB
Tags CPython 3.15 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
7807aa4d22d0781327b3b50bcfabe9d29c3aba2eca745ad92c41b9398e8047b5
BLAKE2b-256 checksum
How to use checksums
86d85267828b297f58db3bec12a880ceb54d7f662494b57f6c073090f7bb53bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / simple_q_runtime-1.1.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL simple_q_runtime-1.1.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.6 MB
Tags CPython 3.15 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
45ae7da319acdd2ff464a71c9c1adf42814c6abd5590cef7d28da489b8eca792
BLAKE2b-256 checksum
How to use checksums
7e4a7e8db99176d83b28df1336c46b9bea583e04d9717771d1c819b66cdcfd9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / simple_q_runtime-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL simple_q_runtime-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.6 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
36d1251e27f702543b4852f85cd5244bdf2b1515d589201dda2e26b97bec6182
BLAKE2b-256 checksum
How to use checksums
98bbafee8d4bf6e6e861d8507facc098d2f6953460e3e424d7416fc9d0106946
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / simple_q_runtime-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL simple_q_runtime-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.6 MB
Tags CPython 3.14 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
43c243fa0767d0b1bb79c8aceba7a9aa1031df22d1dbf95b1c382e36b45e6c03
BLAKE2b-256 checksum
How to use checksums
e8fefc790b5c68a116b7068f20709ae309c44577f223ebb6ba7c879189e67c97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / simple_q_runtime-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL simple_q_runtime-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.6 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f0258dbeb9c4d5745495fe51b5f1973c74b7f56e2790d237e2a9d896173ad34e
BLAKE2b-256 checksum
How to use checksums
89c1e633837cab2875bf2ef773253b10cb6f78da0701edf2a2fb02bf6030de71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / simple_q_runtime-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL simple_q_runtime-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.6 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
b83cef82cd74fe8c85ed60e24b874ae698cf7ae89ce4c4fd84a7c7451aa91ac9
BLAKE2b-256 checksum
How to use checksums
a09222f0ad05f02160096b04fb0e3e586e3b2165280f95c169aa3c160c1c3f78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / simple_q_runtime-1.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL simple_q_runtime-1.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.6 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
40e28ccef28236df8f7d7d43793a360ac65d43f126cf6e309dc95c85c8d9d5c2
BLAKE2b-256 checksum
How to use checksums
6bad2a93bdca4133afa6d9ec4099f227ede0cd0a606f6ae5a51497fe5effe86e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / simple_q_runtime-1.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL simple_q_runtime-1.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.6 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
a3b2dd5352f1f19b05822eeb72ed84b66c95d2272ac1cd3c8d6d40f01dc3dfc1
BLAKE2b-256 checksum
How to use checksums
228084e3566d06e6cd7d5c9c3f7f849ed2adb2cdded04944546e8e52f29d1939
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for simple-q-runtime 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for simple_q_runtime-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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