TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Top Python libraries of 2020 you should know about

278 pointsby truedukeover 4 years ago

16 comments

physicsgraphover 4 years ago
Summary of list:<p><pre><code> * Typer * Rich * Dear PyGui * PrettyErrors - formatting and coloring error messages in the terminal * Diagrams * Hydra - build configurations in a composable manner, and override certain parts from the command line or config files. * OmegaConf * PyTorch Lightning * Hummingbird - compile your trained traditional ML models into tensor computations * HiPlot - high-dimensional data using parallel plots * Scalene * Norfair - real-time object tracking; the real reason for this post, as it is created by the company</code></pre>
评论 #25577392 未加载
评论 #25577655 未加载
评论 #25577818 未加载
krickover 4 years ago
Absolutely off-topic, but can somebody advise on the best resource to learn the most up-to-date Python for somebody who is mentally stuck on Python 2.7-3.2? I always referred to Python when I needed to quickly write some tool for personal use, but never professionally, even though I am a professional programmer. And recently while writing something like this I was struck with how bad <i>my</i> Python actually is in 2020, compared to how other languages I know currently look. Quick lookup shows that it seemingly has pretty powerful typehints system now, but I never used it. I have no idea, which parts of standard library you aren&#x27;t supposed to <i>actually</i> use anymore, and use some well-established 3rd part library instead (like it was with requests). And stuff like that. And is it even a good idea, to finally switch to the newest versions of Python and to never look back?<p>So, basically, what&#x27;s the best way to catch up?
评论 #25578232 未加载
评论 #25580113 未加载
评论 #25592437 未加载
评论 #25578793 未加载
评论 #25579573 未加载
pettersover 4 years ago
I&#x27;ve been using Python a lot, both professionally and privately. Been contributing to Cpython.<p>Not sure I like the language. The best dependency manager (Poetry) is buggy. The default interpreter is slow.<p>But I love the ecosystem of third party packades. Thank you! Python will be around for a long time.
评论 #25579303 未加载
评论 #25578646 未加载
评论 #25585147 未加载
评论 #25577703 未加载
jedbergover 4 years ago
Thank you to the author of this list. I pay pretty close attention, and yet most of these libraries were new to me and I can see myself using 1-5 right away! This was a great list.
评论 #25577400 未加载
holriover 4 years ago
Is there a list of those that were hip 10 years ago, and if they are still properly maintained today?
评论 #25581898 未加载
mark_l_watsonover 4 years ago
Thanks for putting that together. Great list!<p>I use Hy (a thin Lisp skin&#x2F;wrapper for Python) for a few personal projects (not at work) and great libraries help make applications shorter and easier to maintain. Best code to write is no code.
Noumenon72over 4 years ago
I like how they led with something of general interest -- just about anybody might want to make a command line script that requires arguments. Typer might help me get away from Bash scripts to just write in Python.
评论 #25577104 未加载
评论 #25576999 未加载
Def_Osover 4 years ago
Like every year, a thoughtful and helpful list. Thank you, Tryo labs.<p>I&#x27;ve left the ecosystem for the JVM, professionally, so a nice way to keep up with what&#x27;s going on in Python land.
atomicnumber3over 4 years ago
If Dear PyGUI uses immediate mode, does it perhaps have the makings of a game library?<p>I looked briefly at pygame a while ago and was dissuaded when using hardware surfaces seemed to be black magic in the opinion of many users of the library, and using software rendering nets you a max of like 25fps if you do nothing but blit black across the entire screen. Does anyone know if pygame is still the state of the art for python game dev?
评论 #25577683 未加载
评论 #25592468 未加载
sailaover 4 years ago
Typer looks cool. I really like the idea of just writing functions to create command line scripts rather than using argparse.<p>Here&#x27;s another library that takes a similarish approach using annotations, although it&#x27;s not quite as polished: <a href="https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;runcommands&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;runcommands&#x2F;</a>
评论 #25578289 未加载
luordover 4 years ago
Typer and specially diagrams look like will be pretty handy for me in the near future. Don&#x27;t know how I missed then. Thanks for the list!
easterncalculusover 4 years ago
Rich is a really nice library. Glad to see it here.
estover 4 years ago
Need to see more eBPF mentions.
vladimirsvsv77over 4 years ago
PrettyErrors is great! Thx)
toulaboy3over 4 years ago
Great list!
romtxover 4 years ago
Refusing to read (in spite of my genuine interest) based on the click-baity title.
评论 #25576840 未加载
评论 #25576407 未加载
评论 #25577514 未加载