Skip to main content

Bootstrap task graph helpers for the SheafLab project.

Project description

sheaftask

sheaftask is the official Python package namespace for lightweight task-graph planning helpers used by the SheafLab project.

This initial public release exposes a small but real surface: defining task specs, validating dependency references, computing ready tasks, and generating a deterministic execution order for compact task sets.

Install

pip install sheaftask

Usage

from sheaftask import TaskSpec, execution_order, ready_tasks

tasks = [
    TaskSpec("collect", priority=2),
    TaskSpec("normalize", depends_on=("collect",), priority=1),
    TaskSpec("report", depends_on=("normalize",), priority=1),
]

order = execution_order(tasks)
ready = ready_tasks(tasks, completed={"collect"})

Status

  • Project stage: pre-alpha
  • Package scope: bootstrap task-planning utilities only
  • Main project site: https://sheaflab.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sheaftask-0.0.1a1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sheaftask-0.0.1a1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file sheaftask-0.0.1a1.tar.gz.

File metadata

  • Download URL: sheaftask-0.0.1a1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for sheaftask-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 efb844b02c7895722a589ab990d2878162a5710e8f0dc1e068609ce64200f3d3
MD5 25f64b326fb6a2fcd9c0360d40478a7e
BLAKE2b-256 4a638275b38c3b7d2f0e3ccf3a6a65e06c8b8a4b86f4e2f62b6b7cbc64f5ad06

See more details on using hashes here.

File details

Details for the file sheaftask-0.0.1a1-py3-none-any.whl.

File metadata

  • Download URL: sheaftask-0.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for sheaftask-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ad963616450ff101c189d60c9ab6637f17d91c83a310b0aa4b452fbf6e08132
MD5 21f985eeffd33c20fd8c02b40775863b
BLAKE2b-256 6c999aaadc5084241e8a4dbd49878038d186b6d68d64f95bfd63880ad74eabb1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page