pip
mamba
Our great sponsors
pip | mamba | |
---|---|---|
108 | 34 | |
9,282 | 6,253 | |
1.2% | 5.2% | |
9.8 | 9.5 | |
about 17 hours ago | 7 days ago | |
Python | C++ | |
MIT License | BSD 3-clause "New" or "Revised" 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.
pip
-
How to Create Virtual Environments in Python
Whenever you are working on a Python project that has external dependencies installed with pip, it is strongly recommended to first create a virtual environment.
-
Boring Python: dependency management (2022)
Unfortunately that feature is easy to break: https://github.com/pypa/pip/issues/9644
-
pip VS instld - a user suggested alternative
2 projects | 9 Dec 2023
-
sudo pip install should be illegal
I think I did my part https://github.com/pypa/pip/issues/6409
-
Can't seem to install Python YAML support
$ sudo pip install y$ sudo pip install yaml WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. ERROR: Could not find a version that satisfies the requirement yaml (from versions: none) ERROR: No matching distribution found for yaml
-
Bun v0.6.0 – Bun's new JavaScript bundler and minifier
What are you implying will happen?
Using the build-in tools, you can save the exact versions of dependencies (i.e. a lock file) using "pip freeze >dependencies.txt". This should give you the exact same set of packages in two years' time.
If you want to be even more sure, you can also store hashes in the lock file. This has to be generated by a separate tools at the moment [1][2] but can be consumed by the built-in tools [3], so "pip install -r requirements.txt" is still all you need in two years' time.
[1] https://github.com/pypa/pip/issues/4732
[2] https://pip-tools.readthedocs.io/en/latest/#using-hashes
[3] https://pip.pypa.io/en/stable/topics/secure-installs/#hash-c...
-
My Goldilocks Python Setup: pyenv, pipx, and pip-tools
Here’s the issue, https://github.com/pypa/pip/issues/11664. I think the idea would be to have some file/json description of environment that could be passed to pip to allow it to fully cross compile. They are open to supporting it just needs contributor to be found to implement it and go through review/discussion.
-
Remote Code Execution Vulnerability in Google They Are Not Willing to Fix
To be fair the only alternative is fixing Python, and even then you still would have to wait a good 5 years at least for all the old Python versions to dwindle.
It doesn't look like the fixing effort is progressing very quickly: https://github.com/pypa/pip/issues/8606
To their credit, at least they didn't close it "works as intended" which I imagine a lot of projects would.
-
Pip 23.1 Released - Massive improvement to backtracking
Another good benchmark to trying to resolve apache-airflow[all]==1.10.13 using the state of PyPi on 2020-12-02, I give instructions here on how to reproduce that workflow: https://github.com/pypa/pip/issues/11836. Including a benchmark how how many extra packages your resolver should visit.
- will upgrading pip break things?
mamba
-
Minimal implementation of Mamba, the new LLM architecture, in 1 file of PyTorch
>"everyone" seems to know Mamba. I never heard of Mamba
Only the "everybody who knows what mamba is" are the ones upvoting and commenting. Think of all the people who ignore it. For me, Mamba is the faster version of Conda [1], and that's why I clicked on the article.
https://github.com/mamba-org/mamba
-
Towards a New SymPy
Yes, this is a big disadvantage. But have you tried Mamba that aims at implementing Anaconda more efficiently? It works really well in most cases.
https://mamba.readthedocs.io/
-
Why are the bioconda bioconductor packages so slow to update?
Because conda is very slow at resolving dependencies. Mamba (https://github.com/mamba-org/mamba) is faster if that is your goal
-
Is pip gaining on conda for python libs?
use mamba instead
-
Real-world examples of std::expected in codebases?
We started using tl::expected in https://github.com/mamba-org/mamba/ since the beginning of this year and some other related projects like https://github.com/mamba-org/powerloader . I don't know much other big open-source codebases that use that specific lib.
- Mamba: A Drop-In Replacement for Conda Written in C++
-
What's Great about Julia?
Great writeup. Minor comment about the portion of the post mentioning Conda being glacially slow: Mamba [1] is a much better drop-in replacement written in C++. Not only is it significantly faster, but error messages are much more sane and helpful.
That being said, I do agree that Pkg.jl is much more sleek and modern than Conda/Mamba.
[1]: https://github.com/mamba-org/mamba
- Mamba Reaches 1.0
-
Given Rust’s rapidly growing popularity and wide range of use cases, it seems almost inevitable that it will overtake Python in the near future.
I thought that python could live a little longer when I learned about mamba. But then I found out it is written in C++? Why write a package manager for a dying language in a language that is almost dead???
-
Does anyone use virtual environments (Conan's virtual env. or Conda's) for C++
Yes, I use Conda enviroments (actually I use Mamba to manage them now).
What are some alternatives?
Poetry - Python packaging and dependency management made easy
miniforge - A conda-forge distribution.
PDM - A modern Python package and dependency manager supporting the latest PEP standards
conda - A system-level, binary package and environment manager running on all major operating systems and platforms.
pyenv - Simple Python version management
pip-tools - A set of tools to keep your pinned Python dependencies fresh.
conda-lock - Lightweight lockfile for conda environments
wheel - Adoption analysis of Python Wheels: https://pythonwheels.com/
pyre-check - Performant type-checking for python.
Curdling - Concurrent package manager for Python
quetz - The Open-Source Server for Conda Packages