I would unashamedly class myself as a Pythonista. But it doesn’t take long for you to realise that pip isn’t enough on its own; different projects need different library¹ versions and some libraries don’t play nice with each other.

To some extent, you can get away with replacing pipenv with poetry and have everything still work!

Once you’re ready to package your code, a simple poetry build and poetry publish is all it takes to send your beautiful new package off to PyPI (or another package index of your choice).

If you’re never going to package up your code for others to import and use, then Pipenv is a well-documented and well-supported way to go.

Related Articles