PythonHub
2.49K subscribers
2.35K photos
50K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
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/
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
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
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/
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
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/
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/
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