imports for doppel. Use
__all__ to add things
to the API Reference in the docs in
- 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.
Get a list with the names of all exported classes in the package.
- classmethod from_json(filename)
Instantiate a Package object from a file.
Get a list with the names of all exported functions in the package.
Get a dictionary with all exported functions in the package and some details describing them.
- public_method_args(class_name, method_name)
Get a list of arguments for a public method from a class.
- class doppel.PackageCollection(packages)
Create a collection of multiple
PackageAPIobjects. This class contains access methods so you don’t have to keep doing
for package in packagesover a collection of
List of all classes that exist in at least one of the packages.
List of all functions that exist in at least one of the packages.