Python Weekly (Issue 667 September 12 2024)

Python Weekly - Issue 667

Python Weekly

Welcome to issue 667 of Python Weekly. Let's get straight to the links this week.

From Our Sponsor 

A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers.

News 

RL found the VMConnect campaign continuing with malicious actors posing as recruiters, using packages and the names of financial firms to lure developers.

Articles, Tutorials and Talks

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

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.

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

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

A series of discussions focused on deep learning compilers and machine learning. It covers how deep learning models are optimized and deployed for practical use cases. The content dives into topics relevant for developers and engineers working with AI frameworks and model performance optimization.

In this article, we explore a game that challenges the very foundations of classical physics and introduces us to the strange world of quantum mechanics.

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

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.

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.

Learn how to efficiently test your Flask applications using pytest to ensure robust and error-free code.

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.

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 reserving abandoned packages.

Interesting Projects, Tools and Libraries

A language model programming framework. 

TinyStatus is a simple, customizable status page generator that allows you to monitor the status of various services and display them on a clean, responsive web page.

Human readable and writable data interchange format.

Text-to-Music Generation with Rectified Flow Transformers.

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.

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

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

New Releases

This release includes the following announcements:

  • Django unit test support

  • Go to definition from inlay hints with Pylance

Upcoming Events and Webinars

There will be following talks

  • Python for Geospatial

  • Behind the Scenes of DevRel & Community Programs How to Get Involved

  • Dynamic Workflows with Airflow and Python

  • Python up your next coding interview: tips and tricks to confidently pass it

There will be following talks

  • Managing Risks in Generative AI: Implementing Guardrails for Trustworthy Content

  • Embedding Software Engineering Best Practices into Machine Learning Projects with Kedro

There will be following talks

  • Do you need AI, or do you need a reporting dashboard?

  • Qoria: Unlocking Potential - Creating a safer online for children

There will be following talks

  • DL for tabular data with text and images: all that you don't need [but is good to know]

  • Pitfalls in Data Science Projects (and how to avoid them)

There will be following talks

  • FAir Interpolation Method (FAIM) for Trade-Offs between Mutually Exclusive Algorithmic Fairness Criteria in Machine Learning and Law?

  • AI on a Microbudget - Methods of Machine Learning Miniaturization?

There will be following talks

  • Unlocking climate data for SME carbon accounting

  • Rapidly Prototyping RAG applications using Local Models

  • Small Data - Dealing with Climate uncertainty

There will be following talks

  • Singer-spec & Meltano: code first open source ETL

  • Tackling the challenges of Text Annotation using Active Learning

Our Other Newsletters

 - A free weekly newsletter for programmers.

- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.