Metadata-Version: 2.5
Name: actdim-jobs
Version: 1.14.1
Summary: Generic Hatchet workflow and event bridge helpers for Python workers
Requires-Python: >=3.11
Requires-Dist: hatchet-sdk>=1.41.1
Requires-Dist: jsonschema
Requires-Dist: pydantic>=2.14.0
Requires-Dist: python-dotenv>=1.2.4
Description-Content-Type: text/markdown

# actdim-jobs

Generic Hatchet workflow and event bridge helpers for Python workers in the Actdim monorepo.

## Modules

- `actdim_jobs.compat`: Platform compatibility shims (Windows signal and stream handling).
- `actdim_jobs.bootstrap`: Environment loading, Hatchet client creation, and worker execution loop.
- `actdim_jobs.events`: EventRegistry and domain event pusher with JSON schema validation.
- `actdim_jobs.codegen`: CLI script (`actdim-jobs-codegen`) generating Pydantic v2 models from exported JSON schemas.

## Usage

```bash
actdim-jobs-codegen --events app/contracts/events.json --workflows app/contracts/workflows.json --out app/contracts/models.py
```
