tasker-py
Python worker bindings for the Tasker workflow orchestration system.
Status
Production ready. Python worker bindings provide full step handler execution via PyO3 FFI.
Installation
From Source (Development)
# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create virtual environment and sync dependencies
uv venv
source .venv/bin/activate
uv sync --dev
# Build and install the Rust extension
uv run maturin develop
From PyPI (when published)
pip install tasker-py
Quick Start
import tasker_core
# Check version
print(tasker_core.version())
# Verify FFI is working
assert tasker_core.health_check()
Development
Prerequisites
- Python 3.10+
- Rust 1.70+
- uv (recommended) or pip
Setup
# Create virtual environment
uv venv
source .venv/bin/activate
# Sync all dependencies (including dev)
uv sync --dev
# Build and install in development mode
uv run maturin develop
# Run tests
uv run pytest
# Run linting
uv run ruff check .
uv run mypy python/
Building Wheels
# Build wheel for current platform
maturin build --release
# Build with all features
maturin build --release --all-features
Project Structure
crates/tasker-py/
├── src/ # Rust FFI source
│ └── lib.rs # PyO3 module initialization
├── python/ # Python source (maturin src layout)
│ └── tasker_core/
│ ├── __init__.py # Package init, re-exports FFI
│ └── py.typed # PEP 561 marker
├── tests/ # pytest tests
│ ├── conftest.py
│ └── test_import.py
├── Cargo.toml # Rust crate configuration
├── pyproject.toml # Python project configuration
└── README.md
Technology Stack
- FFI Layer: PyO3
- Build Tool: maturin
- Package Manager: uv
- Testing: pytest
- Data Models: Pydantic v2 (future phases)
- Event Bus: pyee (future phases)
License
MIT
Release files for tasker-py 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tasker_py-0.1.8-cp310-abi3-manylinux_2_34_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.34+ x86-64 | Details |
| tasker_py-0.1.8-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 23.5 MB
Release files / tasker_py-0.1.8-cp310-abi3-manylinux_2_34_x86_64.whl
| Download URL | tasker_py-0.1.8-cp310-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7b42f1019a54abd85e49d07016c88f40a7fa98f8554e1b39be7d1370cf610abc
|
|
BLAKE2b-256 checksum How to use checksums |
b43f8f8b1ce51049f71eaf6deccd2fd761380c53866b9de41a2f209e88d3ccfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 19, 2026.
Transparency logRelease files / tasker_py-0.1.8-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | tasker_py-0.1.8-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 11.2 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
af3b040dcb581ac35b64f1424512c1fa96ff6c53ff54361967443ab811c4890a
|
|
BLAKE2b-256 checksum How to use checksums |
8a6f22e2cdb9cdf57136d497b6dc39759f77bb7bbf8dc0572880f214317671fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 19, 2026.
Transparency log