colour.utilities.required#
- colour.utilities.required(*requirements: Literal['ctlrender', 'Imageio', 'OpenImageIO', 'Matplotlib', 'NetworkX', 'OpenColorIO', 'Pandas', 'Pydot', 'SciPy', 'tqdm', 'trimesh', 'xxhash']) Callable[source]#
Check whether specified ancillary package requirements are satisfied and decorate the function accordingly.
- Parameters:
requirements (Literal['ctlrender', 'Imageio', 'OpenImageIO', 'Matplotlib', 'NetworkX', 'OpenColorIO', 'Pandas', 'Pydot', 'SciPy', 'tqdm', 'trimesh', 'xxhash']) – Package requirements to check for satisfaction.
- Returns:
Decorated function that validates package availability.
- Return type: