All Projects → bwohlberg → jonga

bwohlberg / jonga

Licence: GPL-2.0 License
Jonga: Python function call graph visualization

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to jonga

cmd-call-graph
A simple tool to generate a call graph for calls within Windows CMD (batch) files.
Stars: ✭ 37 (-5.13%)
Mutual labels:  call-graph, call-graph-analysis
emerge
emerge is a source code analysis tool and dependency visualizer that can be used to gather insights about source code structure, metrics, dependencies and complexity of software projects. After scanning the source code of a project it provides you an interactive web interface to explore and analyze your project by using graph structures.
Stars: ✭ 120 (+207.69%)
Mutual labels:  dependency-graph, code-visualization
react
Basic Primitives Diagrams for React. Data visualization components library that implements organizational chart and multi-parent dependency diagrams.
Stars: ✭ 15 (-61.54%)
Mutual labels:  dependency-graph
Documentor
Super intuitive documentation generator, from markdown files to a single html file (style, scripts, images, search engine embedded) 📖
Stars: ✭ 32 (-17.95%)
Mutual labels:  documentation-tool
presidium
Presidium user documentation
Stars: ✭ 25 (-35.9%)
Mutual labels:  documentation-tool
newdoc
The newdoc tool generates files formatted with AsciiDoc, which are used in Red Hat documentation.
Stars: ✭ 14 (-64.1%)
Mutual labels:  documentation-tool
DevDocs-Web-Ext
A Chrome extension for DevDocs.
Stars: ✭ 22 (-43.59%)
Mutual labels:  documentation-tool
live-documenter
.NET documentation generator and live reader. Generate documentation from .NET code and xml comments, fast, quick and easy.
Stars: ✭ 64 (+64.1%)
Mutual labels:  documentation-tool
gotopus
Gotopus is a minimalistic tool that runs arbitrary commands concurrently.
Stars: ✭ 17 (-56.41%)
Mutual labels:  dependency-graph
express-router-dependency-graph
A static code analysis tool that creates a dependency graph for express routing.
Stars: ✭ 26 (-33.33%)
Mutual labels:  dependency-graph
pyan
Static call graph generator. The official Python 3 version. Development repo.
Stars: ✭ 186 (+376.92%)
Mutual labels:  call-graph
tygen
Modern documentation generator for TypeScript built with ReactJS
Stars: ✭ 23 (-41.03%)
Mutual labels:  documentation-tool
badge-generator
Magically generate Markdown badges for your docs 🛡️ 🦡 🧙
Stars: ✭ 104 (+166.67%)
Mutual labels:  documentation-tool
asset-graph-webpack-plugin
Webpack plugin to easily get assets dependency graph based on entry point
Stars: ✭ 13 (-66.67%)
Mutual labels:  dependency-graph
docscii
DocBook to AsciiDoc converter
Stars: ✭ 14 (-64.1%)
Mutual labels:  documentation-tool
analysis-net
Static analysis framework for .NET programs.
Stars: ✭ 19 (-51.28%)
Mutual labels:  call-graph-analysis
grav-theme-learn2
Learn2 Grav Theme
Stars: ✭ 80 (+105.13%)
Mutual labels:  documentation-tool
hapic
Input/Output/Error management for your python controllers with Swagger doc generation
Stars: ✭ 18 (-53.85%)
Mutual labels:  documentation-tool
functions-as-patterns
Exploring patterns as a means of understanding and documenting functions.
Stars: ✭ 46 (+17.95%)
Mutual labels:  documentation-tool
git-explode
Explode linear sequence of git commits into topic branches
Stars: ✭ 43 (+10.26%)
Mutual labels:  dependency-graph

Jonga

Build Status Documentation Status PyPi Release PyPi Downloads Conda Forge Release Conda Forge Downloads Supported Python Versions Package License Binder

Jonga is a Python package that generates a directed graph representing function calls within a block of Python code, intended for inclusion in Sphinx package documentation. There are a number of alternative packages with similar goals, including

but none of them is entirely suitable for generating function/method call vizualizations for inclusion within package documentation. In particular, none of these other packages correctly identifies method classes within a hierarchy of derived classes.

Requirements

The primary requirement is Python 3.3 or greater (this packages is not compatible with Python 2), imposed by the use of the __qualname__ function attribute and inspect.getclosurevars. The __qualname__ attribute could be replaced in earlier versions of Python by qualname, but there is no obvious replacement for inspect.getclosurevars, which was introduced in Python 3.3.

The other major requirement is pygraphviz. Under Ubuntu Linux 18.04, this requirement can be installed by the command

sudo apt-get install python3-pygraphviz

Optional

Package matplotlib is required to run the included Jupyter Notebook examples.

Packages pytest and pytest-runner are required to run the tests (python setup.py test or python3 setup.py test, depending on the operating system).

Packages sphinx, sphinx-bootstrap-theme, and numpydoc are required to build the documentation (python setup.py build_sphinx or python3 setup.py build_sphinx, depending on the operating system).

Usage

Scripts illustrating usage of the package can be found in the examples directory of the source distribution. These examples can be run from the root directory of the package by, for example

python3 examples/example1.py

To run these scripts prior to installing the package it will be necessary to first set the PYTHONPATH environment variable to include the root directory of the package. For example, in a bash shell

export PYTHONPATH=$PYTHONPATH:`pwd`

from the root directory of the package.

Jupyter Notebook versions of the example scripts are also included in the examples directory, and can be viewed online via nbviewer, or run interactively at binder.

Documentation

Documentation is available online at Read the Docs, or can be built from the root directory of the source distribution by the command

python3 setup.py build_sphinx

in which case the HTML documentation can be found in the build/sphinx/html directory (the top-level document is index.html).

Contact

Please submit bug reports, comments, etc. to [email protected]. Bugs and feature requests can also be reported via the GitHub Issues interface.

License

This package is made available under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License (see the included LICENSE file), or (at your option) any later version.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].