pigar
pip-upgrade
pigar | pip-upgrade | |
---|---|---|
1 | 4 | |
1,580 | 33 | |
- | - | |
7.0 | 6.0 | |
25 days ago | 3 months ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT 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.
pigar
-
How to improve Python packaging, or why 14 tools are at least 12 too many
I am the author of pigar[1], and I am using Go a lot, Go has its problems too, but I am a fan of `import "url"` style import statement, developers can write code first, and sync the dependency later with `go mod tidy`.
To fix problems in Python's world, Python's community should simplify the tools and cultivate a habit to declare the dependency first(maybe this should be mandatory) and use it later.
[1]: https://github.com/damnever/pigar
pip-upgrade
- My first code PR to an open source project and it was to optimize Pip's new resolver!
-
Pip update all with dependency management
Hey guys, I found a neat little project a few months ago and it's been super helpful to me, so I figured that I'd share it here. It's called pip-upgrade-tool and as the title says, it allows for an "upgrade all" mechanic in pip, since it currently doesn't have an official way of doing this. There is the way to upgrade everything by piping pip freeze to grep and cut and xargs, but that doesn't take into account the dependencies that each package has. This project, on the other hand, does take into account dependencies, just like a normal package manager. After installation with pip3 install pip-upgrade-tool, you can just run pip-upgrade in a terminal to upgrade everything. This package can run in and out of virtual environments, and has the ability to exclude packages as well. I actually contributed to it when I first found out about it, and added the ability to use a configuration file for permanent configurations (e.g. permanent excluded packages). Hope you guys find this as useful as I do!
-
How often are you supposed to update Python and libraries?
I really like to use the pip-upgrade pip package to upgrade all of my packages, it doesn't break dependencies like normal pip would do with something like pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U. Here's the link: https://github.com/realiti4/pip-upgrade
-
Contributing to FOSS projects
https://github.com/realiti4/pip-upgrade - Updates all packages in pip, and takes into account dependencies, something that pip cannot currently do
What are some alternatives?
publishing-python-packages - Examples and exercises for Publishing Python Packages from Manning Books 🐍 📦 ⬆️
rules_python - Bazel Python Rules
req2toml - Convert requirements.txt to poetry toml 🚀
FetchCord - FetchCord grabs your OS info and displays it as Discord Rich Presence
sigstore-python - A Sigstore client for Python
doorstop - Requirements management using version control.
pip-audit - Audits Python environments, requirements files and dependency trees for known security vulnerabilities, and can automatically fix them
legendary - Legendary - A free and open-source replacement for the Epic Games Launcher
roadmap - Public roadmap for the Poetry package manager
pip - The Python package installer
pragmatic-debian-packages - Pragmatic Debian packaging
ImaginaryInfinity-Calculator