Support Python inline script metadata #5627
Unanswered
br3ndonland
asked this question in
Questions
Replies: 1 comment 1 reply
-
It's planned, cc @pyranota :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running Python scripts on Windmill, users don't necessarily need a requirements file. They can just import packages in their scripts and Windmill will fetch the dependencies from PyPI.
If users need specific versions of Python or dependencies, they can pin the versions inline as shown in the Windmill docs:
This is a nice feature, but the syntax that Windmill uses does not work with other tools.
Python already has a standard for inline script metadata that is supported by other tools like uv scripts. It would be great if Windmill also supported the Python inline script metadata standard.
The example above would look like this with inline script metadata:
Beta Was this translation helpful? Give feedback.
All reactions