Skip to main content

Bootstrap modal flow helpers for the SheafLab project.

Project description

sheafmodal

sheafmodal is the official Python package namespace for lightweight modal and step-flow state helpers used by the SheafLab project.

This initial public release offers a small but real surface: defining modal steps, tracking an active step, filling required fields, and validating whether a flow can advance or retreat.

Install

pip install sheafmodal

Usage

from sheafmodal import ModalStep, advance, create_state, fill_fields

steps = (
    ModalStep("details", "Details", ("title",)),
    ModalStep("review", "Review"),
)

state = create_state(steps)
state = fill_fields(state, title="Example")
state = advance(state)

Status

  • Project stage: pre-alpha
  • Package scope: bootstrap modal-state 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

sheafmodal-0.0.1a1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sheafmodal-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 53b689020a5aa64bfe0183b72a78d724dcdaedc0a244fcc98f95fe8b24b35535
MD5 2b0af359b356c022dbed3daf680338c2
BLAKE2b-256 829e031cf6f96589d53646ef19340920d46a960d17428019036c3dc274318a01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sheafmodal-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 sheafmodal-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 98d921e7b99439cc4735eebfb847bc2ab5ff74b8455237d12c38d7b31e375e88
MD5 63cb0f59011387f2c050e31f5fe216fe
BLAKE2b-256 0bdad9d5bb8b5b791a312849ff1f5d0d05ef7ac314fa0186bed0ff00433878b1

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