PythonHub
2.67K subscribers
2.35K photos
50.7K links
Human-curated Python news, projects, articles & tools.

https://pythonhub.dev/
Download Telegram
ThreadPoolExecutor vs. ProcessPoolExecutor in Python

You can use ThreadPoolExecutor for IO-bound tasks and ProcessPoolExecutor for CPU-bound tasks. In this tutorial, you will discover the difference between the ThreadPoolExecutor and ProcessPoolExecutor and when to use each in your Python projects.

https://superfastpython.com/threadpoolexecutor-vs-processpoolexecutor/
Calling Rust from Python using PyO3

This post gives you a short introduction to PyO3 and then discusses several example functions, written in Rust and called from Python.

https://saidvandeklundert.net/learn/2021-11-18-calling-rust-from-python-using-pyo3/
7 key components of observability in Python

Learn why observability is important for Python and how to implement it into your software development lifecycle.

https://opensource.com/article/21/11/observability-python
Ask HN: How best to prepare for Python interviews starting in 3 months?

https://news.ycombinator.com/item?id=29318263
Python Malware Imitates Signed PyPI Traffic in Novel Exfiltration Technique

In this post, we will share details about 11 new malware packages that we’ve recently discovered and disclosed to the PyPI maintainers (who promptly removed them). Based on our latest findings, in this post we highlight some of the more advanced techniques used by Python malware developers to avoid detection and remain in the repository in order to infect as many machines as possible.

https://jfrog.com/blog/python-malware-imitates-signed-pypi-traffic-in-novel-exfiltration-technique/