Skip to main content

functualize-tasks-local

Status: Published — Independently installable from PyPI.

Local state-backed task storage plugin for functualize. Provides a TaskProvider implementation that persists tasks as JSON blobs in the active StateBackend, using keys prefixed with tasks:. Zero external dependencies beyond the functualize workspace packages — if you have a state backend registered, this plugin gives you a fully functional task queue with no additional infrastructure.

Installation

pip install functualize-tasks-local

Quick Start

from functualize_state import InMemoryState
from functualize_tasks import TaskStatus
from functualize_tasks_local import LocalTaskProvider

# Create a provider backed by an in-memory state store
backend = InMemoryState()
provider = LocalTaskProvider(backend=backend)

# Add a task and retrieve it
task_id = provider.add("Deploy staging server")
tasks = provider.list(status=TaskStatus.PENDING)
print(tasks[0].title)  # "Deploy staging server"

# Update status and clean up
provider.update(task_id, status=TaskStatus.DONE)
provider.delete(task_id)

Features

  • State-backed persistence — delegates all storage to the active StateBackend, so tasks survive restarts when using a durable backend like SQLite
  • Automatic plugin registration — registers via the functualize.tasks_providers entry point with name "local", no manual wiring required
  • Full CRUD operations — create, list, update, delete, and link tasks with filtering by status or title substring
  • Zero external dependencies — only depends on functualize-tasks and functualize-state from the workspace
  • JSON serialization — each task stored as a compact JSON blob under tasks:{task_id}, easily inspectable for debugging

API Reference

Public classes exported by this plugin:

  • LocalTaskProvider — TaskProvider implementation that stores tasks in a StateBackend with tasks: key prefix. Methods: add(), list(), update(), delete(), link()
  • LocalTasksPlugin — Plugin entry point that resolves the active StateBackend from DI at boot and registers a LocalTaskProvider as the TaskProvider implementation

Development

Run plugin tests:

uv run pytest plugins/domains/functualize-tasks-local/tests/ -v

Release files for functualize-tasks-local 0.4.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 functualize-tasks-local 0.4.0
File Size Uploaded
functualize_tasks_local-0.4.0.tar.gz 17.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for functualize-tasks-local 0.4.0
File Interpreter ABI Platform
functualize_tasks_local-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.5 kB

Release files / functualize_tasks_local-0.4.0.tar.gz

Download URL functualize_tasks_local-0.4.0.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e9c9fdddd486865889eb003166448b45a3165783c512069855264f61ca0bb873
BLAKE2b-256 checksum
How to use checksums
59cb1cd63b894c122c3ec0feda185906440b671070a47c4adafa64caa56ce695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log

Release files / functualize_tasks_local-0.4.0-py3-none-any.whl

Download URL functualize_tasks_local-0.4.0-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90936dd233173c58500dc2887406819840408bd8780667d1cc6e8f6d998ee763
BLAKE2b-256 checksum
How to use checksums
eca1cfd2146b9e1af23fbceafa342113c64680c5c1b7390baffb1b6e6b55d431
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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