1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
google-deepmind / gemma
Gemma open-weight LLM library, from Google DeepMind
https://github.com/google-deepmind/gemma
A Practical Guide to Agentic Coding
Agentic coding tools like GitHub Copilot can significantly boost developer productivity when integrated thoughtfully into workflows across IDEs, terminals, and cloud environments. The key is balancing automation with control, ensuring code quality while leveraging AI to build richer workflows, including integrations with external data sources like M365.
https://www.youtube.com/watch?v=QrfsX-sW6QI
Learn concurrency - a deep dive into multithreading with Python
This article explains concurrency in Python including topics like multithreading, multiprocessing, race conditions, and synchronization mechanisms such as locks. We’ll then take a deep dive into switching off GIL to enable real multithreading in Python, highlighting the differences, the benefits and the gotchas with clear code examples.
https://blog.geekuni.com/2026/04/python-concurrency.html
warproxxx / poly_data
Polymarket Data Retriever that fetches, processes, and structures Polymarket data including markets, order events and trades.
https://github.com/warproxxx/poly_data
Building AI Agents in Python with Pydantic AI
In this article, you will learn how to build production-ready AI agents in Python using Pydantic AI, with structured outputs, custom tools, and dependency injection.
https://machinelearningmastery.com/building-ai-agents-in-python-with-pydantic-ai/
How I built a sub-500ms latency voice agent from scratch
The post walks through building a sub-500ms voice agent from scratch, with the main challenge being turn-taking: knowing exactly when the user is speaking versus listening so the agent can stop or respond instantly. It shows how the author simplified the system into a small streaming loop, then optimized latency with better model choice, geography, and a direct audio pipeline to make the...
https://www.ntik.me/posts/voice-agent
Broccoli
AI teammates for your engineering loop. Broccoli turns Linear tickets into shipped PRs - powered by Claude and Codex, running on your own Google Cloud.
https://github.com/besimple-oss/broccoli
Building a Python Library in 2026
So you want to build a Python library in 2026? Here's everything you need to know about the state of the art.
https://stephenlf.dev/blog/python-library-in-2026/
ai-engineering-from-scratch
From linear algebra to autonomous agent swarms. learn AI with AI, then ship the tools.
https://github.com/rohitg00/ai-engineering-from-scratch
What’s a low memory way to run a Python http endpoint?
https://www.reddit.com/r/Python/comments/1slbp28/whats_a_low_memory_way_to_run_a_python_http/
Dinobase
Dinobase is an agent-first data platform that syncs 100+ sources like APIs, databases, files, and MCP servers into SQL-ready tables with automatic data annotation.
https://github.com/DinobaseHQ/dinobase
Community consensus on when to use dataclasses vs non-OO types?
https://www.reddit.com/r/Python/comments/1s7v9ug/community_consensus_on_when_to_use_dataclasses_vs/
Array API adoption: Performance wins across the ecosystem
Adopting the Array API standard lets major Python libraries run the same code across backends like NumPy, PyTorch, CuPy, and JAX, unlocking dramatic speedups with minimal user changes. The broader impact is a more interoperable scientific Python ecosystem where GPU acceleration and new hardware become accessible without rewriting entire libraries.
https://labs.quansight.org/blog/array-api-meta-blogpost
Reimagine Python Notebooks in the AI Era
Traditional notebooks are evolving as AI shifts more value from writing syntax to guiding workflows, reviewing outputs, and iterating through natural-language prompts. The emerging model emphasizes reactive cells and integrated LLM tooling that can turn linear notebooks into more interactive, dynamic applications.
https://mljar.com/blog/reimagine-python-notebook-in-ai-era/
lingbot-map
A feed-forward 3D foundation model for reconstructing scenes from streaming data.
https://github.com/Robbyant/lingbot-map
Don’t Use Boolean Flags in Python, Use Policies Instead
The Policy Pattern replaces large conditional blocks by breaking rules into small, composable components that can be combined into flexible pipelines. This approach makes code easier to extend, test, and manage, especially when dealing with feature flags and configuration changes.
https://www.youtube.com/watch?v=wYeDGkdMi3g
microsoft / agent-governance-toolkit
AI Agent Governance Toolkit — Policy enforcement, zero-trust identity, execution sandboxing, and reliability engineering for autonomous AI agents. Covers 10/10 OWASP Agentic Top 10.
https://github.com/microsoft/agent-governance-toolkit
pyptx
A Python DSL to write Nvidia PTX for Hopper and Blackwell in JAX and PyTorch.
https://github.com/patrick-toulme/pyptx
HTTP GET requests with the Python standard library
Alex explains how he replaced third-party HTTP clients for his simple scripts with a tiny wrapper around Python’s standard library, keeping only certifi for trust roots. The post walks through building a cleaner GET API on top of urllib.request, showing that for small local use cases the stdlib is enough even if the raw interface is clunky.
https://alexwlchan.net/2026/python-http-with-the-stdlib/
Streamlit Widgets
An Overview of Commonly Used Widgets in Streamlit.
https://www.pythonguis.com/tutorials/streamlit-widgets/
tilelang
Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels.
https://github.com/tile-ai/tilelang
Python Hub Weekly Digest for 2026-05-03
https://pythonhub.dev/digest/2026-05-03/
Exploring Petabytes of the Night Sky — Jupyter Notebooks at NOIRLab’s Astro Data Lab Science Platform
The post shows how NOIRLab’s Astro Data Lab uses Jupyter notebooks to let astronomers explore and analyze petabytes of sky data directly in the browser, without local setup. It also highlights the value of notebooks for making large-scale astronomy workflows more interactive, reproducible, and accessible to researchers and students.
https://blog.jupyter.org/exploring-petabytes-of-the-night-sky-jupyter-notebooks-at-noirlabs-astro-data-lab-science-ae012dfd4723
Alishahryar1 / free-claude-code
Use claude-code for free in the terminal, VSCode extension or via discord like openclaw
https://github.com/Alishahryar1/free-claude-code
PyWry: Cross-Platform Rendering Engine in Python
https://deeleeramone.github.io/PyWry/
Implementing MikroTik's Binary API Protocol in Python from Scratch
A deep dive into implementing MikroTik's proprietary RouterOS binary API protocol in Python — variable-length encoding, sentence-based messaging, and programmatic network infrastructure control. Zero dependencies, 137 lines.
https://www.joekarlsson.com/blog/implementing-mikrotik-binary-api-protocol-in-python/
uv or pip for python package management?
https://www.reddit.com/r/learnpython/comments/1snqpnx/uv_or_pip_for_python_package_management/
What Most Python Developers Miss About Generators
Most Python developers view generators as a memory optimization, but their deeper value is controlling when computation happens and how data flows through a system. They enable lazy pipelines, backpressure handling, two-way communication, and patterns that extend naturally into async streaming architectures.
https://www.youtube.com/watch?v=5VN-3rIUPZ8
Best Python framework for industry-level desktop app? (PySide/PyQt/wxPython/Kivy/Web approacg)
https://www.reddit.com/r/Python/comments/1s9oh61/best_python_framework_for_industrylevel_desktop/
I built a dev blog! First deep dive: How Ruff and UV changed my mind about Python setups.
https://www.reddit.com/r/Python/comments/1s7lna7/i_built_a_dev_blog_first_deep_dive_how_ruff_and/