qmat.utils
Utility function for qmat
Functions
|
Check if a class overrides a method with a given name |
|
Check if a class implement a constructor with a **kwargs generic parameter |
|
Store a class into a dictionary with a given alias |
|
Store a class into a dictionary |
|
Import all submodules in the current (sub-)package |
|
Retrieve all classes stored into a dictionary, filtering aliases |
|
Wrapper to extract \(Q_\Delta\)-generator parameters from kwargs argument, |
Module Contents
- checkOverriding(cls, name, isProperty=True)[source]
Check if a class overrides a method with a given name
- checkGenericConstr(cls)[source]
Check if a class implement a constructor with a **kwargs generic parameter
- importAll(localVars, __all__, __path__, __name__, __import__)[source]
Import all submodules in the current (sub-)package