PythonHub Logo Python Hub Weekly Digest for 2024-09-22

đź’– Most Popular

What’s New In Python 3.13
This article explains the new features in Python 3.13, compared to 3.12. Python 3.13 will be released on October 1, 2024.

Avoid These 7 Common OOP Mistakes in Python
The video discusses common bad practices in Python object-oriented programming and how to avoid them. It covers issues like using classes unnecessarily instead of functions, overusing mixins, and excessive encapsulation, while providing practical examples and alternatives to improve code structure and readability.

Injecting syscall faults in Python and Ruby
The post introduces a Python and Ruby library called Cirron that allows developers to inject syscall faults for testing purposes. It demonstrates how to use Cirron to simulate various error conditions, such as disk space issues and network timeouts, by modifying syscall behavior, enabling more robust testing of error handling in software.

How To Perform Unit Testing in Flask
Learn how to efficiently test your Flask applications using pytest to ensure robust and error-free code.

Dante
A zero-setup, easy to use document store for Python.


đź“– Articles

Multiversion Python Thoughts
A braindump on how to make multi version in Python work.

Python in Excel – Available Now

How We Made Jupyter Notebooks Load 10 Times Faster
When we received feedback our Notebooks UI was taking too long too load, our engineers dove into ways to improve the developer experience — bringing some load times from 30 seconds down to less than one.

Build a Translation Application Using Tkinter and OpenAI
In this tutorial, we'll build a desktop translator application to translate natural language using ChatGPT APIs. We'll be building the UI using the Tkinter library from the Python standard library.

Python Hub Weekly Digest for 2024-09-15

GraalPy – A high-performance embeddable Python 3 runtime for Java

PyPI Proxying for Docker Builds
I wanted to improve our CI system by caching PyPI data locally. I saw that there’s a project to do this, but I didn’t see any good examples actually using it.

LibrePythonista allows running IPython code in a LibreOffice spreadsheet

Rust for the small things? but what about Python?

DBOS transact – Ultra-lightweight durable execution in Python

ostris / ai-toolkit
Various AI scripts. Mostly Stable Diffusion stuff.

Python macOS Framework Builds
Building Python with --enable-framework changes some stuff around; should you care?

Python HTTP Clients: Requests vs. HTTPX vs. AIOHTTP
Learn about the differences between Requests, HTTPX, and AIOHTTP, and when to use each library for your Python projects.

Revival Hijack – PyPI hijack technique exploited in the wild, puts 22K packages at risk
The article discusses a PyPI supply chain attack technique called "Revival Hijack," where attackers can hijack removed packages by re-registering them. JFrog's research team found that this technique could potentially affect 22,000 existing PyPI packages, leading to hundreds of thousands of malicious downloads, and they took proactive measures to protect the PyPI community by safely rese...


⚙️ Projects

ell
A language model programming framework.

NestedText
Human readable and writable data interchange format.

FluxMusic
Text-to-Music Generation with Rectified Flow Transformers.

peepDB
open-source CLI tool and python library to quickly view MySQL, PostgreSQL, MariaDB database tables.

LightAPI
LightApi is a lightweight API framework designed for rapid development of RESTful APIs in Python. It provides a simple and intuitive interface for defining endpoints and handling HTTP requests without the need for complex configuration or dependencies.


đź‘ľ Reddits

What do you think about Harvard CS50’s Introduction to Programming with Python – Full University Course?


← Previous

Project by Ruslan Keba. Since 2012. Powered by Python. Made in đź‡şđź‡¦Ukraine.