This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ocio_profile_version: 2.2 | |
name: example-egamut2-config_v1.0 | |
description: | | |
Demonstrates the use of EGamut2 D65 as the scene reference space and the rest of the display color space / view transform architecture | |
search_path: | |
- ./luts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = 'boost' | |
version = "1.85.0" | |
authors = ['boost.org'] | |
hased_variants= True | |
description = \ | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import binascii | |
import os | |
import re | |
from logging import getLogger | |
logger = getLogger(__name__) | |
def patch_avif_header_cicp(input_file, P=9, T=16, M=9, output_file=None, preset=None, dryrun=False): | |
"""Patch nclx data into AVIF file header for specified Primaries / TRC / YUV Matrix Coeff enums.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = 'rust' | |
version = '1.78.0' | |
description = 'Rust is an interpreted, interactive, object-oriented programming language' | |
help = "https://www.rust-lang.org" | |
@early() | |
def uuid(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = "python" | |
version = "3.10.14" | |
authors = ["Guido van Rossum"] | |
description = "The Python programming language" | |
@early() | |
def variants(): | |
import rez.package_py_utils as rezutils, platform | |
p = 'platform-%s' % {'darwin':'osx','windows':'windows','linux':'linux'}[platform.system().lower()] | |
return [rezutils.expand_requires(p, "arch-**")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
class NumericLookup(dict): | |
""" | |
Extends *dict* type to provide a lookup by value(s), including numpy arrays. | |
Methods | |
------- | |
keys_from_value | |
first_key_from_value |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PyOpenColorIO as ocio | |
from typing import Union, List | |
def set_transform_metadata( | |
transform: ocio.Transform, | |
name: str = "", | |
id: str = "", | |
description: Union[str, List[str]] = "", | |
input_descriptor: str = "", | |
output_descriptor: str = "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Hack to add per-session state to Streamlit. | |
Usage | |
----- | |
>>> import SessionState | |
>>> | |
>>> session_state = SessionState.get(user_name='', favorite_color='black') | |
>>> session_state.user_name | |
'' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
name = 'cmake' | |
version = '3.17.2' | |
description = 'Cross-platform make system' | |
tools = [ | |
'ccmake', |
NewerOlder