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.2.tar.gz (139.3 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.2-py3-none-any.whl (144.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: analyview-0.1.2.tar.gz
  • Upload date:
  • Size: 139.3 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.2.tar.gz
Algorithm Hash digest
SHA256 5666ba27d003c8f218358d4362e89f30676ce19febafc01dd53dd58c978a2b1d
MD5 ca3cea5bc15c7b67118f918ab82dd49e
BLAKE2b-256 a1d846ffea229c48305ff1aeb1dcac74ecd0a28942f87160fd9e377ee4755502

See more details on using hashes here.

File details

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

File metadata

  • Download URL: analyview-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 144.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9451c285403b5b7824d5d45263dce6981052d3d1ad43953340db115216067a4d
MD5 1d54f6dcd7dabac56a433348f51e49b4
BLAKE2b-256 73b60855ba03c10e3577f3a489dd164990f5691a74d3310409487b7b25732b1b

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