Skip to main content

ChecklistFabrik is a Python 3 tool to simplify and automate process management using HTML checklists backed by YAML files.

Project description

ChecklistFabrik

ChecklistFabrik (clf-play) is a Python 3 tool for managing your team's recurring checklists and procedures using HTML forms created from simple yet powerful YAML templates, including variables and logic based on Jinja.

Features

  • Presents checklists as HTML using a built-in local web server:
    The HTML interface provides a user-friendly checklist workflow.

  • Saves checklist results as YAML:
    If output is stored in version control systems such as Git, changes can be easily tracked.

  • Supports includes:
    Checklist templates can be used to quickly generate multiple checklists from a single file, avoiding the need to create multiple checklists from scratch.

  • Jinja support:
    Create dynamic checklists using variables and boolean expressions based on Jinja.

  • Dynamically exclude inapplicable items:
    ChecklistFabrik supports 'when' expressions for pages and tasks, so pages and tasks can be automatically marked as inapplicable based on input. See the examples for details (grep for when:).

Definitions and Terms

  • Checklist:
    A list of tasks that describe a procedure to be done, grouped by pages.

  • Page:
    A group of tasks that is simultaneously displayed to the user.

  • Report:
    A checklist file, usually generated from a template.

  • Task:
    A description of a piece of work that has to be done. May be presented in different forms such as text fields, checkboxes, radio buttons or non-interactive text blocks etc... (see Task Module below)

  • (Checklist) Template:
    A checklist YAML file that is used to create other checklists instead of being run itself.

  • (Task) Module:
    To support an extensible architecture, ChecklistFabrik moves the task rendering into separate, pluggable Python modules such that new task variants can be added easily. A valid task module is any Python module under the checklistfabrik.modules namespace package that has a main method that returns a dictionary containing the key html and as the value the rendered HTML.

Installation

Clone this repository and run pip install --user . at the root of the repo to build and install the ChecklistFabrik package.

Creating a Checklist Template

For documentation on the YAML format used by ChecklistFabrik, see the checklist template syntax documentation. Example checklist templates can be found in the examples folder of this project.

Creating a New Checklist From a Template

clf-play --template path/to/template.yml path/to/checklist_to_create.yml

The destination file may be omitted; in that case:

  • If the template specifies a report_path, then that field is used to generate a new filename.
  • Otherwise, a generic, timestamped filename is generated.

Re-Running an Existing Checklist

clf-play path/to/existing_checklist.yml

Credits, License

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

checklistfabrik-1.0.0.1.tar.gz (396.4 kB view details)

Uploaded Source

Built Distribution

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

checklistfabrik-1.0.0.1-py3-none-any.whl (408.2 kB view details)

Uploaded Python 3

File details

Details for the file checklistfabrik-1.0.0.1.tar.gz.

File metadata

  • Download URL: checklistfabrik-1.0.0.1.tar.gz
  • Upload date:
  • Size: 396.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for checklistfabrik-1.0.0.1.tar.gz
Algorithm Hash digest
SHA256 b62a0567fd680ad4c7d8de2696f8d32492e9a75d75937972b32b9810a11dc102
MD5 1a1817c7403e8c47b28e7cc07c1c80a4
BLAKE2b-256 bf91e1c4f2280feeab5548433ca125b4385eb0e89757d3e945bfa4a0072254e1

See more details on using hashes here.

File details

Details for the file checklistfabrik-1.0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for checklistfabrik-1.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dcc6c27a4be51c40308f69488b1b0d5bf1c23b6ed98c95ea0d85c015063b8612
MD5 f094afd6afa93898c513ebc197f81ce0
BLAKE2b-256 75c581cb72dcac4869b54cb5cea8462c80a77b9ba856ba6454b5419e1a07162e

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