nix-shell and this will create the necessary Python 3.12 environment needed to run the python script on a NixOS (25.11) system.
this project.