opencolorio_config_aces.ConfigData#

class opencolorio_config_aces.ConfigData(schema_version: ~semver.version.Version = <factory>, profile_version: ~semver.version.Version = <factory>, name: str = <factory>, description: str = 'An "OpenColorIO" config generated by "OpenColorIO-Config-ACES".', search_path: list[str] = <factory>, roles: dict[str, str] = <factory>, colorspaces: list[dict[str, ~typing.Any] | ~PyOpenColorIO.PyOpenColorIO.ColorSpace] = <factory>, named_transforms: list[dict[str, ~typing.Any] | ~PyOpenColorIO.PyOpenColorIO.NamedTransform] = <factory>, view_transforms: list[dict[str, ~typing.Any] | ~PyOpenColorIO.PyOpenColorIO.ViewTransform] = <factory>, looks: list[dict[str, ~typing.Any] | ~PyOpenColorIO.PyOpenColorIO.Look] = <factory>, shared_views: list[dict[str, ~typing.Any]] = <factory>, views: list[dict[str, ~typing.Any]] = <factory>, virtual_display_shared_views: list[str] = <factory>, virtual_display_views: list[dict[str, ~typing.Any]] = <factory>, active_displays: list[str] = <factory>, active_views: list[str] = <factory>, file_rules: list[dict[str, ~typing.Any]] = <factory>, viewing_rules: list[dict[str, ~typing.Any]] = <factory>, inactive_colorspaces: list[str] = <factory>, default_view_transform: str = <factory>)[source]#

Define the data container for an OpenColorIO config.

Parameters:
  • profile_version (semver.Version, optional) – Config major and minor version, i.e., (1, 0) or (2, 0).

  • name (unicode, optional) – Config name.

  • description (unicode, optional) – Config description.

  • search_path (list, optional) – Config search path.

  • roles (dict) – Config roles, a dict of role and Colorspace name.

  • colorspaces (array_like) – Config colorspaces, an iterable of PyOpenColorIO.ColorSpace class instances or mappings to create them with opencolorio_config_aces.colorspace_factory() definition.

  • named_transforms (array_like) – Config NamedTransform`s, an iterable of :attr:`PyOpenColorIO.NamedTransfom class instances or mappings to create them with opencolorio_config_aces.named_transform_factory() definition.

  • view_transforms (array_like, optional) – Config view transforms, an iterable of PyOpenColorIO.ViewTransform class instances or mappings to create them with opencolorio_config_aces.view_transform_factory() definition.

  • looks (array_like, optional) – Config looks, an iterable of PyOpenColorIO.Look class instances or mappings to create them with opencolorio_config_aces.look_factory() definition.

  • shared_views (array_like, optional) – Config shared views, an iterable of dicts of view, ViewTransform, Colorspace and rule names, iterable of looks and description.

  • views (array_like, optional) – Config views, an iterable of dicts of display, view and Colorspace names.

  • virtual_display_shared_views (array_like, optional) – Config virtual display shared views, an iterable of shared view names.

  • virtual_display_views (array_like, optional) – Config virtual display views, an iterable of dicts of view, ViewTransform, Colorspace names, looks, rule name and description.

  • active_displays (array_like, optional) – Config active displays, an iterable of display names.

  • active_views (array_like, optional) – Config active displays, an iterable of view names.

  • file_rules (array_like, optional) – Config file rules, a dict of file rules.

  • viewing_rules (array_like, optional) – Config viewing rules, a dict of viewing rules.

  • inactive_colorspaces (array_like, optional) – Config inactive colorspaces, an iterable of Colorspace names.

  • default_view_transform (unicode, optional) – Name of the default view transform.

schema_version#
Type:

semver.version.Version

profile_version#
Type:

semver.version.Version

name#
Type:

str

description#
Type:

str

search_path#
Type:

list[str]

roles#
Type:

dict[str, str]

colorspaces#
Type:

list[dict[str, Any] | PyOpenColorIO.PyOpenColorIO.ColorSpace]

named_transforms#
Type:

list[dict[str, Any] | PyOpenColorIO.PyOpenColorIO.NamedTransform]

view_transforms#
Type:

list[dict[str, Any] | PyOpenColorIO.PyOpenColorIO.ViewTransform]

looks#
Type:

list[dict[str, Any] | PyOpenColorIO.PyOpenColorIO.Look]

shared_views#
Type:

list[dict[str, Any]]

views#
Type:

list[dict[str, Any]]

active_displays#
Type:

list[str]

active_views#
Type:

list[str]

file_rules#
Type:

list[dict[str, Any]]

viewing_rules#
Type:

list[dict[str, Any]]

inactive_colorspaces#
Type:

list[str]

default_view_transform#
Type:

str

__init__(schema_version: ~semver.version.Version = <factory>, profile_version: ~semver.version.Version = <factory>, name: str = <factory>, description: str = 'An "OpenColorIO" config generated by "OpenColorIO-Config-ACES".', search_path: list[str] = <factory>, roles: dict[str, str] = <factory>, colorspaces: list[dict[str, ~typing.Any] | ~PyOpenColorIO.PyOpenColorIO.ColorSpace] = <factory>, named_transforms: list[dict[str, ~typing.Any] | ~PyOpenColorIO.PyOpenColorIO.NamedTransform] = <factory>, view_transforms: list[dict[str, ~typing.Any] | ~PyOpenColorIO.PyOpenColorIO.ViewTransform] = <factory>, looks: list[dict[str, ~typing.Any] | ~PyOpenColorIO.PyOpenColorIO.Look] = <factory>, shared_views: list[dict[str, ~typing.Any]] = <factory>, views: list[dict[str, ~typing.Any]] = <factory>, virtual_display_shared_views: list[str] = <factory>, virtual_display_views: list[dict[str, ~typing.Any]] = <factory>, active_displays: list[str] = <factory>, active_views: list[str] = <factory>, file_rules: list[dict[str, ~typing.Any]] = <factory>, viewing_rules: list[dict[str, ~typing.Any]] = <factory>, inactive_colorspaces: list[str] = <factory>, default_view_transform: str = <factory>) None#

Methods

__init__([schema_version, profile_version, ...])

Attributes