cauli-worker
The Rust worker runtime for cauli, a background task queue
for Python. One binary embeds CPython (via PyO3) and executes thousands of tasks concurrently
inside a single OS process: async/threaded I/O tasks in-process, CPU-bound tasks on a
gc.freeze()d fork-server child pool.
See the repository root README.md for the overall pitch and Python-side quickstart, and
PROTOCOL.md for the full wire/behavior contract this binary implements. ARCHITECTURE.md in
this directory maps the module layout and documents known limitations.
Build
cargo build --release --bin cauli-worker
Run
cauli-worker --app myproj.tasks:app --queues default,emails \
--redis-url redis://127.0.0.1:6379/0 --cpu-workers 4
Requires Redis >= 7.0 and a Python interpreter with the cauli package's app module
importable. Run cauli-worker --help for the full flag list.
Test
cargo test --release --features test-hooks
test-hooks gates the CAULI_EXEC_CMD env override used by the e2e suite to run a
stand-in cpu-child fixture without the real cauli Python package; it is compiled out of a
plain cargo build --release.
License
Licensed under either of Apache-2.0 or MIT at your option. See LICENSE-APACHE and
LICENSE-MIT at the repository root.
Metadata
Release files for cauli-worker 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 23.3 MB
Release files / cauli_worker-0.1.0-cp314-cp314-manylinux_2_34_x86_64.whl
| Download URL | cauli_worker-0.1.0-cp314-cp314-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.14 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
84c02915413fd25a6dcf164db96a1ac70ffbc9239932904e19fa409de4b96b34
|
|
BLAKE2b-256 checksum How to use checksums |
84088e8e4f56f1a3c639a611bffbce838fad731414d67920efbfd6bb84301ad6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cauli_worker-0.1.0-cp314-cp314-manylinux_2_34_aarch64.whl
| Download URL | cauli_worker-0.1.0-cp314-cp314-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.14 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
d3bff5ee6cc560e4373765db103cadad95061b2fd67c386c4ea07891942972d5
|
|
BLAKE2b-256 checksum How to use checksums |
6ba60813bb8846ced4a67cfdd29f47663190e20f616ff33d4699fa047374246a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cauli_worker-0.1.0-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | cauli_worker-0.1.0-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
b82ea0f6d42e9a6958487407419b1e3d7b85e6edf46ebd664d40f01601c4d30f
|
|
BLAKE2b-256 checksum How to use checksums |
8bc2a740bd0296ff50ce2fe3f94b985d3a3d09d4f774494bf2b6a2ba1f8a3ec0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cauli_worker-0.1.0-cp313-cp313-manylinux_2_34_aarch64.whl
| Download URL | cauli_worker-0.1.0-cp313-cp313-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.13 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
f6ec3b9aa6b61ee072661833f035d3ab9abebeddf41f6df05b3c96b3d47954cc
|
|
BLAKE2b-256 checksum How to use checksums |
7f2e7e6c99d036ef4acaeee11bd457d564991a9817faaa6f62462ff7f799ed68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cauli_worker-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | cauli_worker-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
65e45748bbd6c30a586c0386435ae1e19e924c01db85964f1fabbdfb17e3845e
|
|
BLAKE2b-256 checksum How to use checksums |
59eeca500a9dff7fe1a6901c0b36781a2586dda95b74b941eb8ee86abcf5fcb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cauli_worker-0.1.0-cp312-cp312-manylinux_2_34_aarch64.whl
| Download URL | cauli_worker-0.1.0-cp312-cp312-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
798642b18664fb3debc9b7b819b6e64b4c7eefc3217b82b2b3307abd7da86977
|
|
BLAKE2b-256 checksum How to use checksums |
6bb01928aad5be03dd342c63bdf55785f2e1efbd6d95fc174e090f9a2d4ab8db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cauli_worker-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | cauli_worker-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
ed5478dd0d4912a3ad6b2cd5810c8619d4e5403132e1880ce0f8348fc9070114
|
|
BLAKE2b-256 checksum How to use checksums |
775ec26bd000f9f082148e7ad332b87be3b0e57897ec15838e947e3332b2d19c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cauli_worker-0.1.0-cp311-cp311-manylinux_2_34_aarch64.whl
| Download URL | cauli_worker-0.1.0-cp311-cp311-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
73da9cc3daf1b47c5eac83a8cb33f69ffb076812266a9ad614160144e2f74777
|
|
BLAKE2b-256 checksum How to use checksums |
4963d7a8b3cbbedd2271358028b5f74e49b96efc8e8832d129b02932f5a77b4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cauli_worker-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | cauli_worker-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
1a8a9bd1b941ce4e8201a9c02d425908cf5523f71624b8bb53c0fe7b1a091d9d
|
|
BLAKE2b-256 checksum How to use checksums |
e33ebf7d92c0f3b543baf38659f1372c0da78b7ae7d98fb4badbe655ec08f718
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cauli_worker-0.1.0-cp310-cp310-manylinux_2_34_aarch64.whl
| Download URL | cauli_worker-0.1.0-cp310-cp310-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
fc5fdbe44ba0e62a50915298e332d74b6ac3dde39a1ec23a3eb1ec5afdf7d84c
|
|
BLAKE2b-256 checksum How to use checksums |
cd60e6929779dcef59b4dea358a73fafe6930610c40882e30a18e0957070e039
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|