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/functualize-tasks-local/tests/ -v

Release files for functualize-tasks-local 0.2.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.2.0
File Size Uploaded
functualize_tasks_local-0.2.0.tar.gz 6.8 kB Details

Built distribution (wheel)

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

Total release size: 12.7 kB

Release files / functualize_tasks_local-0.2.0.tar.gz

Download URL functualize_tasks_local-0.2.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6d5a646038331de0e15d24e4f1c9c56807fa7c38d3db925ad6a008b0cc1a5e43
BLAKE2b-256 checksum
How to use checksums
98a292bce14b8eb47052d7c33c5a9fe3cc48838f39ae350c3868ee7834f4efb1
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 3, 2026.

Transparency log

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

Download URL functualize_tasks_local-0.2.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b0b8de33c787d76cd8828054c1e1fa7746a5e5224bcbe090508e7ff005de865
BLAKE2b-256 checksum
How to use checksums
047033c22e82caeda931389ba965f4c204f23575629337bc39b9e58eb569ba5a
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 3, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.0

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

This release

0.2.0 This release

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