TrustGraph
The Context Graph Factory for AI. Build, manage, and deploy AI-optimized Context Graphs.
https://github.com/trustgraph-ai/trustgraph
The Context Graph Factory for AI. Build, manage, and deploy AI-optimized Context Graphs.
https://github.com/trustgraph-ai/trustgraph
GitHub
GitHub - trustgraph-ai/trustgraph: The Context Graph Factory for AI. Build, manage, and deploy AI-optimized Context Graphs.
The Context Graph Factory for AI. Build, manage, and deploy AI-optimized Context Graphs. - trustgraph-ai/trustgraph
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/
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/
hackeryarn
What async really means for your python web app?
Python continues to get better async support and with that comes pressure to switch. See the realistic effects that switching to async would have on your web servers.
👍2
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/
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/
Patrick Müller
Static Protocols in Python: Behaviour Over Inheritance
The first time I read about protocols was in the book "Fluent Python" by Luciano Ramalho. This book goes deep. Deeper than I knew Python at that time. If you hadn't heard of Protocols before, I'll give you a short introduction.
Protocols have something to…
Protocols have something to…
shareAI-lab / learn-claude-code
How can we build a true AI agent? Like Claude Code.
https://github.com/shareAI-lab/learn-claude-code
How can we build a true AI agent? Like Claude Code.
https://github.com/shareAI-lab/learn-claude-code
GitHub
GitHub - shareAI-lab/learn-claude-code: How can we build a true AI agent? Like Claude Code.
How can we build a true AI agent? Like Claude Code. - shareAI-lab/learn-claude-code
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
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
Andrew Nesbitt
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.
awesome-agentic-patterns
A curated catalogue of awesome agentic AI patterns.
https://github.com/nibzard/awesome-agentic-patterns
A curated catalogue of awesome agentic AI patterns.
https://github.com/nibzard/awesome-agentic-patterns
GitHub
GitHub - nibzard/awesome-agentic-patterns: A curated catalogue of awesome agentic AI patterns
A curated catalogue of awesome agentic AI patterns - nibzard/awesome-agentic-patterns
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/
Your software’s speed needs some form of testing; big-O scaling is a good starting point.
https://pythonspeed.com/articles/big-o-tests/
Python⇒Speed
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.
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/
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/
Artem Golubin
Recent optimizations in Python's Reference Counting
An overview of recent optimizations in Python's reference counting.
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
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
GitHub
GitHub - PennyLaneAI/pennylane: PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and…
PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Built by researchers, for research. - GitHub - PennyLaneAI/pennylane: PennyLane...
SleepFM
A multimodal sleep foundation model that can predict 130 diseases from 1 night of sleep.
https://github.com/zou-group/sleepfm-clinical
A multimodal sleep foundation model that can predict 130 diseases from 1 night of sleep.
https://github.com/zou-group/sleepfm-clinical
GitHub
GitHub - zou-group/sleepfm-clinical
Contribute to zou-group/sleepfm-clinical development by creating an account on GitHub.
FastScheduler – Decorator-first Python task scheduler, async support
https://github.com/MichielMe/fastscheduler
https://github.com/MichielMe/fastscheduler
GitHub
GitHub - MichielMe/fastscheduler: Decorator-first Python scheduler — cron/interval/at jobs with simple persistence and built-in…
Decorator-first Python scheduler — cron/interval/at jobs with simple persistence and built-in run history. - MichielMe/fastscheduler
Pyinfra: Turns Python code into shell commands and runs them on your servers
https://github.com/pyinfra-dev/pyinfra
https://github.com/pyinfra-dev/pyinfra
GitHub
GitHub - pyinfra-dev/pyinfra: 🔧 pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands…
🔧 pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fas...
Anthropic has made a large contribution to the Python Software Foundation
https://discuss.python.org/t/anthropic-has-made-a-large-contribution-to-the-python-software-foundation-and-open-source-security/105694
https://discuss.python.org/t/anthropic-has-made-a-large-contribution-to-the-python-software-foundation-and-open-source-security/105694
Discussions on Python.org
Anthropic has made a large contribution to the Python Software Foundation and open source security
Hi all - I wanted to share here some exciting news we shared on our blog this morning: Anthropic has donated $1.5 million over two years to the PSF! Their landmark gift is focused on supporting our security work. Here’s what we shared on social media: …
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
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
YouTube
I Made a Classic Refactoring Mistake
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide.
In my previous video on refactoring complicated business logic, I made several mistakes and you spotted them. In this video, I go through what went wrong, why these kinds of…
In my previous video on refactoring complicated business logic, I made several mistakes and you spotted them. In this video, I go through what went wrong, why these kinds of…
I built a wrapper to get unlimited free access to GPT-4o, Gemini 2.5, and Llama 3 (16k+ reqs/day)
https://www.reddit.com/r/Python/comments/1q87ngh/i_built_a_wrapper_to_get_unlimited_free_access_to/
https://www.reddit.com/r/Python/comments/1q87ngh/i_built_a_wrapper_to_get_unlimited_free_access_to/
Reddit
From the Python community on Reddit: I built a wrapper to get unlimited free access to GPT-4o, Gemini 2.5, and Llama 3 (16k+ reqs/day)
Explore this post and more from the Python community