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.5.0.tar.gz (191.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.5.0-py3-none-any.whl (66.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: groundskeeping-0.5.0.tar.gz
  • Upload date:
  • Size: 191.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.5.0.tar.gz
Algorithm Hash digest
SHA256 c0c439095da043a5d9439302fe8442d4b00ea7b3b8131de973f5581367b7e2a9
MD5 1ecc9767301c5b9fd39c906b17651ff0
BLAKE2b-256 8d47dea33c7e27c35d7d1160fecb11f43c588bc4fc5ff2abd464245eca5da34b

See more details on using hashes here.

Provenance

The following attestation bundles were made for groundskeeping-0.5.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.5.0-py3-none-any.whl.

File metadata

  • Download URL: groundskeeping-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 66.4 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c67c4a0c5eca274a2fbd1368726e975e13b28fad055aa0c02d8dba735ec5c3d
MD5 b761007e6a368a9b2078e79e6364c6cb
BLAKE2b-256 d37692eeaf61c947771629443469c4b992f0bf02ec4e13539c6b9ba6be7214dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for groundskeeping-0.5.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

This release

0.5.0 This release

2 files

0.4.0

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