Metadata-Version: 2.4
Name: nomicheck-contracts
Version: 0.1.9
Summary: Shared NomiCheck backend-worker contracts
Requires-Python: >=3.12
Requires-Dist: pydantic>=2.8.0
Description-Content-Type: text/markdown

# nomicheck-contracts

Shared Python contracts for NomiCheck backend-worker boundaries.

This package contains only data contracts:

- Pydantic models for RabbitMQ command payloads.
- Routing keys, exchange names, command names, and schema versions.
- JSON shapes stored by worker and read by backend.
- Worker scheduled job config models shared across backend and worker.

It must not contain RabbitMQ clients, FastAPI routes, database repositories,
worker handlers, normalization algorithms, or service orchestration.

## Release

Package publishing is handled by Gitea Actions on tags matching `v*`.
Backend and worker should depend on the same exact published version, for
example:

```text
nomicheck-contracts==0.1.3
```

The publish workflow expects these secrets when the built-in token cannot
publish to the Gitea PyPI registry:

```text
PYPI_PUBLISH_URL
PYPI_USERNAME
PYPI_TOKEN
```
