About Poetry
Hint
If you are familiar with poetry
, you can skip it
When you are writing a library you need:
- Dependencies manager (if your project depends on another libraries)
- Project builder
- Tool that publishes the project to PyPI
- A tool that allows isolating dependencies between projects
And a common solution is:
pip
setuptools
twine
venv
And it's quite easy solution (but actually it wasn't so clear for me few years ago 😅)
Poetry
Sounds amazing but in fact Poetry is a replacement for all these 4 tools, and it gets it easier and more user-friendly.
It's like a npm
or cargo
So this template uses Poetry for dependency manager, project build, publishing tool and dependencies isolating
Read more about dependencies managing at Manage dependencies