4 ms·
This is really cool, thanks for sharing. uv with PEP 723 inline dependencies is such a nice way to work, isn’t it. Combined with VS Code’s ‘# %%’-demarcated no
by darkteflon 1y ago
This is really cool, thanks for sharing.
uv with PEP 723 inline dependencies is such a nice way to work, isn’t it. Combined with VS Code’s ‘# %%’-demarcated notebook cells in .py files, and debugpy (with a suitable launch.json config) for debugging from the command line, Python dev finally feels really ergonomic these last few months.
- SafeDusk 1y agoYes, uv just feels so magical that I can't stop using it. I want to create the same experience with this!
- jychang 1y ago> Combined with VS Code’s ‘# %%’-demarcated notebook cells in .py files What do you mean by this?
- ludwigschubert 1y agoIt’s a lighter-weight “notebook syntax” than full blown json based Jupyter notebooks: https://code.visualstudio.com/docs/python/jupyter-support-py#_jupyter-code-cells https://code.visualstudio.com/docs/python/jupyter-support-py...
- darkteflon 1y agoYep, lets you use normal .py files instead of using the .ipynb extension. You get much nicer diffs in your git history, and much easier refactoring between the exploratory notebook stage and library/app code - particularly when combined with the other stuff I mentioned.