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.2.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.2.0
File Size Uploaded Provenance Actions
simple_q_runtime-1.2.0.tar.gz 89.1 kB With provenance Details for simple_q_runtime-1.2.0.tar.gz

Built distributions (wheels)

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

Total release size: 12.7 MB

Release files / simple_q_runtime-1.2.0.tar.gz

Download URL simple_q_runtime-1.2.0.tar.gz
Size 89.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0dac3655ee5c4136b9e2cfefc32acf5b43af1222226722b853025a10a54340cb
BLAKE2b-256 checksum
How to use checksums
51ca99971315848ddb702b9496c2412d1abf93df02e6ab819033a7d805388a9a
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 13, 2026.

Transparency log

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

Download URL simple_q_runtime-1.2.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
75b66082cc6837b2371e335c5931b53cad7e5ccf01cc4bd656e7d4c81c0b4345
BLAKE2b-256 checksum
How to use checksums
85b168c370f3eb50b10d6660d6e59921000585fa5f9b725488312598b5ee45ed
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 13, 2026.

Transparency log

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

Download URL simple_q_runtime-1.2.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
531c441af001d6ece1c2bae45149f80533f1d42ab5ba448592c4e3f11407bbb3
BLAKE2b-256 checksum
How to use checksums
d6094a9dbcf4b205dd0fcd144109df4f2f8b9b4e3d45cc9eb7399fa586545afe
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 13, 2026.

Transparency log

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

Download URL simple_q_runtime-1.2.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
e3e39e2db90ae848f6cbea0ae04e623d7e08ad121347a1c7a1ae44ce88e9d8c3
BLAKE2b-256 checksum
How to use checksums
4554db3f4a64465b388e1d6fc88adfd99dcc63600899206efd43a69ba4f54c3d
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 13, 2026.

Transparency log

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

Download URL simple_q_runtime-1.2.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
128cd7c40efc1557fdcb88967422cb1af498cc3fb16bdf3faeedf672cbb21a4b
BLAKE2b-256 checksum
How to use checksums
a9447090cd76b0ed0c13e8b39ea442052c91d7d2d9f618bc19031f8d5ea28dbd
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 13, 2026.

Transparency log

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

Download URL simple_q_runtime-1.2.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
dcbab3b4a21c9546767b6c4cacef9682e44436e812a65bd8afd1c6d4c6a18ca2
BLAKE2b-256 checksum
How to use checksums
5b7509a8cf5236e0116822b705fa3bf7c59d11c8f554591f4009a41307c039c2
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 13, 2026.

Transparency log

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

Download URL simple_q_runtime-1.2.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
c892c65b73eb702cefb9b5efa7dadb44fdd87dd0a290638b0a1b524f20b79c6e
BLAKE2b-256 checksum
How to use checksums
5e2a0eb6b07080c7a97653ffe5b8ed0ed68aa455bcf9bcd117bfdee23c39d7d5
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 13, 2026.

Transparency log

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

Download URL simple_q_runtime-1.2.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
b67dd7f818c76fbe0c17b8371099db78397afb0cd052ded520bd0fb61b488ddf
BLAKE2b-256 checksum
How to use checksums
fa3b3ea56709404d4ac629a8ce553cf22513ff694349a2ecc25f085ea0157f24
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 13, 2026.

Transparency log

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

Download URL simple_q_runtime-1.2.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
ed2a377b6d51e019906eb57efa0220fc7a9221f955478c2f81b0c4e6d2e7b8a3
BLAKE2b-256 checksum
How to use checksums
976bd3e3e14f60e67a349bd3c4cbc1a653a0c832439142f002efe21610edbf12
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 13, 2026.

Transparency log

Security for simple-q-runtime 1.2.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.2.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 13, 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