Yes, many things can use inline script metadata.
But a script only has one shebang.
Perhaps a case for standardizing on an executable name like `python-script-runner` that will invoke uv, pipx, etc. as available and preferred by the user. Scripts with inline metadata can put it in the shebang line.
I see it has been proposed: https://discuss.python.org/t/standardized-shebang-for-pep-72....
Perhaps a case for standardizing on an executable name like `python-script-runner` that will invoke uv, pipx, etc. as available and preferred by the user. Scripts with inline metadata can put it in the shebang line.
I see it has been proposed: https://discuss.python.org/t/standardized-shebang-for-pep-72....