Welcome to the PyPI page of Pyfactor - a refactoring tool that visualises Python source files, modules and importable packages as a graph of dependencies between Python constructs like variables, functions and classes.
$ pyfactor --help
$ pyfactor script.py
$ pyfactor script.py --skip-external --view
Visit our online documentation on Read The Docs for reference documentation, examples and release notes. If you've found a bug or would like to propose a feature, please submit an issue on GitHub.
Pyfactor can be installed from the Package Index via pip
.
$ pip install pyfactor
Additionally, Pyfactor depends on a free graph visualisation software Graphviz, available for Linux, Windows and Mac. See also the documentation of the Graphviz Python package for more help.
Release notes can be found on our Read The Docs site.