Skip to main content

A lightweight process tracker (Process / ProcessStep) for long-running, distributed workflows.

Project description

trellis logo

trellis

A lightweight process tracker for long-running, distributed workflows.

trellis gives you a small, reusable Process / ProcessStep domain model you can use to track business workflows across services and bounded contexts.

It works great for:

  • High-level journeys (e.g. referral lifecycle in Harmony)
  • Sub-processes (e.g. authorization flow or claim adjudication in Pulse)
  • Any long-running process where multiple steps must eventually complete

Trellis is intentionally storage-agnostic: you bring your own database (PostgreSQL, DynamoDB, etc.) and wire it via a repository interface. The core library focuses on the domain model and invariants.


Features

  • ✅ Generic Process + ProcessStep model
  • ✅ Supports multiple process_types (e.g. "ReferralJourney", "ClaimAdjudication")
  • ✅ Tracks required steps, state (pending, in_progress, completed, failed)
  • ✅ Simple API: mark_step_completed, mark_step_failed, has_failed, is_completed
  • ✅ Storage-agnostic: integrate with Postgres, DynamoDB, etc.
  • ✅ In-memory repository for demos and unit tests

Installation

pip install trellis-process

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

trellis_process-0.3.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

trellis_process-0.3.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file trellis_process-0.3.0.tar.gz.

File metadata

  • Download URL: trellis_process-0.3.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.14 Linux/6.11.0-1018-azure

File hashes

Hashes for trellis_process-0.3.0.tar.gz
Algorithm Hash digest
SHA256 89d77627071651efb28f4415b456b0baff61422e04a486a764db19480a3298c0
MD5 843e88fbdb190e5bd8cd4c9856e64dd9
BLAKE2b-256 5bade7f3581a8d0c239004aed5784f5581e6d9a05bc88497e798ae52f586310e

See more details on using hashes here.

File details

Details for the file trellis_process-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: trellis_process-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.14 Linux/6.11.0-1018-azure

File hashes

Hashes for trellis_process-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00728bdddf1e2a08786f15436a9f4cebf903057d44ff0d047089d9c831e484fd
MD5 52619c847c8ea9a79b371f6917292d16
BLAKE2b-256 da884a3fba8f99d7f832ebe7e5721c40be2f1831c6a429351b057e6c84a48c52

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