A CLI tool to produce interactive visualisations of OOP inheritance in Python projects.
oop_viewer examples/dummy_python.py
oop_viewer examples
oop_viewer examples OtherChildClass
- Multiple Inheritance
- Colour nodes based on file
- Disambiguiting overlapping nodes
- Allowing for passing of class across module
Currently building is done manually until precompiled binaries are distributed.
To build the tool you'll need to install Rust and Cargo. The Rust Foundation Book has really good documentation for how to install both. Once these are installed, clone the repo and do the following:
- Build the binary
cargo build --release
- Install the binary globally
cargo install --path .
- Add
~/.cargo/bin
to$PATH
export PATH="$HOME/.cargo/bin:$PATH"