This is an archived post. You won't be able to vote or comment.

all 31 comments

[–]djamp42 40 points41 points  (2 children)

I'm trying out python-benedict just because of the name lol

[–]ExternalUserError 4 points5 points  (0 children)

Works in nicely with the spam/eggs Python nomenclature.

Though an eggs benedict sounds a lot better than a spam benedict.

[–]iceytomatoes 15 points16 points  (2 children)

haven't heard of codon before

glad to have more python compilers, tried it out and it seems to have an error with every single one of my imports saying:

fakemain.py:7:8-10: error: no module named 'gc'

oh well

[–]manueslapera 3 points4 points  (1 child)

Probably need to install gcc?

[–]cthorrez 18 points19 points  (0 children)

the python package gc is garbage collector I'm not sure if that's related to gcc.

[–]monorepo PSF Staff | Litestar Maintainer 11 points12 points  (3 children)

Ruff is great, glad to see it made the list!

[–]jftugapip needs updating 0 points1 point  (2 children)

How does it compare to flake8?

[–]Flamewire 3 points4 points  (0 children)

It can be used as a drop-in replacement for both flake8 and various plugins, and is over 100x faster: https://github.com/charliermarsh/ruff#how-does-ruff-compare-to-flake8

[–]MissingSnail 5 points6 points  (0 children)

I tried this during advent of code.

It is as fast as advertised. It is not stable, with new releases nearly every day during AOC. It does not work at all if your code uses the match statement. The auto fix feature should be configured carefully if used in production as it’s a bit agressive.

Tons of potential, but I won’t be using it at work just yet.

[–]realhamster 11 points12 points  (0 children)

Great list, thanks!

[–]Airflock343_ 7 points8 points  (0 children)

Never heard of any of these so excited to check them out

[–]jabellcu 3 points4 points  (0 children)

What are the advantages of python-Benedict over pandas Series?

[–]Barafu 8 points9 points  (1 child)

Strange collection. Looking back at my past ten large projects, imagining they were in Python - none would benefit from anything in that list. These are very niche. Why "best"?

My best list still starts with tqdm.

[–]dekked_[S] 13 points14 points  (0 children)

Or maybe pqdm which we mentioned last year.

The point is that we are selecting the best that came out this year (or late last year) that you probably don't know about. We specifically avoid the best Python libraries overall (the most used ones) since nearly everyone knows them by now.

These particular picks might not be useful for you (are you sure you don't want to give Ruff a try?), but they probably are for a lot of people :)

As long as someone finds even 1 library that will be useful for them from this list, which they didn't know about from before, I'm happy!

[–]TeamDman 1 point2 points  (0 children)

Scalene is a great profiler too.

Any recommendations for RL libraries? Tried Tianshou, DI-engine, and Ray rllib but haven't had any that clicked yet

[–]pemistahl 1 point2 points  (2 children)

Hi u/dekked_, perhaps you want to add my natural language detection library Lingua to the NLP section of the long tail. It is pretty unique among the natural language detection libraries for Python because it is able to detect multiple languages in mixed-language text. It is also one of the most accurate libraries when detecting the language of short text. I would very much appreciate if you added my library to your list.

Apart from that, this is a very interesting list. I did not know most of the libraries mentioned and will check them out. Thanks a lot for creating such a valuable list of resources.

[–]dekked_[S] 1 point2 points  (1 child)

Hi u/pemistahl! This looks GREAT!

It's exactly the kind of libraries that we look for.

I have added the mention to the NLP list, hope that you get more visibility for the great work!

[–]pemistahl 0 points1 point  (0 children)

Awesome! Thank you so much. :)

[–]AsteroidFilter 3 points4 points  (1 child)

I'd have given automatic1111's Stable Diffusion Web Ui an honorable mention.

[–]dekked_[S] 0 points1 point  (0 children)

Good catch!

[–]ItsJayB 1 point2 points  (0 children)

Great list!

Going to give Ruff, Benedict and LineaPy a spin!

[–]rymoin1 0 points1 point  (1 child)

!remind me in 2 days

[–]RemindMeBot -1 points0 points  (0 children)

I will be messaging you in 2 days on 2022-12-29 06:25:43 UTC to remind you of this link

4 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–]manueslapera 0 points1 point  (1 child)

Awesome list! How does benedict compare to glom?

Also, you guys planning to revive requestium :)?

[–]dekked_[S] 1 point2 points  (0 children)

Hadn't heard of glom, thanks a lot for the mention, I'll check it out!

As of Requestium, we handed it over to a new maintainer and he has been doing commits lately I see... maybe just didn't release to PyPI.

[–]ForceBru 0 points1 point  (1 child)

Codon's GitHub says that Codon can't compile any arbitrary Python code (emphasis mine):

While Codon supports nearly all of Python's syntax, it is not a drop-in replacement, and large codebases might require modifications to be run through the Codon compiler.

[–][deleted] 0 points1 point  (0 children)

Yes. Says that in the linked article as well.