PythonHub Logo Python Hub Weekly Digest for 2022-06-12

Cover by

💖 Most Popular

A modern and customizable python UI-library based on Tkinter.

Python library tracks energy consumption and calculates your carbon emissions

MicroPython – Python for Microcontrollers

CircuitPython – The easiest way to program microcontrollers

What's a Python feature that is very powerful but not many people use or know about it?

📖 Articles

Debugging Tips And Techniques
With this article, we will investigate problem solving techniques for Django apps. The goal is to equip you with tools to fix the real problems that you’ll hit when building your Django site.

TDD Practice: Time API with Django
Let's learn some TDD tricks by building a small API with Django. Treat this like a Kata. Follow the steps below exactly the first time through, then practice by completing the task a second time by yourself.

An introduction to accessing financial data in EDGAR, using Python

Python 3.11 Performance Benchmarks Are Looking Fantastic

A Brief Look at Cpython String
In this article, we will take a brief look at how Python strings are implemented, why they consume so much memory and we will examine certain interesting aspects of Python string.

PyLucid: Lucid Interpreter Written in Python

jina-ai / dalle-flow
A Human-in-the-Loop workflow for creating HD images from text

Stop Messing with Kubernetes Finalizers
Here’s why you should never force-delete Kubernetes resources or remove their finalizers.

Deploying 5G Around Trees
In this post, I'll walk through how we enriched and integrated ETH's global canopy dataset into our decision-making process for rolling out 5G across California.

How To Write Unit Tests For Existing Python Code // Part 1 of 2
This video shows you a practical example of adding unit tests to existing code. This first part focuses on adding tests while not changing the original code. The second part will show how refactoring the code simplifies test writing while also improving the design.

Peeking and backtracking Python generators
Python generators are mighty, but they lack a couple of useful features. One of them is peeking at the next item without consuming the generator. Even better, what if we could peek any number of items? Another feature lacking from generators is rewinding/backtracking. We will implement both of those features in a couple of different ways.

Convolutional Neural Networks
Convolutional Neural Networks can be used to train computers to recognize objects in images. This allows us to recognize objects or people in images or video. It is helps automate the process of finding cancerous tumors. It is also used to implement driverless car technology and more.

Set Up a Raspberry Pi Server - Host your Python Programs Onsite
In this tutorial we’ll walk through how you can set up your Raspberry Pi as your own home server. We’ll go through what you need to get started, and how to set up the computer and operating system. We’ll go through this process “headless” so you won’t need a spare keyboard / monitor to set up the Raspberry Pi. We’ll be able to SSH directly into it from your main computer.

Tutorial on how to set up Celery workers with Flask and Redis
Celery worker is a simple, flexible, and reliable distributed system to process vast amounts of messages while providing operations with the tools required to maintain such a system. In this tutorial, we will learn how to implement Celery with Flask and Redis.

⚙️ Projects

Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API.

Pin your Python dependencies as you would with pip-compile, except in a cross-platform way.

simple-homepage is a command line utility that helps you create a simple static homepage for your browser

A Python package for fast and robust Image Stitching.

Implementation of Imagen, Google's Text-to-Image Neural Network, in Pytorch.

Finding Binary & Decimal Palindromes


Python Asynchronous Programming Fundamentals
Python introduced asynchronous programming capabilities in version 3.4 in 2014, with further notable improvements in almost every minor version since. However, to many Python programmers, this area of the language remains esoteric, misunderstood, and underutilized. This article aims to elucidate the fundamental concepts of asynchronous programming as part of the first step towards mastery.

👾 Reddits

As a Python developer, What are the most boring tasks that you made automation script to handle it?

← Previous Next →

Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.