zpy: Zsh helpers for Python venvs, with uv or pip-tools - eviltoast

cross-posted from: https://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.

  • cd_slash_rmrf@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    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