Rustvello for Python
Distributed task queue and workflow runtime with a Rust core. Define tasks in Python, submit them from any process, and run them on workers that share a backend (memory, SQLite, PostgreSQL, Redis, MongoDB or RabbitMQ). Retries, queues and priorities, cron and event triggers, workflow roots with deterministic replay, worker recovery and a monitoring dashboard come built in. Rust and Python tasks can call each other through the same backend.
- Documentation: https://rustvello.readthedocs.io
- Source code: https://github.com/pynenc/rustvello
- Changelog: https://rustvello.readthedocs.io/en/latest/changelog.html
Install
pip install rustvello
Quick start
from rustvello import App, workflow_root
app = App(backend="sqlite", db_path="./tasks.db")
@app.task(max_retries=2)
def add(x: int, y: int) -> int:
return x + y
@app.workflow
def process_order(order_id: str) -> dict[str, str]:
root = workflow_root() # deterministic helpers, recorded for replay
return {"order_id": order_id, "run_id": root.uuid()}
if __name__ == "__main__":
# A worker executes what you submit. In production it is its own process:
# python -m rustvello.worker my_module:app
# Here it runs in a background thread of this script.
app.run(block=False)
try:
print(add(1, 2).result(timeout=30)) # 3
print(process_order("order-1").result(timeout=30))
finally:
app.stop()
result(timeout=...) blocks until a worker finishes the task and raises
TimeoutError if none does, so something must run app.run() or
python -m rustvello.worker. For tests and local tries, run tasks inline instead:
from rustvello import App
# Tasks run inline in the caller: no worker needed. Handy for tests and
# local tries; RUSTVELLO__DEV_MODE_FORCE_SYNC=true does the same without code.
app = App(dev_mode_force_sync=True)
@app.task
def add(x: int, y: int) -> int:
return x + y
print(add(1, 2).result()) # 3
Pynenc
Pynenc users do not import rustvello directly:
install pynenc-rustvello to use
Rustvello backends inside a Pynenc app.
Building from source
Requires Rust 1.85+ and maturin. From the repository root:
make develop # or:
maturin develop --release -m py-rustvello/Cargo.toml
Metadata
Release files for rustvello 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rustvello-0.9.1.tar.gz | 1.2 MB | With provenance | Details for rustvello-0.9.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| rustvello-0.9.1-cp312-abi3-win_amd64.whl | CPython 3.12 | abi3 | Windows x86-64 | Details for rustvello-0.9.1-cp312-abi3-win_amd64.whl |
| rustvello-0.9.1-cp312-abi3-manylinux_2_28_aarch64.whl | CPython 3.12 | abi3 | Linux glibc 2.28+ ARM64 | Details for rustvello-0.9.1-cp312-abi3-manylinux_2_28_aarch64.whl |
| rustvello-0.9.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.12 | abi3 | Linux glibc 2.17+ x86-64 | Details for rustvello-0.9.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| rustvello-0.9.1-cp312-abi3-macosx_11_0_arm64.whl | CPython 3.12 | abi3 | macOS 11.0+ ARM64 | Details for rustvello-0.9.1-cp312-abi3-macosx_11_0_arm64.whl |
| rustvello-0.9.1-cp312-abi3-macosx_10_12_x86_64.whl | CPython 3.12 | abi3 | macOS 10.12+ x86-64 | Details for rustvello-0.9.1-cp312-abi3-macosx_10_12_x86_64.whl |
Total release size: 88.1 MB
Release files / rustvello-0.9.1.tar.gz
| Download URL | rustvello-0.9.1.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cab4c10afbed78be2d7d4ad143f06a6753551a98bd1dcd72b8c0c857bea0b394
|
|
BLAKE2b-256 checksum How to use checksums |
5a864451cfd85e1e90cd8108ee08531fdb0b896dce751986e92f8119d5378cdc
|
| 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 Oct 25, 2026.
Transparency logRelease files / rustvello-0.9.1-cp312-abi3-win_amd64.whl
| Download URL | rustvello-0.9.1-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 18.0 MB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
cf0b6cc7bad96fd9170c888c9c7af63b9d2c88cea782312be5bcbb353406f30b
|
|
BLAKE2b-256 checksum How to use checksums |
023898a2ded0fe18e916c0f08f8ed94c93b7e8002ccd779396b2452eddc3c152
|
| 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 Oct 25, 2026.
Transparency logRelease files / rustvello-0.9.1-cp312-abi3-manylinux_2_28_aarch64.whl
| Download URL | rustvello-0.9.1-cp312-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 17.0 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
0b233c60d125ea38e379ef8246225fbd6942b32e69747a3181e41f02ea10acac
|
|
BLAKE2b-256 checksum How to use checksums |
eb28220f316edaa4d79feae61db0546f11d9f5a81aa35ce7bdd4a071e3d7bc4b
|
| 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 Oct 25, 2026.
Transparency logRelease files / rustvello-0.9.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rustvello-0.9.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
66a6f0daf6d318e5a61407cc8453a64ffeb07900d7f034a2510914b9b323a397
|
|
BLAKE2b-256 checksum How to use checksums |
b06154d537765e841bec360ca4998d00d430dd38d46dd348649c9dd7ead8e312
|
| 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 Oct 25, 2026.
Transparency logRelease files / rustvello-0.9.1-cp312-abi3-macosx_11_0_arm64.whl
| Download URL | rustvello-0.9.1-cp312-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 16.4 MB |
| Tags | CPython 3.12 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b09926ab32b5a6fc73e442115f27b7647928eb4309338ab0f2ce255f80e2bf14
|
|
BLAKE2b-256 checksum How to use checksums |
7328e1f8b3ff413fb03fc3c544cc0a0985313addc7833884f0b3686ada2c64c2
|
| 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 Oct 25, 2026.
Transparency logRelease files / rustvello-0.9.1-cp312-abi3-macosx_10_12_x86_64.whl
| Download URL | rustvello-0.9.1-cp312-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 17.6 MB |
| Tags | CPython 3.12 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
670a30e7cae6921f9309435a84fb8b3c8e8bb727175c79b7c3190bab88460a6b
|
|
BLAKE2b-256 checksum How to use checksums |
b1fd7ed8d66eb8ce03357e8534b76d2b2878e2b2828211c24d3ce196cb4e042c
|
| 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 Oct 25, 2026.
Transparency logSecurity for rustvello 0.9.1
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 6 files in this release have been uploaded with provenance metadata.
Attestation for rustvello-0.9.1.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 Oct 25, 2026.
Transparency logA 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.