This is a service that helps you detect and anonymise PII.
Run ./setup.sh
to install all dependencies. This will install direnv and nix then simply run direnv allow
to install all build dependencies.
Alternatively, make sure you have python 3.11 and poetry setup on your machine.
To get started, run the following:
poetry install --no-interaction --no-root
poetry run pytest
There is a chance that direnv allow
will not load the environment correctly and silently fail. This is observable when you attempt to run poetry install
, as you will get a command not found
error in the shell.
To fix this, you need to run the nix commands directly. Run the following:
nix --extra-experimental-features 'nix-command flakes' develop
This command will create a new Shell instance which has the Nix dependencies loaded. You will need to run commands through this prompt.