codeinabox@programming.dev to Python@programming.devEnglish · 4 months agouv is the best thing to happen to the Python ecosystem in a decadeemily.spaceexternal-linkmessage-square8fedilinkarrow-up13
arrow-up13external-linkuv is the best thing to happen to the Python ecosystem in a decadeemily.spacecodeinabox@programming.dev to Python@programming.devEnglish · 4 months agomessage-square8fedilink
minus-squarebeeng@discuss.tchncs.delinkfedilinkarrow-up0·edit-24 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·4 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·4 months agoThis article looks like it explains the process: https://mathspp.com/blog/til/standalone-executable-python-scripts-with-uv
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