Poetry
Python packaging and dependency management made easy (by python-poetry)
pyenv
Simple Python version management (by pyenv)
Poetry | pyenv | |
---|---|---|
397 | 268 | |
32,208 | 40,224 | |
1.1% | 1.4% | |
9.5 | 9.2 | |
6 days ago | 5 days ago | |
Python | Roff | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Poetry
Posts with mentions or reviews of Poetry.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-01-08.
- 使用 uv 管理 Python 環境
-
🚀 Launching a High-Performance DistilBERT-Based Sentiment Analysis Model for Steam Reviews 🎮🤖
Package Manager: Poetry is recommended for managing dependencies, though pip can also be used.
-
Software Engineer Interviews - #3 OEIS CLI
Since this is a coding challenge, I will be using Poetry to help me create the structure of the project, and to facilitate anyone running it. You can check how to install and use Poetry on their website.
- Resumindo vídeos do Youtube com auxílio de LLM's
-
Personal Finance Management App with Django, HTMX, Alpine, Tailwind and Plaid
For managing dependencies in this project, I used Poetry. Poetry simplifies the package management process and automates much of the heavy lifting involved with dependencies. It relies on the pyproject.toml file, which is now the standard for defining build requirements in modern Python projects.
-
Django project setup - Part 1
# Palindrome project Project used to explain my view on a django project architecture ## Tools, libs, etc. Some time related files. Versions on Poetry. - [Python](https://www.python.org/) Programming languange - [django-environ](https://django-environ.readthedocs.io) Manage .envs in Django - [Poetry](https://python-poetry.org/) Python packaging and dependency management - poetry.lock - pyproject.toml - [Django](https://www.djangoproject.com/) Web framework written in Python - [Docker](https://www.docker.com/) Manage containers for dev environment - compose.yaml - compose/dev/Dockerfile - compose/dev/start - .env - [Just](https://just.systems/) encapsulate commands for easier use - justfile ## Dev environment setup 1. Install Just, Docker and Poetry(opcional). 2. Copy .env.example to .env, no need for edtion. 3. Certified that docker is up and running 4. `$ just build` ## Run the server for development 1. Certified that docker is up and running 2. `$ just runserver` You can access on http://0.0.0.0:8000/
-
The Simplest Data Architecture
Tools like Poetry aim to fix this problem, but vanilla pip can do just fine.
-
Protected ML APIs with Flama JWT Authentication
Our first step is to create our development environment, and install all required dependencies for this project. The good thing is that for this example we only need to install flama to have all the necessary tools to implement JWT authentication. We'll be using poetry to manage our dependencies, but you can also use pip if you prefer:
-
Cursor Pagination Example
I use Python Poetry as the package management tool, so for this example I asume you have it already. First thing to do is install the dependencies with poetry install. You could also use pip to install them with: pip install pymongo loguru.
-
🚀 Deploying a 3-tier Application with Docker and Nginx Proxy Manager 🌐
# Official Python runtime as a parent image FROM python:3.10 RUN set -xe # Install Poetry RUN curl -sSL https://install.python-poetry.org | python3 - --git https://github.com/python-poetry/poetry.git@master ENV PATH="/root/.local/bin:$PATH" # Confirm poetry version RUN poetry --version # Set up the working directory WORKDIR /app # Copy and install dependencies COPY . /app RUN poetry install EXPOSE 8000 # Start the application CMD ["bash", "-c", "poetry run bash ./prestart.sh && poetry run uvicorn app.main:app --reload --host 0.0.0.0"]
pyenv
Posts with mentions or reviews of pyenv.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-10-30.
-
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
What are some alternatives?
When comparing Poetry and pyenv you can also consider the following projects:
Pipenv - Python Development Workflow for Humans.
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
PDM - A modern Python package and dependency manager supporting the latest PEP standards
hatch - Modern, extensible Python project management
miniforge - A conda-forge distribution.
pip-tools - A set of tools to keep your pinned Python dependencies fresh.
virtualenv - Virtual Python Environment builder
Pew - A tool to manage multiple virtual environments written in pure python
conda - A system-level, binary package and environment manager running on all major operating systems and platforms.
SDKMan - The SDKMAN! Command Line Interface