Main Interface

class doppel.PackageAPI(pkg_dict)

Package API class

This class is used to hold the interface of a given package being analyzed by doppel. It’s comparison operators enable comparison between interfaces and its standard JSON format allows this comparison to happen across programming languages.

class_names()
classmethod from_json(filename)

Instantiate a Package object from a file.

Parameters:filename (str) – Name of the JSON file that contains the description of the target package’s API.
function_names()
functions_with_args()
name()
num_classes()
num_functions()