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.0.tar.gz (12.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.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: analyview-0.1.0.tar.gz
  • Upload date:
  • Size: 12.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.0.tar.gz
Algorithm Hash digest
SHA256 1723d07952d3dbd4621de308686d38161dc7b367cc390d31f3925af1301e7eac
MD5 f5ca08eff8783488d36edafc50c2570b
BLAKE2b-256 4679eff9630a030e9308118a9ec9de7e4795ecbf812efbd6daf850a000cc4e12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: analyview-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35a3e19f78f5039bfb7b02c81778cda96b2beefa3a553ff070649418a79e62b1
MD5 12c8d00e442f3a53f1188356f151ac5b
BLAKE2b-256 25ad1f0ebda89c44cb9bedb841d1ae4e26ac6d68ca6d2174d8796a389924c96e

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