colour.utilities.is_xxhash_installed#

colour.utilities.is_xxhash_installed(raise_exception: bool = False) bool[source]#

Return whether xxhash is installed and available.

Parameters

raise_exception (bool) – Whether to raise an exception if xxhash is unavailable.

Returns

Whether xxhash is installed.

Return type

bool

Raises

ImportError – If xxhash is not installed.