Generate documents for filing a data access request relating to the tratamiento «Cita previa».
At the moment, the project supports:
- loading request data from TOML
- printing copy-paste REG portal snippets
- rendering the annex PDF via Typst
- filling the official AEPD access form PDF
- exposing the same request model for future CLI and API use
The input format is TOML.
Use:
examples/request.example.toml
for the sanitised example template.
Put your own real TOML files in:
requests/
That directory is intended for user-specific request files and requests/*.toml is gitignored.
Print copy-paste REG portal snippets:
uv run cita-previa-access-request print-reg-snippets requests/your-request.tomlGenerate everything at once:
uv run cita-previa-access-request build-all requests/your-request.tomlThis creates an output directory next to the input TOML containing annex.pdf, access-form.pdf, and reg-snippets.txt.
Render an annex PDF:
uv run cita-previa-access-request render-annex requests/your-request.tomlFill the official AEPD form:
uv run cita-previa-access-request fill-access-form requests/your-request.tomluv run ruff check --fix .
uv run ruff format .
uv run pyright
uv run pytestRun the API locally:
uv run uvicorn cita_previa_access_request.api:app --reloadThe default controller details used by this project are based on the Ministry’s published Inventario de Actividades de Tratamiento del Ministerio del Interior, specifically the entry for the Dirección General de la Policía processing activity «Cita previa» and its responsible unit División de Documentación (DIR3 E04948201).
For future reference: