What happens if you write a TCP stack in Python? (2014)
https://jvns.ca/blog/2014/08/12/what-happens-if-you-write-a-tcp-stack-in-python/
https://jvns.ca/blog/2014/08/12/what-happens-if-you-write-a-tcp-stack-in-python/
Julia Evans
What happens if you write a TCP stack in Python?
During Hacker School, I wanted to understand networking better, and I decided to write a miniature TCP stack as part of that. I was much more comfortable with Python than C and I’d recently discovered the scapy networking library which made sending packets…
Adopting Python 3.15's lazy imports: a 4× faster CLI, and where they didn't help
https://namegarage.com/blog/python-3-15-lazy-imports
https://namegarage.com/blog/python-3-15-lazy-imports
Namegarage
Adopting Python 3.15's lazy imports: a 4× faster CLI, and where they didn't help — Namegarage blog
We deferred imports in a CLI, a terminal UI and an MCP server with PEP 810, behind a static safety gate. One start-up became four times faster; the other two improved by 15 to 20 percent.
❤1
Django: introducing django-launch-editor for jump-to-file debugging
https://adamj.eu/tech/2026/11/08/introducing-django-launch-editor/
https://adamj.eu/tech/2026/11/08/introducing-django-launch-editor/
adamj.eu
Django: introducing django-launch-editor for jump-to-file debugging - Adam Johnson
I’ve made another package! django-launch-editor makes the file locations on Django’s debug error page into links that open your editor.
blue-harness
Make your own app expensive to reverse. A build-time audit, harden and verify harness for native binaries and mobile apps, built to counter AI-assisted reverse engineering.
https://github.com/seifheakal/blue-harness
Make your own app expensive to reverse. A build-time audit, harden and verify harness for native binaries and mobile apps, built to counter AI-assisted reverse engineering.
https://github.com/seifheakal/blue-harness
GitHub
GitHub - seifheakal/blue-harness: Make your own app expensive to reverse. A build-time audit, harden and verify harness for native…
Make your own app expensive to reverse. A build-time audit, harden and verify harness for native binaries and mobile apps, built to counter AI-assisted reverse engineering. - seifheakal/blue-harness
Stricter checks for uploaded distributions on PyPI
PyPI has introduced stricter validation of uploaded Python source distributions and wheels to prevent archive parser inconsistencies that could allow malicious packages to bypass security checks. The changes restrict legacy tar formats and problematic ZIP comments, improving supply chain security while requiring minimal changes from most package maintainers.
https://blog.pypi.org/posts/2026-11-18-stricter-checks-for-uploaded-sdists/
PyPI has introduced stricter validation of uploaded Python source distributions and wheels to prevent archive parser inconsistencies that could allow malicious packages to bypass security checks. The changes restrict legacy tar formats and problematic ZIP comments, improving supply chain security while requiring minimal changes from most package maintainers.
https://blog.pypi.org/posts/2026-11-18-stricter-checks-for-uploaded-sdists/
blog.pypi.org
Stricter checks for uploaded distributions on PyPI - The Python Package Index Blog
PyPI has added and will continue adding more checks for uploaded source and built distributions, as part of a larger effort to reduce archive differentials in the Python packaging ecosystem and conform with Python packaging standards.
Sibyl-Memory
Durable, file-based long-term memory for AI agents. Five-package plugin family: SDK, CLI, MCP server, Hermes adapter, and a LangGraph BaseStore. No vector database, no embeddings.
https://github.com/Sibyl-Labs/Sibyl-Memory
Durable, file-based long-term memory for AI agents. Five-package plugin family: SDK, CLI, MCP server, Hermes adapter, and a LangGraph BaseStore. No vector database, no embeddings.
https://github.com/Sibyl-Labs/Sibyl-Memory
GitHub
GitHub - Sibyl-Labs/Sibyl-Memory: Durable, file-based long-term memory for AI agents. Five-package plugin family: SDK, CLI, MCP…
Durable, file-based long-term memory for AI agents. Five-package plugin family: SDK, CLI, MCP server, Hermes adapter, and a LangGraph BaseStore. No vector database, no embeddings. - Sibyl-Labs/Siby...
pyscriptc
Compile annotated Python to native binaries. Typed subset, opt-in CPython fallback.
https://github.com/sigilco/pyscriptc
Compile annotated Python to native binaries. Typed subset, opt-in CPython fallback.
https://github.com/sigilco/pyscriptc
GitHub
GitHub - sigilco/pyscriptc: Compile annotated Python to native binaries. Typed subset, opt-in CPython fallback.
Compile annotated Python to native binaries. Typed subset, opt-in CPython fallback. - sigilco/pyscriptc
Reading JSON at 277 GB/s in Python
Daniel Lemire demonstrates JSON processing speeds of up to 277 GB/s using Python 3.14's free-threaded build and the SIMD-accelerated fastsimdjson library on a 192-core server. Benchmarks show substantial performance improvements over conventional JSON parsers and multiprocessing approaches on several workloads, highlighting the potential of GIL-free multithreading for large-scale data pr...
https://lemire.me/blog/2026/11/14/reading-json-at-277-gb-s-in-python/
Daniel Lemire demonstrates JSON processing speeds of up to 277 GB/s using Python 3.14's free-threaded build and the SIMD-accelerated fastsimdjson library on a 192-core server. Benchmarks show substantial performance improvements over conventional JSON parsers and multiprocessing approaches on several workloads, highlighting the potential of GIL-free multithreading for large-scale data pr...
https://lemire.me/blog/2026/11/14/reading-json-at-277-gb-s-in-python/
Daniel Lemire's blog
Reading JSON at 277 GB/s in Python
Many systems log their data as JSON, one record per line (NDJSON). GitHub, for example, publishes every public event on its site that way through GH Archive: about a gigabyte per hour. Suppose you want to know which repositories received the most stars over…
SkillEvaluator
Multi-tier framework for evaluating AI agent skills and plugins with quality gates, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior.
https://github.com/NVIDIA/SkillEvaluator
Multi-tier framework for evaluating AI agent skills and plugins with quality gates, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior.
https://github.com/NVIDIA/SkillEvaluator
GitHub
GitHub - NVIDIA/SkillEvaluator: Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning…
Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generat...
What makes uv slow?
An in-depth look at what makes Python's uv package manager slow, examining bottlenecks in dependency resolution, package installation, caching, network requests, and concurrency. Real-world benchmarks reveal how optimizations such as parallel prefetching, efficient data structures, and filesystem operations help uv achieve its speed while exposing remaining performance challenges.
https://blog.schuetze.link/what-makes-uv-slow/
An in-depth look at what makes Python's uv package manager slow, examining bottlenecks in dependency resolution, package installation, caching, network requests, and concurrency. Real-world benchmarks reveal how optimizations such as parallel prefetching, efficient data structures, and filesystem operations help uv achieve its speed while exposing remaining performance challenges.
https://blog.schuetze.link/what-makes-uv-slow/
💩1
How to find and fix N+1 queries in Django
Learn how to identify and eliminate N+1 queries in Django using selectrelated(), prefetchrelated(), and SQL profiling tools to reduce unnecessary database operations. A practical example demonstrates reducing query counts from 61 to 2, with additional guidance on optimizing serializers, avoiding over-fetching, and preventing regressions through automated tests.
https://codewithstein.com/fix-n-plus-one-queries-django/
Learn how to identify and eliminate N+1 queries in Django using selectrelated(), prefetchrelated(), and SQL profiling tools to reduce unnecessary database operations. A practical example demonstrates reducing query counts from 61 to 2, with additional guidance on optimizing serializers, avoiding over-fetching, and preventing regressions through automated tests.
https://codewithstein.com/fix-n-plus-one-queries-django/
Codewithstein
How to find and fix N+1 queries in Django | Code With Stein
N+1 queries are one of those Django performance problems that can hide in plain sight. A page might look fine with five rows in development and then suddenly make hundreds of database queries in production. In this tutorial, I'll build a deliberately slow…
Muru – AI-assisted Rust server for Python apps by mod_WSGI's creator
https://simonwillison.net/2026/Nov/21/muru/
https://simonwillison.net/2026/Nov/21/muru/
Simon Willison’s Weblog
Muru
Graham Dumpleton started mod_wsgi 20 years ago, and has been thinking about the ideal way to serve Python web applications in production ever since. Muru is his new, AI-assisted Rust …
Learn Data Structures and Algorithms in Python with Visualizations
Learn data structures and algorithms in Python in this beginner's course. This course covers arrays, linked lists, stacks, queues, hash tables, trees, heaps, and graphs, plus recursion, searching, sorting, and interview prep. Each topic is explained with custom animations and visualizations alongside Python code examples. By the end, you will understand how the most important data struct...
https://www.youtube.com/watch?v=ybe6EGe_wjo
Learn data structures and algorithms in Python in this beginner's course. This course covers arrays, linked lists, stacks, queues, hash tables, trees, heaps, and graphs, plus recursion, searching, sorting, and interview prep. Each topic is explained with custom animations and visualizations alongside Python code examples. By the end, you will understand how the most important data struct...
https://www.youtube.com/watch?v=ybe6EGe_wjo
YouTube
Learn Data Structures and Algorithms in Python with Visualizations
Learn data structures and algorithms in Python in this beginner's course. This course covers arrays, linked lists, stacks, queues, hash tables, trees, heaps, and graphs, plus recursion, searching, sorting, and interview prep. Each topic is explained with…
Pytml
Pytml is a lightweight, open-source PyScript alternative that lets developers run Python directly in HTML using a single script tag, with support for DOM interaction, UI controls, and Python packages through Pyodide.
https://github.com/NodeX-AR/Pytml
Pytml is a lightweight, open-source PyScript alternative that lets developers run Python directly in HTML using a single script tag, with support for DOM interaction, UI controls, and Python packages through Pyodide.
https://github.com/NodeX-AR/Pytml
GitHub
GitHub - NodeX-AR/Pytml: Pytml is a 15KB lightweight PyScript alternative — run Python in HTML with one script tag.
Pytml is a 15KB lightweight PyScript alternative — run Python in HTML with one script tag. - NodeX-AR/Pytml
mcp-attest
Authorization conformance harness for MCP servers: test a live server against your own policy, as every identity, and produce evidence an auditor can verify.
https://github.com/Balanov/mcp-attest
Authorization conformance harness for MCP servers: test a live server against your own policy, as every identity, and produce evidence an auditor can verify.
https://github.com/Balanov/mcp-attest
GitHub
GitHub - Balanov/mcp-attest: Authorization conformance harness for MCP servers: test a live server against your own policy, as…
Authorization conformance harness for MCP servers: test a live server against your own policy, as every identity, and produce evidence an auditor can verify. - Balanov/mcp-attest