PythonHub Logo Python Hub Weekly Digest for 2025-04-20

This week in Python, the upcoming features and improvements in Python 3.14 were discussed in a video, including the tail call interpreter, JIT compiler, and free threading. Google released adk-python, a toolkit for building AI agents. The use of Copier for bootstrapping Python projects was explored, and an introduction to testing in Flask was provided. Interesting projects include arxiv-mcp-server for analyzing arXiv papers, and RoboVerse, a platform for robot learning. Django's new features in version 5.2 were highlighted, and a guide to building a desktop sticky notes application with PySide6 was shared. Have a great week and happy coding!

💖 Most Popular

Python 3.14 | Upcoming Changes
This video discusses the upcoming features, performance improvements, and other changes in Python 3.14, including the tail call interpreter, JIT compiler, and free threading. It also covers minor updates and deprecations, providing a comprehensive overview of the new release.

adk-python
An open-source, code-first Python toolkit by Google for building, evaluating, and deploying sophisticated AI agents with flexibility and control.

Bootstrapping Python projects with copier
This article discusses using Copier to automate the process of bootstrapping Python projects. It covers setting up a project template with essential elements like README, license, changelog, project structure, documentation, Makefiles, uv support, and GitHub Actions to streamline project creation.

An Introduction to Testing in Python Flask
This article introduces testing in Flask, emphasizing its importance for code quality and streamlined development. It covers key testing areas like routes, business logic, database interactions, and provides practical examples using pytest, fixtures, mocking, and a focus on edge cases.

arxiv-mcp-server
A Model Context Protocol server for searching and analyzing arXiv papers.


📖 Articles

How to Create Vector Embeddings in Python

meta-llama / llama-models
Utilities intended for use with Llama models.

Inside the CodeBot: A Gentle Introduction to How LLMs Understand Nullability
The article explores how large language models (LLMs) comprehend the concept of nullability in programming. It discusses methods for evaluating LLMs' understanding of nullable types and introduces techniques to probe their internal representations regarding null values.

How to Extract GPS Coordinates from a Photo: The USAID Mystery
This post explains how to extract GPS coordinates from a photo using Python and plot them on a map, using libraries like Pillow, ExifRead, and Folium. It challenges the reader to analyze the location of a USAID nutrition pack to determine if the aid is being distributed appropriately.

Code DeepSeek V3 From Scratch in Python
This video provides a comprehensive, step-by-step coding guide to understanding and implementing DeepSeek V3, a cutting-edge deep learning model. It covers key concepts like the attention mechanism, multihead latent attention (MLA), rotary positional embeddings (RoPE), and the mixture of experts (MoE) architecture, explaining the science behind it all.

Shadowing in Python gave me an UnboundLocalError
This article discusses a common Python pitfall where shadowing a variable within a function can lead to an UnboundLocalError due to Python's scoping rules. It explains that if a variable is bound anywhere in a function, it's considered local to the entire function, even before it's initialized, which can cause unexpected errors.

Slipstream - a python library for stateful stream processing

Python Hub Weekly Digest for 2025-04-06

Django: what’s new in 5.2
This post highlights key new features in Django 5.2, including automatic model importing in the shell, support for composite primary keys, and a simplified way to override BoundField on forms.

User Onboarding Tips and Tricks for Django Developers
This video explains how to implement anonymous onboarding in Django apps, allowing users to try the app without creating an account. It covers storing temporary data in the session and seamlessly transferring it to a user account once created, enhancing the initial user experience.

Build a Desktop Sticky Notes Application with PySide6 & SQLAlchemy
This post provides a step-by-step guide to creating a desktop sticky notes application using PySide6, covering GUI setup, styling, and adding functionality like movable notes and a system tray icon. It explains how to build a simple, frameless note window, enable dragging, and manage multiple notes, with code examples for each stage.

Reproducing word2vec with JAX
This article reproduces the word2vec model using JAX, explaining the CBOW architecture and its implementation. It trains word embeddings and demonstrates how to find word similarities and analogies using the trained model, comparing it to modern text embeddings used in LLMs.

11 Outdated Python Modules That You Should Never Use Again

Python at the Speed of Rust

Python Hub Weekly Digest for 2025-04-13


⚙️ Projects

nano-aha-moment
Single File, Single GPU, From Scratch, Efficient, Full Parameter Tuning library for "RL for LLMs"

RoboVerse
Towards a Unified Platform, Dataset and Benchmark for Scalable and Generalizable Robot Learning.

whatsapp-mcp
This is a Model Context Protocol (MCP) server for WhatsApp.

llm-compressor
Transformers-compatible library for applying various compression algorithms to LLMs for optimized deployment with vLLM.

clypi
Your all-in-one for beautiful, lightweight, prod-ready CLIs.

Mobile-VideoGPT
Fast and Accurate Video Understanding Language Model.

memo
Memo is a simple command-line interface (CLI) tool for managing your Apple Notes (and eventually Apple Reminders). It’s written in Python and aims to offer a fast, keyboard-driven way to create, search, and organize notes and reminders straight from your terminal.

no-code-architects-toolkit
The NCA Toolkit API eliminates monthly subscription fees by consolidating common API functionalities into a single FREE API. Designed for businesses, creators, and developers, it streamlines advanced media processing, including video editing and captioning, image transformations, cloud storage, and Python code execution.

curl-impersonate
A special build of curl that can impersonate Chrome & Firefox.

VeOmni
Scaling any Modality Model Training to any Accelerators with PyTorch native Training Framework.

MedReason
Eliciting Factual Medical Reasoning Steps in LLMs via Knowledge Graphs.

any-agent
A single interface to different Agent frameworks.

OpenAlgo
Open Source Algo Trading Platform for Everyone.

open-rag-eval
Evaluate and improve your Retrieval-Augmented Generation (RAG) pipelines with open-rag-eval, an open-source Python evaluation toolkit.


👾 Reddits

Breaking news: Guido van Rossum back as Python's Benevolent Dictator for Life (BDFL)!

SQLActive - Asynchronous ActiveRecord-style wrapper for SQLAlchemy

I made a simple Artificial Life simulation software with python


← Previous

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