python-poetry Dependency Management System
(Redirected from Python Poetry)
Jump to navigation
Jump to search
A python-poetry Dependency Management System is a Python dependency management system.
- Example(s):
- python-poetry v1.1.13 (~2022-02-10) [1].
- ...
- Counter-Example(s):
- See: Dependency Management, Software Packaging System.
References
2023
- GBard
- Python Poetry is a dependency management and packaging tool for Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Poetry offers a lockfile to ensure repeatable installs, and can build your project for distribution.
- There are several benefits to using Python Poetry for dependency management:
- Ease of use: Poetry is very easy to use. It has a simple command-line interface and a well-written documentation.
- Powerful dependency resolver: Poetry's dependency resolver is very powerful. It can handle complex dependency relationships and always finds a solution if one exists.
- Support for virtual environments: Poetry supports virtual environments by default. This helps to isolate your project's dependencies from other Python projects on your system.
- Reproducible installs: Poetry uses a lockfile to ensure that your dependencies are installed in the same way every time. This makes it easy to reproduce your project's environment on other machines.
2022
- https://github.com/python-poetry/poetry
- QUOTE: Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere.
2022
- https://betterprogramming.pub/5-reasons-why-poetry-beats-pip-python-setup-6f6bd3488a04
- QUOTE: My setup for python projects for the longest time has been the following:
- pyenv for managing python versions.
- venv for managing virtual environments (included in python3).
- pip for dependency handling, and publishing.
- As part of my usual stack I also develop a lot in Javascript or Java and I always envied the huge amount of features other package managers and build tools I use daily in my stack like npm, yarn or gradle had in comparison to pip.
- Enter Poetry, poetry is a tool for dependency management and packaging in python that uses pip behind the scenes, but it bakes a ton of functionality on top. So the title is a little misleading as we are still using pip indirectly.
- QUOTE: My setup for python projects for the longest time has been the following: