This week in Python news, the Python Developer Tooling Handbook was released, providing guidance on enhancing productivity in Python development. The Basic Memory project, a knowledge management system for AI conversations, and Agent-S, a human-like computer framework, were also highlighted. Popular articles included a tutorial on using the Flet framework for cross-platform app development, and a guide to optimizing Python Docker images. Open-source projects of note included Pythonx, an interpreter that runs Python in the same OS process as your Elixir application, and Pruna, a model optimization framework for developers. Have a great week and happy coding!
Docs
A collaborative note taking, wiki and documentation platform that scales. Built with Django and React. Opensource alternative to Notion or Outline.
Python Developer Tooling Handbook
This handbook guides Python developers through the ecosystem of tools that enhance productivity, covering areas like packaging, linting, formatting, and dependency management. It's structured to provide tutorials, how-to guides, explanations, and references to help make sense of the complex world of Python development.
basic-memory
Basic Memory is a knowledge management system that allows you to build a persistent semantic graph from conversations with AI assistants. All knowledge is stored in standard Markdown files on your computer, giving you full control and ownership of your data.
Python’s ‘shelve’ is really useful for LLM debugging
Use python’s shelve as a quick and easy, persistent key-value store for LLM workflows.
Agent-S
An open agentic framework that uses computers like a human.
Flet - Desktop & Mobile apps in Python!
This video tutorial demonstrates how to use the Flet framework in Python to build cross-platform mobile and desktop apps, even without prior front-end development experience. It walks through creating a simple quiz application, explaining how to structure the UI with Flet controls and handle user interactions.
How to Make Your Python Docker Image 80% Smaller
This video provides a step-by-step guide to creating optimized and efficient Docker images for Python applications, covering topics like choosing the right base image, cleaning up dependencies, using multi-stage builds, and enhancing security. It also highlights the frustrations of working with Docker and potential pitfalls to avoid.
Smoke test your Django admin site
This post advocates for testing Django admin changelist views, which are often overlooked despite being prone to errors due to Django's "magic-string"-heavy admin DSL. The author provides a parametric test using pytest to ensure that every admin view can render its empty state, catching potential issues early.
Open-Source Handwritten Signature Detection Model
The Hugging Face post discusses a signature detection model built using the YOLOv8 object detection framework. The model accurately detects signatures in various documents, demonstrating its effectiveness in document verification, fraud detection, and automation processes.
Why Python developers just use Postgres with Dawn Wages
This episode of Talking Postgres features Dawn Wages, chair of the Python Software Foundation, discussing why Python and Django developers favor PostgreSQL. They explore her "Just Use Postgres" philosophy, the Djangonaut Space mentoring program, and Python's strengths.
microsoft / PIKE-RAG
PIKE-RAG: sPecIalized KnowledgE and Rationale Augmented Generation
FastOpenAPI – automated docs for many Python frameworks
Stelvio: Serverless AWS for Python Devs
Specializing Python with E-graphs
This blog post introduces egglog, a new library that combines equality saturation and datalog, offering advantages over traditional e-graph libraries like egg. It highlights egglog's cleaner syntax, efficient execution through database techniques, and improved performance in areas like multi-pattern matching and incremental e-matching.
Tracking cocoa (and other commodity prices) with Pandas and Seaborn
Cocoa, coffee, and other commodities have gotten expensive -- but by how much? In this video, we explore the World Bank's "pink sheet" that tracks commodity prices, and then plot these changes using Seaborn.
Python Hub Weekly Digest for 2025-03-23
Virtual/AI Python Assistant - Pybot
Get ai-driven help on Python programming. You can use the assistant to debug code, generate snippets or explain python concepts.
Pythonx
Pythonx runs a Python interpreter in the same OS process as your Elixir application, allowing you to evaluate Python code and conveniently convert between Python and Elixir data structures.
Pruna
Pruna is a model optimization framework built for developers, enabling you to deliver faster, more efficient models with minimal overhead.
A Very (!) Early Play With Astral's Red Knot Static Type Checker
Astral is developing a new Python type checker, aiming to be significantly faster than mypy. The author explores building and running it, finding it promisingly fast but still a work in progress with some type checking discrepancies.
ollama-deep-researcher
Fully local web research and report writing assistant.
stable-virtual-camera
A 1.3B generalist diffusion model for Novel View Synthesis (NVS), generating 3D consistent novel views of a scene, given any number of input views and target cameras.
CSM
A Conversational Speech Generation Model.
RA.Aid
RA.Aid (pronounced "raid") helps you develop software autonomously. It is a standalone coding agent built on LangGraph's agent-based task execution framework. The tool provides an intelligent assistant that can help with research, planning, and implementation of multi-step development tasks.
OWL
Optimized Workforce Learning for General Multi-Agent Assistance in Real-World Task Automation.
aiopandas
Lightweight Pandas monkey-patch that adds async support to map, apply, applymap, aggregate, and transform, enabling seamless handling of async functions with controlled max_parallel execution.
token-explorer
A simple tool that let's you explore different possible paths that an LLM might sample.
Introducing Eventure: A Powerful Event-Driven Framework for Python
Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.