I think this is the most common pattern where you wish to execute a script based on a requirements file: https://ofek.dev/pyapp/latest/examples/#dependency-file-with...
This is magic.
Will let you know if I have any avenues for potential improvement, etc.