Python drawer – Telegram
Python drawer
36 subscribers
1 photo
2 files
3.7K links
A collection of curated Python resources from trustworthy sources.
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
Things I Wish They Told Me About Multiprocessing in Python
“Some people, when confronted with a problem, think ‘I know, I’ll use multithreading’. Nothhw tpe yawrve o oblems.” (Eiríkr Åsheim, 2012)

If multithreading is so problematic, though, how do we take advantage of systems with 8, 16, 32, and even thousands, of separate CPUs? When presented with large Data Science and HPC data sets, how to you use all of that lovely CPU power without getting in your own way?

https://www.cloudcity.io/blog/2019/02/27/things-i-wish-they-told-me-about-multiprocessing-in-python/
Announcing a new Sponsorship Program for Python Packaging

The Packaging Working Group of the Python Software Foundation is launching an all-new sponsorship program to sustain and improve Python's packaging ecosystem. Funds raised through this program will go directly towards improving the tools that your company uses every day and sustaining the continued operation of the Python Package Index.

https://pyfound.blogspot.com/2020/04/sponsoring-python-packaging.html
What the heck is pyproject.toml?
Recently on Twitter there was a maintainer of a Python project who had a couple of bugs filed against their project due to builds failing (this particular project doesn't provide wheels, only sdists). Eventually it came out that the project was using a pyproject.toml file because that's how you configure Black and not for any other purpose.

https://snarky.ca/what-the-heck-is-pyproject-toml/
Your configs suck? Try a real programming language
In this post, I'll try to explain why I find most config formats frustrating to use and suggest that using a real programming language (i.e. general purpose one, like Python) is often (but not always) a feasible and more pleasant alternative for writing configs.

https://beepb00p.xyz/configs-suck.html