Python Weekly (Issue 679 December 5 2024)

Python Weekly - Issue 679

Python Weekly

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

News

The Call for Papers is open. Submit your proposals for talks and workshops.

Articles, Tutorials and Talks

The author describes a fun coding project where they wrote a Python script ("PyMyFlySpy") to extract flight data (like speed, direction) from the in-flight entertainment system using publicly available information on the payment page, even without paying for Wi-Fi.

This guide explores how to evolve Emacs into a robust Python IDE. Whether you’re writing simple scripts or managing large-scale projects, you’ll find a setup that aligns with your engineering needs and reflects the power of Emacs customization.

Learn how to Build a Stable Diffusion VAE From Scratch using Pytorch. VAE stands for Variational Autoencoder. It's a type of Autoencoder and a neural network that trains using an unsupervised technique. They are widely used in Image generation models mainly on latent diffusion-based and GANs-based image generation models.

A comprehensive guide on why and how to start using uv—the package manager (and much more) that's taken the Python world by storm.

David Mayer shares how he used an IoT dog food dispenser filled with M&Ms and connected to the Strava API to reward himself for running. This experiment in classical conditioning helped him form a lasting running habit, culminating in completing a half marathon without relying on the dispenser anymore.

This tutorial teaches you how to create a web application with interactive charts and multiple pages using Python and the Taipy library. Taipy allows you to build these features without needing extensive web development experience.

Learn how to build a scalable chat backend using Django, Wikipedia data, OpenAI embeddings, and FAISS. This step-by-step guide covers data ingestion, embedding generation, and building a conversational interface for intelligent querying.

This video explores gRPC, a compelling alternative to REST that’s gaining traction in distributed systems. Watch until the end of the video to find out if it’s worth ditching REST for it.

The article outlines a step-by-step process for safely squashing Django migrations in large projects, using tools like django-model-info to visualize migration dependencies and identify safe linear paths for squashing. It emphasizes the importance of maintaining the migration graph's integrity, updating dependencies, and carefully deploying changes to reduce migration count without breaking the project's structure.

The author explores a creative approach to solving Boolean satisfiability (SAT) and integer programming problems. He demonstrates how by cleverly utilizing Python's package dependency resolution capabilities, you can achieve these computations purely with the pip package manager, bypassing the need for specialized libraries.

PyCon Australia 2024 talks videos are available now.

PyData NYC 2024 talks videos are available now.

Interesting Projects, Tools and Libraries

PydanticAI is a Python Agent Framework designed to make it less painful to build production grade applications with Generative AI.

RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with PostgreSQL or SQLite.

The open-source LLMOps platform: prompt playground, prompt management, LLM evaluation, and LLM Observability all in one place.

The open-source alert management and AIOps platform.

An AI-powered hedge fund that uses multiple agents to make trading decisions. The system employs several specialized agents working together.

A Drop-in Efficient Pytorch Implementation of ESM.

A small library of LLM judges.

A Systematic Framework For Large Video Generation Model Training.

A decentralized python iterable, function and log tracker.

MatterSim is a deep learning atomistic model across elements, temperatures and pressures.

New Releases

Upcoming Events and Webinars

There will be a talk, The Mysterious Case of Vanishing Revenues: Let's talk about Sales Analytics.

There will be a talk, UV and Ruff: Next-gen Python Tooling.

There will be a talk, Hacking Your Way to Freedom: A Software Engineers Guide To E-Commerce.

There will be following talks

  • Observability for Large Language Models with OpenTelemetry

  • End-to-End Recommender Systems: Training to Deployment

There will be a talk, Merging Monte Carlo Methods with Machine 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.