Skip to main content

Interactive Django architecture analyzer

Project description

AnalyView

AnalyView is a command-line tool that scans a Python/Django project and gives you an interactive visual overview of its structure — Python files, HTML templates, and Django apps — right in your browser.

Point it at a project folder and get an instant snapshot of what's inside, no configuration needed.


Installation

pip install analyview

Requires Python 3.9+.


Commands

analyview scan

Scans a project directory and prints a summary to the terminal.

analyview scan .

Or point it at any folder:

analyview scan D:\git\MyProject

What it reports:

  • Total number of Python (.py) files found
  • Total number of HTML template files found
  • Detected Django apps (folders containing both models.py and views.py)

The scan automatically skips virtual environments, node_modules, .git, build folders, and broken symlinks — so it's safe to run on any real-world project without manual cleanup.


analyview serve

Launches a local web app so you can explore the project's structure visually instead of just reading a terminal summary.

analyview serve .

This starts a server (default: http://127.0.0.1:9001) — open the printed URL in your browser to view the interactive layout of your project.

Optional flags:

Flag Description Default
--host Host address to bind to 127.0.0.1
--port Port to serve on 9001

Example with custom host/port:

analyview serve . --host 0.0.0.0 --port 9002

Press Ctrl+C to stop the server.


What counts as a "Django app"?

AnalyView uses a simple, reliable heuristic: any directory that contains both a models.py and a views.py file is treated as a Django app. This works without needing your project's settings, installed apps list, or any Django-specific configuration.


Notes

  • Works on any Python project, not just Django ones — non-Django projects will simply show 0 Django apps.
  • Safe on Windows, including projects with virtual environments that use symlinks/junctions (a common source of crashes in other scanning tools).
  • No internet connection or external services required — everything runs locally.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

analyview-0.1.1.tar.gz (162.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

analyview-0.1.1-py3-none-any.whl (167.1 kB view details)

Uploaded Python 3

File details

Details for the file analyview-0.1.1.tar.gz.

File metadata

  • Download URL: analyview-0.1.1.tar.gz
  • Upload date:
  • Size: 162.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for analyview-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8b69f7ff27a014b5f0a5adf440112a53bbdc58b71b87d52387c51a8ba6bcc6ef
MD5 3f4bcd9b13ebcc0b8146c9e25cd250e1
BLAKE2b-256 dcdac42440ebba80d26806f983f737538a78d3f28959e79504b7113532ef1f67

See more details on using hashes here.

File details

Details for the file analyview-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: analyview-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 167.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for analyview-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88fd825ffa478754396965d954ecacd7937157d5ff3c4b787ac82c946b657991
MD5 432c0925c47486d16f794da5cad75aa5
BLAKE2b-256 80f59c276d431c43ac6db0c516d30da6a0e4b601f2088e450a4f78ad3e5be823

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page