It's not true that Python doesn't have anything akin to package.json scripts. Bonus points: all is executed within project's virtualenv.
While poetry is the way to go today, I've got my eyes on pdm. https://github.com/pdm-project/pdm
Pyproject.toml is a pep standard so it will be easy to move around tools.