Back to feed
ORM Lens Analyzer for Django and SQLAlchemy

Static Analyzer ORM Lens for Django and SQLAlchemy

ORM Lens is an open-source static analyzer designed to check models and migrations in Django and SQLAlchemy frameworks. The tool works directly with source code, without requiring a running application or database connection.

The analyzer automatically builds ER diagrams and identifies common performance issues, such as N+1 queries. It also detects dangerous migrations, including adding NOT NULL fields without default values or creating blocking indexes.

For developer convenience, it offers a command-line interface (CLI), a VS Code extension, and an MCP server that allows integration into AI agent workflows. The project is freely available under the MIT license.

10.9K views

More from this channel GitHub Community

Similar in this category Technology