pyenv
miniforge
pyenv | miniforge | |
---|---|---|
268 | 58 | |
39,232 | 6,380 | |
1.1% | 2.5% | |
9.0 | 8.6 | |
7 days ago | 12 days ago | |
Roff | Shell | |
MIT License | GNU General Public License v3.0 or later |
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.
pyenv
-
12 Steps to Organize and Maintain Your Python Codebase for Beginners
Personally, I’m a big fan of pyenv, so that’s what I’ll be using here. I’ve already got it installed on my laptop since it’s my go-to for work and personal projects.
-
Python Project Creation on Mac OS X
PyFabricate queries pyenv for the developer installed Python versions. These are the only ones from which PyFabricate can create Python virtual environments.
-
Why you should use environment managers to manage multiple versions?
We actively use environment managers pyenv, goenv and nvm for managing multiple versions of Python, Golang and NodeJS at Mantis. These provide us with an easily manageable, robust development environments.
-
Python Version Management with PyEnv
Management of different language versions and interpreters is somewhat of a gray area in the Pythonic world as of September 2024, but of course the community has "unofficial" solutions that circumvent this problem. One particular good one is PyEnv, that borrows heavily from ruby's solutions for version management, which is something ruby does very well. PyEnv is basically a collection of shell scripts that help to install and select a specific python version or interpreter, in both global and localized scopes. It works by inserting a directory of shims in the PATH and will rehash the shim according to specific conditions in order to map the python binary (as well as other setup such as mapping pip, switching the PYTHON_VERSION env, etc). This guide will focus on MacOS and the Debian-family linux distros, and will cover setup on both bash and zsh. It will not cover pyenv-win.
-
How Should You Use an Auto-Formatter?
In the case of pre-commit hooks, the runtime either has to be installed manually by every user (in the case of Husky) or is handled in Python (in the case of pre-commit). Running Node.js through Python/pyenv introduces an additional layer of complexity, which can lead to issues like OpenSSL library incompatibilities.
-
Create your own card game with OWASP® Cornucopia
Install pyenv or pyenv-win
-
Setting up a standalone SQLAlchemy 2.0 ORM application
Let's get some initial setup out of the way, starting by an empty directory and a virtual environment. Create a new directory with any name you like, and a virtual environment with your preferred tool. I personally use Pyenv. It is worth noting that this tutorial was created with Python 3.11.3, and SQLAlchemy version 2.0.27.
-
Install Asdf: One Runtime Manager to Rule All Dev Environments
If you have a requirement for multiple, specific Python versions, why not just use pyenv?
https://github.com/pyenv/pyenv
-
Setup and Use Pyenv in Python Applications
For more information visit: pyenv repository
- Pyenv – lets you easily switch between multiple versions of Python
miniforge
-
Escaping from Anaconda's Stranglehold on macOS
Miniforge [1] provides almost all the same benefits and features without the licensing headaches. The commercial/sign-up nagging is gone, and the GUI launcher is the only thing I've noticed is missing, but I don't use that as it's extraordinarily slow.
[1] https://github.com/conda-forge/miniforge
-
SageMath Installation
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" bash Miniforge3-$(uname)-$(uname -m).sh conda create -n sage sage python=3.11
- Python 3.12
- Installing Anaconda on ChromeOS using Linux
-
What is the difference between chat, cai-chat, and instruct, and how to use them?
Nope they don't use venv for any of the oobabooga# variants nor is it recommended for the git version. I'm using https://github.com/conda-forge/miniforge#mambaforge-pypy3 (better version of the recommended conda) for the git variant. The oobabooga* variant uses micro/miniconda (I suck with names) which you can easily drop into with cmd_?something? and does it all internally. Like whoever built that whole environment setup for the _windows/linux/mac did a great job.
-
Build llama.cpp on Jetson Nano 2GB
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh .
-
PSA: conda-libmamba-solver can cut two hours off of your Anaconda install, but has only 47 GitHub stars. It deserves more praise.
Mambaforge!
-
A quick guide to using mamba-forge for python virtual environment management
Just to further clarify: you don't need mamba to avoid the Anaconda distribution. The place you get mambaforge also supplies (and originally supplied) miniforge, which is miniconda with conda-forge set as the default channel. All the *forge installers do in this regard is automatically set conda-forge as the default (and only) channel, which is something one can do manually with miniconda.
- Recommendations for Data Science Workflow
-
path issue - cannot import modules in jupyter installed via pip3 (m1 mac)
I'd recommend using miniforge if you're comfortable with CLIs, otherwise https://www.anaconda.com/.
What are some alternatives?
Poetry - Python packaging and dependency management made easy
mamba - The Fast Cross-Platform Package Manager
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
conda - A system-level, binary package and environment manager running on all major operating systems and platforms.
Pipenv - Python Development Workflow for Humans.
virtualenv - Virtual Python Environment builder
tensorflow_macos - TensorFlow for macOS 11.0+ accelerated using Apple's ML Compute framework.
Pew - A tool to manage multiple virtual environments written in pure python
pip-tools - A set of tools to keep your pinned Python dependencies fresh.
SDKMan - The SDKMAN! Command Line Interface