Poetry
Python packaging and dependency management made easy (by python-poetry)
virtualenv
Virtual Python Environment builder (by pypa)
Poetry | virtualenv | |
---|---|---|
395 | 10 | |
31,852 | 4,834 | |
0.8% | 0.3% | |
9.5 | 8.6 | |
6 days ago | 6 days ago | |
Python | Python | |
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 2024-11-23.
-
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"]
- Passo a Passo: Criando Sua Primeira Biblioteca em Python com Poetry (Parte I)
-
Instrumenting Django Applications using OpenTelemetry
python and/or poetry
virtualenv
Posts with mentions or reviews of virtualenv.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-09.
-
Setup and use Virtualenv in Python Applications
For more information visit: virtualenv documentation.
-
How to Create Virtual Environments in Python
Python's venv module is officially recommended for creating virtual environments since Python 3.5 comes packaged with your Python installation. While there still are additional older tools available, such as conda and virtualenv, if you are new to virtual environments, it is best to use venv now.
-
Integrating Python's Virtualenv with Fish shell Without Overcomplicated Frameworks
Despite these attractive attributes, many developers I've come across don't prefer Fish shell, primarily due to integration gaps with tools like Python's virtualenv. So, in this article, I'm offering a simple solution for automatic virtualenv activation for Fish shell, steering clear of resource-intensive frameworks like oh-my-fish that often slow down the shell.
-
How Python virtual environments work
`virtualenv` still exists and is still actively developed. It's true that Python 3 ships with `venv` but I think `virtualenv` offers some additional features.
https://github.com/pypa/virtualenv
-
macOS Dev Setup
virtualenv is a tool that creates an isolated Python environment for each of your projects.
-
How to build your own LinkedIn Profile Scraper in 2022
Python is the chosen language for this tutorial and as you can guess some precautions should be done to make sure that the environment is setup correctly and the main OS I'll use is Ubuntu(a Linux distro) virtual environment is a tool that helps you to isolate your code from the rest of the system. It is a good idea to create a virtual environment for your project.
-
What is the official "preferred" way to install pip and virtualenv systemwide?
$ curl -O https://github.com/pypa/virtualenv/raw/master/virtualenv.py$ python virtualenv.py my_new_env$ . my_new_env/bin/activate(my_new_env)$ pip install ... Or something entirely different?
-
Fish 3.4.0
I've been using Fish for years and spend my entire day working with Python. Python's virtualenv has an `activate.fish` command, I've never had any problems with it. Additionally, we have a ton of internal tooling built in a fabfile, so I've written a couple of snippets of fish that automatically activate that .venv (Poetry managed) whenever I cd into a directory that has one, and also expands a bunch of env vars into the shell session. I've also got this feature request in on the virtualenv repo in the hope that one day we can have activate.fish emit an event - https://github.com/pypa/virtualenv/issues/1456
-
What happened when your CI is stopping you from releasing?
We of cause, like all good developers do, put the error message online and look for clues, we quickly found a GitHub issue and boi, we are not the only souls that got crushed by a "timely" release of virtualenv just a few hours before us. Since the lastest version of virtualenv got installed every time we create the CI build job on Travis, it fails even we have done nothing. Of cause we didn't point fingers at other maintainers, they are just as hardworking as us and it's human to make mistakes. We are faced with 2 options, roll back to the previous release or wait for the patch of virtualenv to get released. As the devs of virtualenv did a lighting fast patch, we have chosen option 2.
- How to make a Python package in 2021
What are some alternatives?
When comparing Poetry and virtualenv you can also consider the following projects:
Pipenv - Python Development Workflow for Humans.
PDM - A modern Python package and dependency manager supporting the latest PEP standards
pyenv - Simple Python version management
hatch - Modern, extensible Python project management
rez - An integrated package configuration, build and deployment system for software
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.
Autoenv - Directory-based environments.
conda - A system-level, binary package and environment manager running on all major operating systems and platforms.
virtualenvwrapper