PythonHub
2.44K subscribers
2.35K photos
49.2K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Building modern Python API backends in 2022

This guide comes from experience building api backends for a variety of startups in different industries, it serves as a starting point for what the state of “best practise” is for how we think about organising Python projects, structuring code, testing, and common libraries we’ve reused across projects.

https://backfill.dev/blog/2022-08-21-modern-python-backends/
Python String Methods to Know

Python's strings have dozens of methods, but some are much more useful than others. Let's discuss the dozen-ish must-know string methods and why the other methods aren't so essential.

https://www.pythonmorsels.com/string-methods/
Using a Raspberry Pi as a Bluetooth speaker with PipeWire

Do you have an old pair of PC speakers, or an old Hi-Fi, that you would like to convert into a pair of Bluetooth® speakers to play music from your phone? A Raspberry Pi can be easily used as an audio bridge between a Bluetooth® device and an analog speaker system, to make this possible. In this quick guide, I will show you how to set up the software on a Pi, using PipeWire, to achieve this.

https://www.collabora.com/news-and-blog/blog/2022/09/02/using-a-raspberry-pi-as-a-bluetooth-speaker-with-pipewire-wireplumber/
Why You Should Use Data Classes in Python

Don’t you know what a Data Class is? You know how to use it? And what is the difference with a regular class? Here in this post I will try to answer these questions and many more.

https://www.giulianopertile.com/blog/why-you-should-use-dataclasses-in-python/
A Theoretically Devastating Cyber Attack on America’s Gas Stations

Could an attacker with few lines of Python code shutting down over 7,000 fueling stations in the United States leave the nation crippled?

https://medium.com/@RoseSecurity/a-theoretically-devastating-cyber-attack-on-americas-gas-stations-ff1d9bbaf1
Building open source downscaling pipelines for the cloud

We describe our experiences building cloud-based data analysis pipelines for climate model downscaling, including specific challenges we faced and lessons we learned.

https://carbonplan.org/blog/cloud-downscaling-pipelines