Skip to main content

A Python library for visualizing and understanding codebases.

Project description

CodeAtlas

🚀 Overview

CodeAtlas is a groundbreaking Python library designed to help developers visualize and comprehend their codebases effortlessly. By generating interactive and intuitive diagrams, CodeAtlas provides insights into the structure and flow of your Python projects, facilitating better understanding, maintenance, and collaboration.

🎯 Key Features

  • Function and Class Diagrams: Automatically generate diagrams showcasing the relationships between functions and classes in your code.
  • Module Dependency Graphs: Visualize how different modules in your project depend on each other.
  • Interactive Web Interface: Explore your codebase through an interactive web interface with zooming, panning, and filtering capabilities.
  • Command-Line Interface (CLI): Easily integrate CodeAtlas into your workflow using its powerful CLI.
  • Export Options: Export diagrams in various formats such as PNG, SVG, and PDF for documentation or presentations.

🧠 Why CodeAtlas?

Understanding complex codebases can be challenging, especially when onboarding new team members or revisiting old projects. While tools like Graphviz and Doxygen exist, they often require extensive configuration and lack interactivity. CodeAtlas fills this gap by providing an easy-to-use, interactive, and visually appealing way to explore Python codebases.

📦 Installation

To install CodeAtlas, use the following command:

pip install codeatlas

🛠️ Usage

To generate a graph for your Python project, run the following command:

python -m codeatlas.main --path <project_path> --output <output_file>

Example:

python -m codeatlas.main --path examples/sample_project --output demo_graph.png

🤝 Contributing

We welcome contributions from the community! Please see the CONTRIBUTING.md file for guidelines on how to contribute.

🚀 Future Plans

  • Add module dependency graphs.
  • Develop an interactive web interface for exploring codebases.
  • Support exporting diagrams in SVG and PDF formats.
  • Enhance CLI features for better usability.

📜 License

CodeAtlas is licensed under the MIT License. See the LICENSE file for more details.


Happy coding with CodeAtlas! 🎉

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

codeatlas-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

codeatlas-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codeatlas-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for codeatlas-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3ffbf06e71ce8c885cf4c0eaeb246f54e26b1ebf3c9aa656026ca4ac5d64dbfc
MD5 17947011b43cea074382f436a40a325d
BLAKE2b-256 974fb4a6cb6e41c645e2206c9e85a4447f4e092b316aa861cb018f619a18f3cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codeatlas-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for codeatlas-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38ebb51ee93cbca16815cde677cc769f034f34a3d8a06c571531be74be75e2fc
MD5 0932b64e0552618b9ec74ffc2a7908e6
BLAKE2b-256 3f2bf060981ae0bcb387b5749890a3720c62b9667dc9d709c76215404a96b660

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