Skip to content

migolan/dynasty

Repository files navigation

dynasty

Dynasty extracts the class hierachy for your Python package, to track down lost or misplaced classes and help prevent ravioli code.

Installation

pip install dynasty

Usage

import mypackage
from dynasty import Dynasty

mypackage_dynasty = Dynasty(mypackage)

# display collapsible class hierarchy (in jupyter notebook)
mypackage_dynasty.widget()

# print class hierarchy to screen
mypackage_dynasty.print()

Author

Michal Golan <migolan@gmail.com> migolan@github

About

Python package class hierarchy visualizer.

Topics

Resources

License

Stars

Watchers

Forks

Languages