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/
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/
Sanj Ambalavanar
Building modern Python API backends in 2022
How I think about building modern Python backends in 2022
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/
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/
Pythonmorsels
Python's String Methods
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.
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/
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/
Collabora | Open Source Consulting
Using a Raspberry Pi as a Bluetooth speaker with PipeWire
Using PipeWire, WirePlumber and a Raspberry Pi, you can create an audio bridge between a Bluetooth® device and an analog speaker system. Here's how.
Chard
A simple async/await task queue for Django. One process, no threads, no other dependencies.
https://github.com/drpancake/chard
A simple async/await task queue for Django. One process, no threads, no other dependencies.
https://github.com/drpancake/chard
GitHub
GitHub - drpancake/chard: A simple async/await task queue for Django. One process, no threads, no other dependencies.
A simple async/await task queue for Django. One process, no threads, no other dependencies. - GitHub - drpancake/chard: A simple async/await task queue for Django. One process, no threads, no other...
Make your Tkinter app look truly modern with a single line of code!
https://www.reddit.com/r/Python/comments/xbgyov/make_your_tkinter_app_look_truly_modern_with_a/
https://www.reddit.com/r/Python/comments/xbgyov/make_your_tkinter_app_look_truly_modern_with_a/
Reddit
From the Python community on Reddit: Make your Tkinter app look truly modern with a single line of code!
Explore this post and more from the Python community
TIL–Python has a built-in persistent key-value store (2018)
https://remusao.github.io/posts/python-dbm-module.html
https://remusao.github.io/posts/python-dbm-module.html
remusao.github.io
TIL—Python has a built-in persistent key-value store
Simplex Sigillum Veri
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/
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/
Create an auto-updating dataset on Kaggle with Deepnote
In this tutorial, we will set up our Deepnote environment to work with Kaggle, pull and clean some data from the internet, and then schedule the data to auto-update using Deepnote and the Kaggle library.
https://www.datafantic.com/create-an-auto-updating-dataset-on-kaggle-with-deepnote/
In this tutorial, we will set up our Deepnote environment to work with Kaggle, pull and clean some data from the internet, and then schedule the data to auto-update using Deepnote and the Kaggle library.
https://www.datafantic.com/create-an-auto-updating-dataset-on-kaggle-with-deepnote/
Datafantic
Create an auto-updating dataset on Kaggle with Deepnote
Kaggle has become the de facto place to find data for data science projects. Even though the internet is filled with data, Kaggle is great because the data is often in an easy-to-use format. Unfortunately, as the years go by, Kaggle is suffering from the…
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
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
Medium
A Theoretically Devastating Cyber Attack on America’s Gas Stations:
The Internet of Gas Station Tank Gauges:
k4yt3x / video2x
A lossless video/GIF/image upscaler achieved with waifu2x, Anime4K, SRMD and RealSR. Started in Hack the Valley 2, 2018.
https://github.com/k4yt3x/video2x
A lossless video/GIF/image upscaler achieved with waifu2x, Anime4K, SRMD and RealSR. Started in Hack the Valley 2, 2018.
https://github.com/k4yt3x/video2x
GitHub
GitHub - k4yt3x/video2x: A machine learning-based video super resolution and frame interpolation framework. Est. Hack the Valley…
A machine learning-based video super resolution and frame interpolation framework. Est. Hack the Valley II, 2018. - k4yt3x/video2x
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
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
carbonplan.org
Building open source downscaling pipelines for the cloud – CarbonPlan
We describe our experiences building cloud-based data analysis pipelines for climate model downscaling, including specific challenges we faced and lessons we learned.
Evolution of Access Control Explained Using Python
This article presents three access control methods beginning with Access Control List (ACL) - the mechanism implemented by Multics - then explore Role Based Access (RBAC) followed by Attribute Based Access (ABAC).
https://blog.symops.com/2022/09/07/evolution-access-control-python/
This article presents three access control methods beginning with Access Control List (ACL) - the mechanism implemented by Multics - then explore Role Based Access (RBAC) followed by Attribute Based Access (ABAC).
https://blog.symops.com/2022/09/07/evolution-access-control-python/
The Sym Blog
Evolution of Access Control Explained Using Python
MIT’s CTSS was designed in 1961 to provide multiple users independent share of a large computer. The designers soon discovered there was a huge appetite to share programs and data with one another. This sparked some of the earliest conversations around computer…
A Complete Guide to Python String Manipulation
https://pythonalgos.com/a-complete-guide-to-python-string-manipulation/
https://pythonalgos.com/a-complete-guide-to-python-string-manipulation/
PythonAlgos
A Complete Guide to Python String Manipulation - PythonAlgos
Strings are a ubiquitous data structure. They're used in so many places. Let's take a look at how we can use them in Python.
Machine Learning From Scratch Full course
To master machine learning models, one of the best things you can do is to implement them yourself. Although it might seem like a difficult task, for most algorithms, it is actually easier than you think. So throughout the next 10 days, we will implement one machine learning algorithm each day using Python and sometimes the help of Numpy for certain calculations.
https://www.youtube.com/playlist?list=PLcWfeUsAys2k_xub3mHks85sBHZvg24Jd
To master machine learning models, one of the best things you can do is to implement them yourself. Although it might seem like a difficult task, for most algorithms, it is actually easier than you think. So throughout the next 10 days, we will implement one machine learning algorithm each day using Python and sometimes the help of Numpy for certain calculations.
https://www.youtube.com/playlist?list=PLcWfeUsAys2k_xub3mHks85sBHZvg24Jd
YouTube
Machine Learning From Scratch
Learn how to implement 10 popular Machine Learning algorithms from scratch in Python
Recipes from Python SQLite docs
https://rednafi.github.io/reflections/recipes-from-python-sqlite-docs.html
https://rednafi.github.io/reflections/recipes-from-python-sqlite-docs.html