Live data from Hacker News

Current State of Python Packaging

stefanoborini.com

21–30 of 77 posts

Re: Current State of Python Packaging

#21
post #6

Earlier quoted context omitted.

Racket has by far the best I have ever used. Here is everything you need to know about it in a 7 minute read. https://docs.racket-lang.org/pkg/getting-started.html

Yes I'm familiar with Racket.

It good?

Re: Current State of Python Packaging

#22

I get mad at the Haskell tools I use every day, and then I remember that nobody else is really in better shape.

This. I still use pip, venv and setup tools and I've packaged everything from third party dlls given by a supplier to my flask applications with html and everything. I keep seeing pipenv and poetry and wonder how all these came about? Is it because people come from other languages and want to do this the way they did it in those?

May I know if you package 3rd party dlls in your flask app, does it run on *nix platform?

Re: Current State of Python Packaging

#23
post #15

I never heard of poetry before and normally use pipenv. The author states that poetry is more popular than pipenv, is that true? I did a quick comparison: https://github.com/sdispater/poetry watchers: 77 stars: 4,690 forks: 318 https://github.com/pypa/pipenv watchers: 348 stars: 17,207 forks: 1,268 I don't know if the authors statement 'Most people seem to prefer Poetry.' is true.

Anecdote, but everyone I personally know in the Python-sphere hates pipenv (and the creator) for various reasons. On another forums community I’m a member of the recommended tool for python packaging is poetry.

You are right about the hates for pipenv, but I don't know that the creator hates it too.

edit: sorry I misunderstood, the creator of pipenv doesn't hate pipenv

Re: Current State of Python Packaging

#25
post #15

I never heard of poetry before and normally use pipenv. The author states that poetry is more popular than pipenv, is that true? I did a quick comparison: https://github.com/sdispater/poetry watchers: 77 stars: 4,690 forks: 318 https://github.com/pypa/pipenv watchers: 348 stars: 17,207 forks: 1,268 I don't know if the authors statement 'Most people seem to prefer Poetry.' is true.

I moved over to Poetry recently. Pipenv traded on Reitz's cache as the Reqeusts author and got a lot of adopters, perhaps a little before the software was ready for the primetime. I only tangentially keep my finger on the pulse of the Python community but it certainly appears that they're souring on him [0], [1].

I wouldn't say more popular, but it's certainly gaining traction in a relatively short time and I prefer it. I haven't used it in anger but it certainly seems faster that Pipenv.

[0] - https://vorpus.org/blog/why-im-not-collaborating-with-kennet...

[1] - https://www.reddit.com/r/Python/comments/8kjv8x/a_letter_to_...

Re: Current State of Python Packaging

#26
post #23

Earlier quoted context omitted.

Anecdote, but everyone I personally know in the Python-sphere hates pipenv (and the creator) for various reasons. On another forums community I’m a member of the recommended tool for python packaging is poetry.

You are right about the hates for pipenv, but I don't know that the creator hates it too. edit: sorry I misunderstood, the creator of pipenv doesn't hate pipenv

I'm pretty sure pulsetile meant that people in the Python-sphere hate the creator of pipenv, not that the creator of pipenv hates pipenv.

Re: Current State of Python Packaging

#27
post #23

Earlier quoted context omitted.

Anecdote, but everyone I personally know in the Python-sphere hates pipenv (and the creator) for various reasons. On another forums community I’m a member of the recommended tool for python packaging is poetry.

You are right about the hates for pipenv, but I don't know that the creator hates it too. edit: sorry I misunderstood, the creator of pipenv doesn't hate pipenv

He meant that the creator is hated, not that creator hates the program.

Re: Current State of Python Packaging

#28

I get mad at the Haskell tools I use every day, and then I remember that nobody else is really in better shape.

Web browsers have the best software distribution story. You type a natural language query about what you want, click and it installs and runs the latest version of everything you need, usually in less than a second.

Re: Current State of Python Packaging

#29
I'm not sure what Poetry tries this to simplify on the development side... using venv and pip/requirements.txt is simple enough for me. And you don't even have to do it by hand, Pycharm will do it for you and activate the right venv in the shell tab. Distribution is something else, but I wouldn't expect users to type commands in a shell anyway, so there is only a need for one-click installers and/or self contained executables, where poetry does nothing it seems (Nuitka/PyInstaller and other solutions will help here).
Post reply on HN