fa
Feedback
PythonHub

PythonHub

رفتن به کانال در Telegram

News & links about Python programming. https://pythonhub.dev/

نمایش بیشتر
2 526
مشترکین
-224 ساعت
+67 روز
+3230 روز
آرشیو پست ها
I Made a Classic Refactoring Mistake Arjan addresses mistakes in his prior video's refactoring of a messy order approval function, identifying three logic errors via failing tests. He discusses refactoring pitfalls like incomplete tests (86% coverage despite bugs), tricky and/or conditions, data structures, and the lack of a true "ground truth" in business logic. https://www.youtube.com/watch?v=b6RnBKvQ40o

Pyinfra: Turns Python code into shell commands and runs them on your servers https://github.com/pyinfra-dev/pyinfra

FastScheduler – Decorator-first Python task scheduler, async support https://github.com/MichielMe/fastscheduler

Python Hub Weekly Digest for 2026-01-11 https://pythonhub.dev/digest/2026-01-11/

MyTorch – Minimalist autograd in 450 lines of Python https://github.com/obround/mytorch

SleepFM A multimodal sleep foundation model that can predict 130 diseases from 1 night of sleep. https://github.com/zou-group/sleepfm-clinical

PennyLane PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Built by researchers, for research. https://github.com/PennyLaneAI/pennylane

WebAssembly as a Python Extension Platform https://nullprogram.com/blog/2026/01/01/

Recent optimizations in Python's Reference Counting CPython 3.14+ introduced LOADFASTBORROW, a bytecode optimization that skips reference count increments when loading local variables in hot loops, using static lifetime analysis to ensure safety. This reduces memory management overhead in performance-critical code like tight loops, mimicking Rust-style borrowing while preserving Python's reference counting model, with further JIT optimi... https://rushter.com/blog/python-refcount/

Unit testing your code’s performance, part 1: Big-O scaling Your software’s speed needs some form of testing; big-O scaling is a good starting point. https://pythonspeed.com/articles/big-o-tests/

awesome-agentic-patterns A curated catalogue of awesome agentic AI patterns. https://github.com/nibzard/awesome-agentic-patterns

How uv got so fast uv's speed comes from engineering decisions, not just Rust. Static metadata, dropping legacy formats, and standards that didn't exist five years ago. https://nesbitt.io/2025/12/26/how-uv-got-so-fast.html

LLMRouter An Open-Source Library for LLM Routing. https://github.com/ulab-uiuc/LLMRouter

shareAI-lab / learn-claude-code How can we build a true AI agent? Like Claude Code. https://github.com/shareAI-lab/learn-claude-code

Static Protocols in Python: Behaviour Over Inheritance Patrick Müller explores how Python's static protocols enable "static duck typing," allowing developers to define interfaces based on behavior (structural typing) rather than inheritance (nominal typing). He argues that this approach promotes loose coupling and greater flexibility in software design, particularly in complex fields like machine learning where diverse libraries and coding s... https://patrickm.de/static-protocols-in-python/

What async really means for your python web app? The author challenges the hype around async Python, demonstrating through benchmarks that for most database-driven web apps, synchronous Django with connection pooling often outperforms or matches async alternatives. The study concludes that unless a service is highly distributed or the primary bottleneck, the overhead of async can actually degrade performance, making sync the more effic... https://hackeryarn.com/post/async-python-benchmarks/

TrustGraph The Context Graph Factory for AI. Build, manage, and deploy AI-optimized Context Graphs. https://github.com/trustgraph-ai/trustgraph

randomized-svd randomized-svd is a lightweight, high-performance Python library for computing the Randomized Singular Value Decomposition (rSVD). https://github.com/massimofedrigo/randomized-svd