zpy: Zsh helpers for Python venvs, with uv or pip-tools (github.com)
from Andy@programming.dev to python@programming.dev on 12 Apr 2024 17:13
https://programming.dev/post/12688371

cross-posted from: programming.dev/post/12688262

Hello!

This is my little Zsh frontend for Python venv and dependency management, as well as pipx-like app installation.

It’s not new, but I just made a new release that can use uv as a backend, making it much faster (and hipper, obviously).

If you have zpy installed, you can install uv with the pipz command, and from then on zpy will use uv instead of Python’s venv module and pip-tools:

% pipz install uv

If you have any questions, please ask!

I personally use it in combination with mise (for Python runtime management) and flit (for package publishing), but aim to keep it rather agnostic and interoperable.

#python

threaded - newest

cd_slash_rmrf@programming.dev on 13 Apr 2024 18:12 collapse

i was initially worried that this would be just another tool, but it actually looks like a pretty interesting and ergonomic take at a wrapper for common python dependency management workflow. excited to try it out