Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

model-wtf

Compliance as code for Model W projects.

Why

A GDPR register, a rights matrix and a threat model are descriptions of what the code does. Written by hand they are wrong the week after; written once, they never meet the pull request that breaks them.

model-wtf derives them from the repository instead. It introspects the application (Django models and URL confs, task registries, SvelteKit routes) into inventories — data items, the touchpoints that handle them, where the data flows, the stores it lives in — and lets humans or agents record the judgements the code cannot carry (is this field personal? does this endpoint serve the subject or the staff? is that threat mitigated?) in a SQLite database committed next to the code. Everything downstream — the Art. 30 register, rights coverage, the weighed findings — is computed from that. A gate runs on every pull request and fails the change that introduces a gap; a challenger agent reads the diff and re-opens the reviews it undermines. The to-do list is, at all times, exactly the distance between the code and its declarations.

How

In the root of a Model W repository (a snow.yml, or a .model-wtf.yml), with an OpenRouter key in OPENROUTER_API_KEY — or a Scaleway IAM key in SCALEWAY_SECRET_KEY, plus SCALEWAY_INFERENCE_ENDPOINT for a dedicated inference deployment of your own:

uvx model-wtf compliance init                     # compliance.db, snow.yml blocks, CI workflow
uvx model-wtf compliance data auto-review         # agents classify every field, model by model
uvx model-wtf compliance touchpoints auto-review  # and declare what each route / task / screen does
uvx model-wtf compliance activities list          # the register of processing activities, from the code
uvx model-wtf compliance check                    # what is still open — and the gate on your next PR

Nothing is overwritten, what the agents cannot know is left as !todo for a human, and every row they wrote is queryable and diffable. Without an API key the same commands work by hand (data review, touchpoints set-data, threats stamp).

Learn more

https://modelw.github.io/wtf/

Misc

  • Install for good: uv add --dev model-wtf, then uv run model-wtf ….
  • The gate in CI: uses: ModelW/wtf@v1 (see action.yml; init writes the workflow).
  • Contributing and releasing: docs/contributing.md.
  • Changes: CHANGELOG.md. License: MIT.

Metadata

Release files for model-wtf 1.2.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for model-wtf 1.2.0rc1
File Size Uploaded Provenance Actions
model_wtf-1.2.0rc1.tar.gz 360.1 kB With provenance Details for model_wtf-1.2.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for model-wtf 1.2.0rc1
File Interpreter ABI Platform Actions
model_wtf-1.2.0rc1-py3-none-any.whl Python 3 none any Details for model_wtf-1.2.0rc1-py3-none-any.whl

Total release size: 862.1 kB

Release files / model_wtf-1.2.0rc1.tar.gz

Download URL model_wtf-1.2.0rc1.tar.gz
Size 360.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e4dde25b521f740e255e9b08ea90987b61417a60f641f34d2d0f24ed167b0f58
BLAKE2b-256 checksum
How to use checksums
904ebfd72fc0e6574418bf023dd99307e4a1807556711a4ed8cac0cd6db296ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.

Transparency log

Release files / model_wtf-1.2.0rc1-py3-none-any.whl

Download URL model_wtf-1.2.0rc1-py3-none-any.whl
Size 502.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
277855f5bba3485c21a1f32155b805d52c1241b4624dd0e0c5b8d554c7f0aa9b
BLAKE2b-256 checksum
How to use checksums
8a625de2d20314fdc34683a310fa89d146942f1927a6a62e9200c3f1c920c875
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.

Transparency log

Security for model-wtf 1.2.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for model_wtf-1.2.0rc1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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