Source code for colour.utilities

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import absolute_import

from .common import (
    handle_numpy_errors,
    ignore_numpy_errors,
    raise_numpy_errors,
    print_numpy_errors,
    warn_numpy_errors,
    ignore_python_warnings,
    batch,
    is_openimageio_installed,
    is_scipy_installed,
    is_iterable,
    is_string,
    is_numeric,
    is_integer)
from .array import (
    as_numeric,
    closest,
    normalise,
    steps,
    is_uniform,
    in_array,
    tstack,
    tsplit,
    row_as_diagonal,
    dot_vector,
    dot_matrix)
from .data_structures import (
    ArbitraryPrecisionMapping,
    Lookup,
    Structure,
    CaseInsensitiveMapping)
from .verbose import message_box, warning

__all__ = ['handle_numpy_errors',
           'ignore_numpy_errors',
           'raise_numpy_errors',
           'print_numpy_errors',
           'warn_numpy_errors',
           'ignore_python_warnings',
           'batch',
           'is_openimageio_installed',
           'is_scipy_installed',
           'is_iterable',
           'is_string',
           'is_numeric',
           'is_integer']
__all__ += ['as_numeric',
            'closest',
            'normalise',
            'steps',
            'is_uniform',
            'in_array',
            'tstack',
            'tsplit',
            'row_as_diagonal',
            'dot_vector',
            'dot_matrix']
__all__ += ['ArbitraryPrecisionMapping',
            'Lookup',
            'Structure',
            'CaseInsensitiveMapping']
__all__ += ['message_box', 'warning']