This is built-in to pyproject.toml
https://packaging.python.org/en/latest/guides/writing-pyproj...supported by uv for example
https://docs.astral.sh/uv/concepts/projects/init/#packaged-a...
Benefit is you can just type the command, no need to prepend pyqwe or anything.
See also justfile for a non-python specific tool https://github.com/casey/just
Which I just learned can be installed with Python! https://pypi.org/project/rust-just/