Skip to content

Installation

From PyPI

pip install taskito

taskito has a single runtime dependency: cloudpickle for serializing task arguments and results. It is installed automatically.

SQLite is bundled

taskito ships with SQLite compiled in via Rust's libsqlite3-sys crate. You do not need a system SQLite installation.

Postgres Backend

To use PostgreSQL as the storage backend instead of SQLite:

pip install taskito[postgres]

Linux only

The postgres extra currently requires Linux. macOS and Windows are not yet supported.

See the Postgres Backend guide for configuration details.

From Source

Building from source requires a Rust toolchain (1.70+).

# Install Rust (if needed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Clone and build
git clone https://github.com/pratyush618/taskito.git
cd taskito
python -m venv .venv
source .venv/bin/activate
pip install maturin
maturin develop --release

Development Setup

pip install -e ".[dev]"     # Tests, linting, type checking
pip install -e ".[docs]"    # Documentation (Zensical)

Verify Installation

import taskito
print(taskito.__version__)  # 0.1.0

Requirements

  • Python 3.9+
  • Any OS with SQLite support (Linux, macOS, Windows)
  • PostgreSQL 12+ (optional, for taskito[postgres] — Linux only)
  • Rust toolchain only needed for building from source