podio.pythonizations.utils package
Submodules
podio.pythonizations.utils.pythonizer module
cppyy pythonizations for podio
- class podio.pythonizations.utils.pythonizer.Pythonizer
Bases:
object
Base class to define cppyy pythonization for podio
- abstract classmethod filter(class_, name)
Abstract classmethod to filter classes to which the pythonizations should be applied
- Parameters:
class (type) – Class object.
name (str) – Name of the class.
- Returns:
True if class should be pythonized.
- Return type:
bool
- abstract classmethod modify(class_, name)
Abstract classmethod modifying classes to be pythonized
- Parameters:
class (type) – Class object.
name (str) – Name of the class.
- abstract classmethod priority()
Order in which the pythonizations are applied
- Returns:
Priority
- Return type:
int
- classmethod register(namespace)
Helper method to apply the pythonization to the given namespace
- Parameters:
namespace (str) – Namespace to by pythonized