News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
synthetic-data-kit
Tool for generating high quality Synthetic datasets.
https://github.com/meta-llama/synthetic-data-kit
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.
https://technicalwriting.dev/ml/gn.html
Python Hub Weekly Digest for 2025-05-04
https://pythonhub.dev/digest/2025-05-04/
A modern spreadsheet with Python integration
https://citadel5.com/gs-calc.htm
5 Levels of Using Exception Groups in Python
https://medium.com/techtofreedom/5-levels-of-using-exception-groups-in-python-9d8e40cdd4b2?sk=132e8eea485dd44b24db0d20014b231f
Morphik
Open source multi-modal RAG for building AI apps over private knowledge.
https://github.com/morphik-org/morphik-core
Frankenstein’s
The untold story of the craziestinitI’ve ever seen.
https://ohadravid.github.io/posts/2025-04-19-frank/
Traeger
A portable Actor System for C++ and Python.
https://github.com/tigrux/traeger
Pip 25.1 is here - install dependency groups and output lock files!
https://www.reddit.com/r/Python/comments/1k8lav8/pip_251_is_here_install_dependency_groups_and/
1,000 Python Exercises
Android app with more than 1,000 problems to solve and practice
https://play.google.com/store/apps/details?id=com.initzer_dev.Koder_Python_Exercises
I Built a Bot to Chat with Our Team’s Wiki Using Azure OpenAI Service
The author built an AI-powered Teams bot using Azure OpenAI Service to query their team's dynamic Azure DevOps Wiki, automating data ingestion via Python scripts and Azure AI Search Indexers. The solution includes custom metadata integration for source linking and highlights challenges like SDK limitations and deployment security considerations.
https://medium.com/microsoftazure/i-built-a-bot-to-chat-with-our-teams-wiki-using-azure-openai-service-96bf67878302
library-mcp
MCP server for operating on Markdown knowledge bases.
https://github.com/lethain/library-mcp
Tutorial-Codebase-Knowledge
Turns Codebase into Easy Tutorial with AI.
https://github.com/The-Pocket/Tutorial-Codebase-Knowledge
A practical guide to building agents
This guide is designed for product and engineering teams exploring how to build their first agents, distilling insights from numerous customer deployments into practical and actionable best practices. It includes frameworks for identifying promising use cases, clear patterns for designing agent logic and orchestration, and best practices to ensure your agents run safely, predictably, and...
https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf
Beyond-NanoGPT
Minimal and annotated implementations of key ideas from modern deep learning research.
https://github.com/tanishqkumar/beyond-nanogpt
Paper2Code
Automating Code Generation from Scientific Papers in Machine Learning.
https://github.com/going-doer/Paper2Code
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.
https://ichard26.github.io/blog/2025/04/whats-new-in-pip-25.1/
fastapi-forge
A UI Based FastAPI Project Generation tool.
https://github.com/mslaursen/fastapi-forge
FramePack
Lets make video diffusion practical!
https://github.com/lllyasviel/FramePack
CPython's optimization for doubly linked lists in deque (amortizes 200% link memory overhead)
https://www.reddit.com/r/Python/comments/1k5nxvt/cpythons_optimization_for_doubly_linked_lists_in/
I built a hardware processor that runs Python
https://www.runpyxl.com/gpio
How To Automate Your Finances with Python
Learn to build a Python tool using Pandas, Streamlit, and Plotly to automate personal finance tracking by analyzing bank statements, categorizing transactions, and generating visual dashboards. The tutorial includes file upload handling, editable dataframes, and interactive charts for expense analysis.
https://www.youtube.com/watch?v=wqBlmAWqa6A
10 Rules for Writing Simple and Maintainable Code
This shows you 10 essential tips to keep your code simple, maintainable, and easy to work with.
https://www.youtube.com/watch?v=0U-RwnWaFIM
Agentfy
Agentfy is a modular microservices architecture designed to process user requests and execute workflows across multiple social media platforms.
https://github.com/Agentfy-io/Agentfy
PocketFlow
100-line LLM framework. Let Agents build Agents!
https://github.com/The-Pocket/PocketFlow
cua
A framework that enables AI agents to control full operating systems within high-performance, lightweight virtual containers. It delivers up to 97% native speed on Apple Silicon and works with any vision language models.
https://github.com/trycua/cua
How to Add Blazing Fast Search to Your Django Site with Meilisearch
Step-by-step guide to integrating Meilisearch with Django, complete with automatic indexing, typo tolerance, and relevant filtering capabilities.
https://www.revsys.com/tidbits/how-to-add-blazing-fast-search-to-your-django-site-with-meilisearch/
Stop Writing
Avoid writing custominitmethods in Python; use @dataclass for attribute definition and @classmethod factories for object creation. This approach ensures valid instances, simplifies testing, and supports async/error-prone operations, while maintaining type safety with NewType
https://blog.glyph.im/2025/04/stop-writing-init-methods.html
ProcessThreadPoolExecutor: when I/O becomes CPU-bound
The article introduces a custom ProcessThreadPoolExecutor in Python, designed to efficiently handle workloads that are primarily I/O-bound but include CPU-intensive tasks, by combining threading and multiprocessing. This hybrid approach addresses limitations of ThreadPoolExecutor and ProcessPoolExecutor when used separately, offering improved performance and resource utilization.
https://death.andgravity.com/ptpe
sidekick-cli
Your agentic CLI developer.
https://github.com/geekforbrains/sidekick-cli