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 main, package 1.3.0: docs/index.md. The running worker is agent-worker and simple-q-runtime. A research example of a later fork is under docs/research/example and is not part of the build.

Metadata

Release files for simple-q-runtime 1.3.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.3.0
File Size Uploaded Provenance Actions
simple_q_runtime-1.3.0.tar.gz 97.1 kB With provenance Details for simple_q_runtime-1.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for simple-q-runtime 1.3.0
File Actions
simple_q_runtime-1.3.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.3.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
simple_q_runtime-1.3.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.3.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
simple_q_runtime-1.3.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.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
simple_q_runtime-1.3.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.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
simple_q_runtime-1.3.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.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
simple_q_runtime-1.3.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.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
simple_q_runtime-1.3.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.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
simple_q_runtime-1.3.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.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Total release size: 12.6 MB

Release files / simple_q_runtime-1.3.0.tar.gz

Download URL simple_q_runtime-1.3.0.tar.gz
Size 97.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4ad3bd7a7e5532195ef1a29bb796e0707c16ecf77e113bea3ba820babec45eef
BLAKE2b-256 checksum
How to use checksums
2e07de0abda39fe881c46136b412afbbca38c5ce43a6c23f0ad28808d0169b03
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 16, 2026.

Transparency log

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

Download URL simple_q_runtime-1.3.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.5 MB
Tags CPython 3.15 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
cecc0d5e263b4072d09e16bf24480a523b5baf97079445dfb82f2a89c6042b38
BLAKE2b-256 checksum
How to use checksums
862f81e9825bd7308ccf5bc59c67046202cdb3dafda4aec079aecf48a64b5c4b
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 16, 2026.

Transparency log

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

Download URL simple_q_runtime-1.3.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
d00416081a88bdc925ff7622c2f8f07b6a20eb63cddf2b0b1efe50113dda7543
BLAKE2b-256 checksum
How to use checksums
50382630d947afb53534ce3299b340f242dcbe7ba96ac5536440c30eb4d6fce4
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 16, 2026.

Transparency log

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

Download URL simple_q_runtime-1.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.5 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ca3f4199a8506d9ea9c9f9607044f22fdd8c30725e12f6bf94c25ab72e393cfa
BLAKE2b-256 checksum
How to use checksums
63ab558b69ad58af71e530934ae432efcaa9503460500eaa085ef1085c374cde
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 16, 2026.

Transparency log

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

Download URL simple_q_runtime-1.3.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
f18c06c656ba9c9e792e2ebf543e4a6d4a7aacaf0a1510088289cc70c02a3fab
BLAKE2b-256 checksum
How to use checksums
72a00c3e964c23365c87e47bca683c03072ccd2d65554bde8304b47d625e0612
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 16, 2026.

Transparency log

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

Download URL simple_q_runtime-1.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.5 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
420b5102867cacf310fbefbe543513db0c12cd2fdaa5ef2f3994ab93f21b3bb5
BLAKE2b-256 checksum
How to use checksums
4f4c597f4b8f74b4163dbc5cdf96646d7afadc37f915ea621778e21d591fbc6a
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 16, 2026.

Transparency log

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

Download URL simple_q_runtime-1.3.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
dd3fdc2a0a3beb8cbc5358459269fccc5b5c78ee06734a52b13ab093da8db6d4
BLAKE2b-256 checksum
How to use checksums
1812b12ed0b76ea7450d3e0ea05e80812894fad7c6c3740d47fa766661f943c5
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 16, 2026.

Transparency log

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

Download URL simple_q_runtime-1.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.5 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
008a07f52c74f99a0b9fe3c2e66ef8f02fb9bcce5f8c758cde946105ff3e675f
BLAKE2b-256 checksum
How to use checksums
36b751efd597127a056598e3e1d0769a2ce46d6f985a4b877ed45a4d686725f7
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 16, 2026.

Transparency log

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

Download URL simple_q_runtime-1.3.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
a1d4e2716f2c9d022eaf1c125b6132fec1e53f5f266b4e55422f79b64a7a1233
BLAKE2b-256 checksum
How to use checksums
db702dbcb0664299781effbf73282e96a40bd6a5bef8c7b79ba470217f04ca26
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 16, 2026.

Transparency log

Security for simple-q-runtime 1.3.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.3.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 16, 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