Django AskLens docs

Django AskLens is the Django implementation of the AskLens specification: a read-only semantic query contract over explicitly registered models, with optional Django REST Framework and MCP adapters.

Django AskLens was created by Revaz Zakalashvili (revaz.zakalashvili@gmail.com).

django-asklens==0.3.2 is the current published alpha. See the immutable GitHub Release, PyPI version record, and Installation for exact public artifact identities. The candidate preparation record is retained as historical pre-publication evidence.

See it

The synthetic AskLens source demo showing the exact paid-revenue question, North Studio current-user scope, and grouped North-only output.

See the 36-second browser showcase for the exact offline question, scoped grouped result, successful empty result, and neutral denial. The capture uses seeded synthetic data and the deterministic DummyProvider; it is not live-LLM, arbitrary-language, customer-data, or production evidence.

Run it

The source demo keeps Django authentication, CSRF, the explicit catalog, current-request permissions, trusted row scope, and query limits active. Its configured offline questions match exact text only.

Integrate it

Package provenance

Important

django-asklens==0.3.2 is the current published alpha, not a stable or production-certified release. Mutable source documentation and the synthetic source demo may become newer than the immutable public wheel. Authenticate the artifact you install and review the exact public hashes, tag/commit/tree, Python/Django ranges, historical release evidence, and supported upgrade origins in Installation. The immutable v0.3.2 source snapshot, GitHub Release, and PyPI record establish the public release; same-version local rebuilds are separate local evidence.

Security and operations

Guides and reference

Maintainer evidence

These internal and release-process records are useful for review, but are secondary to the runnable integration and safety guides above.

Current scope

AskLens is a read-only semantic query specification. Django AskLens is the first implementation. Callers supply an untrusted query-plan; the implementation resolves current identity, catalog, and row scope, compiles a read-only query, and returns typed result JSON. Optional DRF, MCP, admin, frontend, and provider adapters must use the same execution path.

AskLens does not execute LLM-generated SQL, mutate data, auto-expose Django models, send sample rows to providers, or require a frontend framework. See the AskLens specification.