codeinabox@programming.dev to Python@programming.devEnglish · 5 months agouv is the best thing to happen to the Python ecosystem in a decadeemily.spaceexternal-linkmessage-square11fedilinkarrow-up13
arrow-up13external-linkuv is the best thing to happen to the Python ecosystem in a decadeemily.spacecodeinabox@programming.dev to Python@programming.devEnglish · 5 months agomessage-square11fedilink
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up0·edit-25 months agoUsing the UV hashbang and a few doc strings for dependencies so you can run full on python scripts as executables is fucking crack.
minus-squaresynae[he/him]@lemmy.sdf.orglinkfedilinkEnglisharrow-up0·5 months agoI have an idea of what this might look like, but do you have any examples I can crib from?
minus-squarerainwall@piefed.sociallinkfedilinkEnglisharrow-up1·5 months agoThis article looks like it explains the process: https://mathspp.com/blog/til/standalone-executable-python-scripts-with-uv
minus-squareCannonFodder@lemmy.worldlinkfedilinkarrow-up1·5 months agoCool. But for God’s sake don’t run python code from the internet, that’s such a huge security risk,
Using the UV hashbang and a few doc strings for dependencies so you can run full on python scripts as executables is fucking crack.
I have an idea of what this might look like, but do you have any examples I can crib from?
This article looks like it explains the process:
https://mathspp.com/blog/til/standalone-executable-python-scripts-with-uv
Cool. But for God’s sake don’t run python code from the internet, that’s such a huge security risk,