Skip to content

Repository files navigation

Cita Previa Access Request

Generate documents for filing a data access request relating to the tratamiento «Cita previa».

Current scope

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

Input format

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.toml

Generate everything at once:

uv run cita-previa-access-request build-all requests/your-request.toml

This creates an output directory next to the input TOML containing annex.pdf, access-form.pdf, and reg-snippets.txt.

CLI

Render an annex PDF:

uv run cita-previa-access-request render-annex requests/your-request.toml

Fill the official AEPD form:

uv run cita-previa-access-request fill-access-form requests/your-request.toml

Developing

Common commands

uv run ruff check --fix .
uv run ruff format .
uv run pyright
uv run pytest

Run the API locally:

uv run uvicorn cita_previa_access_request.api:app --reload

Controller details reference

The 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:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages