Django: iterate through all registered URL patterns
Adam Johnson demonstrates a Python generator function that recursively traverses Django’s URLResolver structure to enumerate all registered URLPattern objects, including those in nested namespaces. He shows how this can be used for tasks like auditing registered views or writing tests to ensure all class-based views inherit from a specific base class.
https://adamj.eu/tech/2025/07/22/django-iterate-url-patterns/
Adam Johnson demonstrates a Python generator function that recursively traverses Django’s URLResolver structure to enumerate all registered URLPattern objects, including those in nested namespaces. He shows how this can be used for tasks like auditing registered views or writing tests to ensure all class-based views inherit from a specific base class.
https://adamj.eu/tech/2025/07/22/django-iterate-url-patterns/
adamj.eu
Django: iterate through all registered URL patterns - Adam Johnson
I’ve found it useful, on occasion, to iterate through all registered URL patterns in a Django project. Sometimes this has been for checking URL layouts or auditing which views are registered.
metap: A Meta-Programming Layer for Python
metap is a new Python meta-programming layer that supports program augmentation, user-defined code generation, and structural introspection. It allows developers to automate coding patterns, extend Python with customizable macros, and have code inspect and enforce its own structure, improving maintainability and correctness. Unlike Python’s built-in tools, metap offers a unified, extensi...
https://sbaziotis.com/compilers/metap.html
metap is a new Python meta-programming layer that supports program augmentation, user-defined code generation, and structural introspection. It allows developers to automate coding patterns, extend Python with customizable macros, and have code inspect and enforce its own structure, improving maintainability and correctness. Unlike Python’s built-in tools, metap offers a unified, extensi...
https://sbaziotis.com/compilers/metap.html
sbaziotis.com
metap: A Meta-Programming Layer for Python
The metap package, and what meta-programming is and isn't.
Semi-Automated Assembly Verification in Python using pypcode Semantics
Philip Zucker introduces a Python toolkit that lets users add verification annotations directly to assembly code using macros, enabling semi-automated proof of correct assembly behavior via pypcode, which supports portable, architecture-agnostic analysis. This approach keeps formal verification practical and accessible for real-world low-level programming.
https://www.philipzucker.com/assembly_verify/
Philip Zucker introduces a Python toolkit that lets users add verification annotations directly to assembly code using macros, enabling semi-automated proof of correct assembly behavior via pypcode, which supports portable, architecture-agnostic analysis. This approach keeps formal verification practical and accessible for real-world low-level programming.
https://www.philipzucker.com/assembly_verify/
Hey There Buddo!
Semi-Automated Assembly Verification in Python using pypcode Semantics
I’ve worked on binary verification tooling for a while.
awesome-claude-code
A curated list of awesome commands, files, and workflows for Claude Code.
https://github.com/hesreallyhim/awesome-claude-code
A curated list of awesome commands, files, and workflows for Claude Code.
https://github.com/hesreallyhim/awesome-claude-code
GitHub
GitHub - hesreallyhim/awesome-claude-code: A curated list of awesome commands, files, and workflows for Claude Code
A curated list of awesome commands, files, and workflows for Claude Code - hesreallyhim/awesome-claude-code
Stop Using Django's squashmigrations: There's a Better Way
Squashing Django migrations often breaks or complicates projects, especially when all environments are under your control. A clean reset by deleting old migrations, generating new ones, and faking migration history is a simpler and more reliable approach.
https://johnnymetz.com/posts/squash-django-migrations/
Squashing Django migrations often breaks or complicates projects, especially when all environments are under your control. A clean reset by deleting old migrations, generating new ones, and faking migration history is a simpler and more reliable approach.
https://johnnymetz.com/posts/squash-django-migrations/
Johnny Metz
Stop Using Django's squashmigrations: There's a Better Way
Squashing merges multiple database migrations into a single consolidated file to speed up database setup and tidy up history. Django’s squashmigrations command promises to handle this, but it’s error-prone and unnecessarily complex. A clean reset is faster…
copyparty
Turn almost any device into a file server with resumable uploads/downloads using any web browser.
https://github.com/9001/copyparty
Turn almost any device into a file server with resumable uploads/downloads using any web browser.
https://github.com/9001/copyparty
GitHub
GitHub - 9001/copyparty: Portable file server with accelerated resumable uploads, dedup, WebDAV, FTP, TFTP, zeroconf, media indexer…
Portable file server with accelerated resumable uploads, dedup, WebDAV, FTP, TFTP, zeroconf, media indexer, thumbnails++ all in one file, no deps - 9001/copyparty
asyncio: a library with too many sharp corners
An explanation of some major issues with asyncio.
https://sailor.li/asyncio
An explanation of some major issues with asyncio.
https://sailor.li/asyncio
sailor.li
asyncio: a library with too many sharp corners
An explanation of some major issues with asyncio.