PythonHub
Відкрити в Telegram
News & links about Python programming. https://pythonhub.dev/
Показати більше2 635
Підписники
+1724 години
+247 днів
+5830 день
Архів дописів
2 635
Runtime validation in type annotations
The article shows how Python’s typing.Annotated metadata can be used to attach runtime validators to type annotations and then automatically apply those validators when instances are created. It walks through extracting annotation metadata, handling callable validators, and improving error reporting so that annotated fields are validated and meaningful errors are thrown during object ini...
https://blog.natfu.be/validation-in-type-annotations/
2 635
Visual Introduction to PyTorch
This article provides a visual, intuition-first guide to PyTorch, focusing on how tensors and computational graphs enable automatic differentiation. It strips away complex mathematical jargon to explain how the "Autograd" engine tracks operations to compute gradients for neural network training.
https://0byte.io/articles/pytorch_introduction.html
2 635
model-context-shell
Unix-style pipelines for MCP tools - compose complex tool workflows as a single tool call.
https://github.com/StacklokLabs/model-context-shell
2 635
Type-based alias analysis in the Toy Optimizer
The post explains the basics of Type Based Alias Analysis (TBAA), a compiler optimization that uses type information to determine whether different memory accesses can alias, enabling more aggressive optimization. It walks through a simple “toy” example to make the concept concrete and shows how TBAA improves generated code by removing unnecessary load and store barriers.
https://bernsteinbear.com/blog/toy-tbaa/
2 635
Cycast – High-performance radio streaming server written in Python
https://github.com/LukeB42/Cycast
2 635
light weight MCP for code indexing that just works
A super light-weight, effective embedded MCP that understand and searches your codebase that just works!Instant token saving by 70% and improves speed. No API Key, completely free.
https://github.com/cocoindex-io/cocoindex-code
2 635
CQRS in Python: Clean Reads, Clean Writes
When your FastAPI list endpoint starts pulling full documents just to compute derived fields, it’s usually a sign your read and write models are drifting apart. This video demonstrates how to refactor a tickets API (FastAPI + MongoDB) using CQRS, explain projections and eventual consistency, and show when this architecture is worth the added complexity, and when it’s not.
https://www.youtube.com/watch?v=Spp-uzXzzdE
2 635
sift-kg
Turn any collection of documents into a knowledge graph. Extract entities and relationships via LLM, deduplicate with your approval, and explore the result in your browser — all from the CLI.
https://github.com/juanceresa/sift-kg
2 635
Use your Claude Max subscription as an API with CLIProxyAPI
The post explains how to use CLIProxyAPI, a local proxy that takes your Claude Max subscription’s OAuth token and exposes it as an OpenAI-compatible API endpoint so you can use your subscription in tools that expect standard API keys. It covers setup steps, installation, and how this lets you avoid paying for separate API access while working with models like Claude Opus and Sonnet throu...
https://rogs.me/2026/02/use-your-claude-max-subscription-as-an-api-with-cliproxyapi/
2 635
CinderX
CinderX is a Python extension that improves the performance of the Python runtime.
https://github.com/facebookincubator/cinderx
2 635
Building a FOSS live streaming camera
The author walks through designing and building an open source live streaming camera using a Raspberry Pi and camera module, aiming for low-latency HDMI output suitable for event livestreams instead of consumer cameras. They discuss hardware selection (Pi 4B, HQ camera, lenses), software using picamera2, HDMI output and potential future improvements like custom PCBs and enclosures.
https://blog.brixit.nl/building-a-custom-live-streaming-camera/
2 635
quip-protocol
This project implements a quantum blockchain using quantum annealing for proof-of-work consensus. It features competitive mining between quantum computers (QPU) and classical simulated annealing (SA) with a dynamic difficulty adjustment mechanism.
https://github.com/QuipNetwork/quip-protocol
2 635
How to use overloaded signatures in Python?
Sometimes a function takes multiple arguments of different types, and the return type depends on specific combinations of inputs. It’s often easy to understand by reading code, but how do you tell the type checker that this is the case? This is where the @overload decorator from the typing module comes handy.
https://borutzki.github.io/2026/02/07/how-to-use-overloaded-signatures-in-python.html
2 635
Introducing Expanse: a modern and elegant web application framework
https://www.reddit.com/r/Python/comments/1qwsza7/introducing_expanse_a_modern_and_elegant_web/
2 635
Large Language Models for Mortals: A Practical Guide for Analysts with Python
https://crimede-coder.com/blogposts/2026/LLMsForMortals
2 635
AstrBotDevs / AstrBot
Agentic IM Chatbot infrastructure that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
https://github.com/AstrBotDevs/AstrBot
2 635
dj-urls-panel
Visualize Django URL routing inside the Django Admin, including patterns, views, namespaces, and conflicts.
https://github.com/yassi/dj-urls-panel
2 635
Python: introducing icu4py, bindings to the Unicode ICU library
Adam Johnson announces icu4py, a new Python package that provides Python-friendly bindings to the ICU4C Unicode library, enabling locale-aware text boundary analysis and message formatting in Python. The post highlights how icu4py exposes ICU features like word/sentence breaking and plural-aware formatting, and discusses future potential for broader ICU support in Python.
https://adamj.eu/tech/2026/02/09/python-introducing-icu4py/
2 635
Metaxy
Pluggable sample-level metadata versioning for incremental multimodal pipelines.
https://github.com/anam-org/metaxy
