PythonHub
2.53K subscribers
2.35K photos
50.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
PookieDb

Django-style ORM for SQLite and PostgreSQL. Chainable QuerySet API, migrations, relationships, and an interactive CLI. Works outside Django.

https://pypi.org/project/pookiedb/
Breaking Circular Imports in Python Without Losing Type Safety

The article explores practical techniques for handling circular imports in Python while preserving static type safety, using a financial modeling framework as a real-world example. It argues that strategically placed local imports and dependency thunks are often the least-bad solution, offering better type checking and maintainability than context dictionaries, builder patterns, or large...

https://www.orcaset.com/blog/breaking-circular-imports-in-python-without-losing-type-safety
Django: introducing django-integrity-policy

The article introduces django-integrity-policy, a package that helps Django applications enforce browser Integrity Policy headers, protecting against unauthorized or tampered third-party scripts and resources.

https://adamj.eu/tech/2026/05/31/introducing-django-integrity-policy/
AI Engineering for Developers

A tour through AI engineering for developers who already know how to ship software. Fourteen chapters, no LinkedIn voice, no slow warm-up. We will go from 'what is a foundation model' to 'how do you run agents in production on Google Cloud' without skipping the parts that matter.

https://www.lucavall.in/blog/ai-engineering-for-developers
How Servers Work: A Hands-On Introduction to TCP Sockets

Learn how servers actually work by building a tiny TCP server and client from scratch. A hands-on introduction to sockets, TCP, and the network programming model every backend, DevOps, and platform engineer should go through at least once.

https://labs.iximiuz.com/tutorials/how-servers-work-tcp-sockets
👍1
Introduction – Rust for Python Programmers

https://microsoft.github.io/RustTraining/python-book/
1
A User’s Journey with Plugin Playground: From First Idea to Installable JupyterLab Extension.

Plugin Playground lets developers prototype, test, and iterate on JupyterLab extensions entirely from within JupyterLab, eliminating much of the setup and packaging overhead of traditional extension development. The article follows the journey from a simple idea to a publishable extension, showing how Plugin Playground accelerates experimentation and lowers the barrier to building custom...

https://blog.jupyter.org/a-users-journey-with-plugin-playground-from-first-idea-to-installable-jupyterlab-extension-697021dd6fb9