DEV Community

Discussion on: Productive Python with Poetry

Collapse
 
rhymes profile image
rhymes

Thanks Dylan, these series has been really informative! I'll definitely take a look at Poetry.

The fact that it can export to requirements.txt shouldn't make deploy a big deal, most PaaS services support requirements.txt. I guess that if it becomes a bigger project they'll add support for its own lock files, the same way it happened for Pipenv.

Didn't know about hatch and dephell seems a tool created by someone that was so fed up with the current state of package management that they said to themselves "f*ck it, I'm going nuclear, I'll support everything"

Collapse
 
rhymes profile image
rhymes

I'm testing it already with a project, the UI is much better and the tool seems faster.

The poetry.lock is also much more readable for a human (it's common that one wants to know exactly which version of a transitive dependency is installed).

poetry init was a great experience with its search and everything. poetry update is insanely faster than Pipenv's. Search and publish are game changers. Love the version command as well.

The export functionality definitely needs some love but I guess I'm a convert now, thanks again Dylan! :D

Collapse
 
dbanty profile image
Dylan Anthony

I’m glad you tried it and liked it! Pretty sure there are already improvements to export underway, it’s just a matter of time.

Another great thing I didn’t mention is that the code quality is very good. While they don’t have the Python API documented yet, it didn’t take me long at all to figure out how to make a custom build script which adds some extra export functionality just by reading the code.

Thread Thread
 
rhymes profile image
rhymes

it didn’t take me long at all to figure out how to make a custom build script which adds some extra export functionality just by reading the code

wow that's great!