pvp
zpy
pvp | zpy | |
---|---|---|
3 | 35 | |
11 | 67 | |
- | - | |
0.0 | 9.1 | |
over 2 years ago | 3 days ago | |
Shell | Shell | |
MIT License | Do What The F*ck You Want To Public License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pvp
-
A not so unfortunate sharp edge in Pipenv
I use a small shell script I wrote in jest a year ago (https://github.com/senko/pvp), it boils down to virtualenv and pip, and it basically solves all Python package management issues for me.
I was burned by pipenv before (naively trying to use it because a certain prominent member of Python community hyped it up, and I hadn't known he'd gone off the rails). I can find no redeeming qualities to it whatsoever, and it scarred me enough that I don't want to touch other newer tools (poetry, pdm, whatever) with a 10ft pole.
I find solace in pip and virtualenv just working and not trying to be too clever.
I pin all my immediate reqs, and if there's a conflict with indirect deps (which happened maybe once or twice), I figure out the version I need and pin that manually.
For packaging I rely on specialized tools that do just that (build, twine), and don't need one-with-everything spaceship of a tool.
I also develop in Node and have suffered much more grief by npm. I lost count of the number of times where I had to rm-rf node modules and npm cache, rerun and hope for the best.
-
Pipenv or venv?
I only use and swear by pvp.
-
Introducing PvP - the ultimate Python virtualenv and package manager
So I got y'all a little early Xmas present: PvP, the Python package manager to end all Python package managers!
zpy
-
This Week In Python
zpy – Zsh helpers for Python venvs, with uv or pip-tools
-
Canonical blocked installing, or uninstalling pip packages on Ubuntu 23.04, what it can be done to solve these issues?
If your interactive shell is zsh, you could give my project zpy a try, particularly the function pipz that it provides, which is a lightweight pipx clone with great completions and good speed.
-
As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/…
I can immediately see some things rye is doing differently, like keeping the venvs themselves free of pip and pip-tools. I wonder in your explorations if you've tried rtx for managing python installations, or my own zpy wrapper of pip-tools+venv (which can also replace pipx).
-
How do I build up my package's extra dependencies from groups of dependencies in a pyproject.toml?
My patterns in this regard aren't exactly mainstream, as I use flit+pip-tools+zpy (the latter being my own Zsh interface for Python dependency and environment operations), but FWIW here's how I go about nested requirements.
-
What is your workflow for managing virtual environments for personal projects?
For managing venvs and dependencies and apps, I use my own frontend to pip-tools + venv, zpy. And for running tasks which require an activated venv, I use nox.
-
One Does Not Simply 'pip install'
If anyone's interested in a pipx clone with excellent tab completion, I would appreciate any feedback on pipz, a function of my zsh plugin for python environment and dependency management: zpy
https://github.com/andydecleyre/zpy
-
pipenv or virtualenv ?
For concise and practical interactive usage of those tools, with excellent tab completion, I made the Zsh frontend zpy.
-
How to know what a package depend on when pip is installing it?
I also use my own Zsh wrapper functions with it, so for example: https://i.imgur.com/YX8bWy8.png
-
I moved away from Poetry for Python
I'm a big fan of (and small contributor to) pip-tools, but both poetry and pipenv offer management of more stuff, which understandably appeals to folks seeking a simple comprehensible workflow.
Pip-tools is also a bit lower level, offering flexibility and compatibility which I relish, but also requiring more attention from the user to set things up as they wish.
If you or anyone else enjoying pip-tools is a Zsh user and interested in trying out my higher level functions to ease interactive use of pip-tools, venvs, and also isolated app installs (like pipx), I would love some feedback on zpy: https://github.com/AndydeCleyre/zpy
I'm very happy to answer any questions about it right here or as GitHub issues.
-
Any recent updates in dependency management?
This is FAR from some big mainstream thing, but I use (and am happy to answer any questions about) my own Zsh frontend to venv+pip-tools+pip, zpy.
What are some alternatives?
pip-tools - A set of tools to keep your pinned Python dependencies fresh.
hatch - Modern, extensible Python project management
heroku-buildpack-python - Heroku's buildpack for Python applications.
agkozak-zsh-prompt - A fast, asynchronous Zsh prompt with color ASCII indicators of Git, exit, SSH, virtual environment, and vi mode status. Framework-agnostic and customizable.
wheezy.template - A lightweight template library.
taskipy - the complementary task runner for python
zplug - :hibiscus: A next-generation plugin manager for zsh
tox-pin-deps - Run tox environments with strictly pinned dependencies (and no project or code changes).
rye - a Hassle-Free Python Experience
pip - The Python package installer
zsh-defer - Deferred execution of Zsh commands