Skip to main content

groundskeeping

groundskeeping is a reusable Textual shell for operator tools that inspect, configure, and care for a working environment. It provides page and workbench contracts, safe actions and in-process jobs, setup wizards, oa-configurator inspection and write-flow mechanics, and normalized telemetry primitives.

Consuming applications own their production pages, domain services, safety policy, persistence, and environment-specific help. Groundskeeping owns the consistent interaction around them.

Groundskeeping demo layout

Start here

You want to… Read…
Use an application built with Groundskeeping Using a Groundskeeping app
Integrate Groundskeeping into an application Developer quickstart
Add configuration inspection or a write flow Configuration guide
Understand package boundaries What belongs where
Browse public contracts API reference

Install

Groundskeeping requires Python 3.12 or newer.

uv add groundskeeping

Run the self-contained demo:

uv run groundskeeping

The Configuration page uses a deterministic fake provider, so you can try branching, review, and apply behavior without writing a file.

Minimal composition

A Groundskeeping application starts with an OperatorAppSpec. The application wires its own services into its own page factories, then gives the resulting pages to the shell.

from groundskeeping.app import OperatorApp, OperatorAppSpec
from groundskeeping.contracts import PageRegistration, PageRoute

setup_route = PageRoute(
    key="setup",
    label="Setup",
    purpose="Check whether this environment is ready.",
)

spec = OperatorAppSpec(
    app_id="my-tool",
    title="My Tool",
    subtitle="environment setup",
    pages=(
        PageRegistration(
            route=setup_route,
            factory=lambda context: SetupPage(setup_service),
        ),
    ),
)

OperatorApp(spec).run()

SetupPage and setup_service stay in the consuming application. Groundskeeping supplies the frame around them.

Development

uv sync --all-extras --dev
uv run pytest -q
uv run ruff check .
uv run ty check src/

The full documentation is at AustralianCancerDataNetwork.github.io/groundskeeping.

Download files

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

Source Distribution

groundskeeping-0.4.0.tar.gz (187.6 kB view details)

Uploaded Source

Built Distribution

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

groundskeeping-0.4.0-py3-none-any.whl (64.6 kB view details)

Uploaded Python 3

File details

Details for the file groundskeeping-0.4.0.tar.gz.

File metadata

  • Download URL: groundskeeping-0.4.0.tar.gz
  • Upload date:
  • Size: 187.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for groundskeeping-0.4.0.tar.gz
Algorithm Hash digest
SHA256 635d23afcf100a25f60cc6d0bc0fe8892cf955bbc3faa855df4cca675556d0c0
MD5 1168e1c5bbf415a7023e4dc6d3013088
BLAKE2b-256 9b80d9a2bc164e806862305ecb6cecf49f6e257f1830ec6024f792269fede17c

See more details on using hashes here.

Provenance

The following attestation bundles were made for groundskeeping-0.4.0.tar.gz:

Publisher: publish.yml on AustralianCancerDataNetwork/groundskeeping

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file groundskeeping-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: groundskeeping-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 64.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for groundskeeping-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f65219d369317ea2662439e378973831bf63318b685a9f5501300123a4fc7f86
MD5 454e34b4fe30572cb6123657bb4009b9
BLAKE2b-256 d50e3b0a364ca519fae5b899743eac0f9c05ae914de126541cff4fc23540b413

See more details on using hashes here.

Provenance

The following attestation bundles were made for groundskeeping-0.4.0-py3-none-any.whl:

Publisher: publish.yml on AustralianCancerDataNetwork/groundskeeping

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.7.0

2 files

0.6.1

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

This release

0.4.0 This release

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 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