pyenv
asdf
pyenv | asdf | |
---|---|---|
268 | 365 | |
39,232 | 21,947 | |
0.9% | 1.2% | |
9.0 | 6.2 | |
6 days ago | 27 days ago | |
Roff | Shell | |
MIT 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.
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
asdf
-
Iamcco/Markdown-preview.nvim: Markdown preview plugin for (neo)Vim
I switched from this to https://github.com/toppair/peek.nvim as it's in lua and does more a less the same thing.
Combine that with https://asdf-vm.com for the deno runtime.
-
The Ultimate Guide to Node.js Version Managers: NVM, NVS, fnm, Volta, and asdf | Part 3
Official asdf Documentation — a comprehensive guide to installing, configuring, and using asdf.
-
Escaping from Anaconda's Stranglehold on macOS
Reckon they'd understand using something like asdf instead?
https://asdf-vm.com
- Ask HN: Developer PC setup automations for company owned devices
-
Instalando asdf e Golang no Linux
Sobre o asdf
- Menggunakan IEx, Shell Interaktif di Elixir
-
GIL Become Optional in Python 3.13
Looks like pyenv does the same thing as asdf, except only for python.
https://github.com/asdf-vm/asdf
And here's a list of everything it supports: https://github.com/asdf-vm/asdf-plugins/tree/master/plugins
-
How to use mise with FVM?
Flutter plugin for the asdf version manager.
-
Shims in Web Development
As a rubyist, you will need to manage multiple ruby runtime versions on your development machine. You can install each binary manually or you can use a runtime version manager asdf. Asdf allows you to install and switch between different ruby interpreter versions easily. asdf installs the executables using plugins while also creating shims inside ~/.asdf/shims. Running the ruby executable results in running the shim instead. The version of the executable asdf uses is defined in ~/.tool-versions.
-
asdf (what?? 🤔)
for another other details refer to documentation on asdf-vm.com
What are some alternatives?
Poetry - Python packaging and dependency management made easy
SDKMan - The SDKMAN! Command Line Interface
Pipenv - Python Development Workflow for Humans.
rbenv - Manage your app's Ruby environment
miniforge - A conda-forge distribution.
volta - Volta: JS Toolchains as Code. ⚡
virtualenv - Virtual Python Environment builder
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
Pew - A tool to manage multiple virtual environments written in pure python
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
mise - dev tools, env vars, task runner