PythonHub Logo Python Hub Weekly Digest for 2025-05-11

This week in Python, popular topics included the hidden dangers of Python decorators, learning college calculus with Python, and debugging Python f-string errors. Interesting projects were Garmin Grafana, a script for visualizing long-term health trends, and funstory-ai/BabelDOC, a new document translator. Articles covered JWTs in Python Flask REST Framework, building gaming simulation AI agents, and tracking YouTube video events with Next.js and FastAPI. Notable projects were pip 25.1 with support for Dependency Groups, and Pyrefly, a fast type checker and IDE for Python by Meta. Have a great week and happy coding!

đź’– Most Popular

The Hidden Dangers of Python Decorators
Python decorators look like a great way to add functionality—until they break your type safety, hide function requirements, and turn debugging into a nightmare. This video shows you why decorators can be dangerous, the biggest pitfalls to watch out for, and when you should actually use them.

College Calculus – Full Course with Python Code
Learn college Calculus from an experienced university mathematics professor. You will also learn how to implement all the Calculus concepts using the Python programming language.

Debugging Python f-string errors
Brandon Chinn's blog post delves into a perplexing Python bug where using f"{x}" raises a TypeError, while str(x) functions correctly. He uncovers that f-strings internally invoke the__format__method, which can behave unexpectedly when dealing with proxy objects, such as those introduced by Temporal's sandboxing mechanism.

Garmin Grafana
A Python Script to fetch Garmin health data and populate that in a InfluxDB Database, for visualization long term health trends with Grafana.

funstory-ai / BabelDOC
Yet Another Document Translator


đź“– Articles

Using JWTs in Python Flask REST Framework
This post provides a comprehensive guide to implementing JWT-based authentication in a Flask API. It covers setting up the Flask environment, creating a to-do list API, managing user sessions with token refresh, and adding role-based permissions.

Template Strings in Python 3.14: An Unnecessary New Feature?

Build your gaming simulation AI agent
The article guides readers on building intelligent gaming simulation agents using LangGraph, emphasizing reasoning, memory, and real-time decision-making. It demonstrates how to create production-ready, human-like NPCs by integrating LLMs, agentic RAG, and LLMOps techniques.

Next.js + FastAPI Tutorial: Track Every YouTube Video Event!
This course teaches how to track and store high-frequency YouTube video events using Next.js, FastAPI, and TimescaleDB. It demonstrates a scalable, time-series data pipeline ideal for analyzing user video interactions at massive scale.

ePub-utils: A Python library and CLI tool for inspecting ePub from the terminal

Urtext: The Python plaintext library for people who've tried everything else

Kate and Python Language Server

Tkintergalactic - Declarative Tcl/Tk UI Library for Python

CocoIndex - Open-source real-time data framework for AI
Open-source real-time data framework for AI, supporting incremental processing and custom logic. SDK in Python.

GoogleCloudPlatform / agent-starter-pack
A collection of production-ready Generative AI Agent templates built for Google Cloud. It accelerates development by providing a holistic, production-ready solution, addressing common challenges (Deployment & Operations, Evaluation, Customization, Observability) in building and deploying GenAI agents.

Unitree G1 LiDAR, SLAM, navigation and control. Dev w/ G1 Humanoid P.2
The video details software upgrades to the Unitree G1 humanoid robot, focusing on LiDAR integration for SLAM, navigation, and control. It showcases the robot's ability to map its surroundings and navigate using keyboard controls

Automating code deletion with Gemini (and a little Python)
The author used Gemini 2.0 Flash and Python to automatically remove deprecated docgen features from 235 GN build files in the Pigweed repo. The hybrid approach combined traditional scripting for file filtering with GenAI for intelligent edits, offering a reusable automation template.

evalstate / fast-agent
Define, Prompt and Test MCP enabled Agents and Workflows

Python Hub Weekly Digest for 2025-05-04

sooperset / mcp-atlassian
MCP server for Atlassian tools (Confluence, Jira)


⚙️ Projects

pip 25.1
pip 25.1 introduces support for Dependency Groups (PEP 735), resumable downloads, and an installation progress bar. Dependency resolution has also received a raft of bugfixes and improvements.

Pyrefly
A fast type checker and IDE for Python by Meta.

CleverBee
The Open Source Deep Researcher Tool.

Paper2Code
Automating Code Generation from Scientific Papers in Machine Learning.

SQLFlow
SQLFlow is a high-performance stream processing engine that simplifies building data pipelines by enabling you to define them using just SQL. Think of SQLFLow as a lightweight, modern Flink.

OpenLIT
Open Source Platform for AI Engineering.

synthetic-data-kit
Tool for generating high quality Synthetic datasets.



← Previous

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