Changeset - 4ce991cdacdb
stubs/colormath/__init__.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
VERSION: str
stubs/colormath/chromatic_adaptation.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.chromatic_adaptation (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 

	
 
logger: Any
 

	
 
def apply_chromatic_adaptation(val_x: Any, val_y: Any, val_z: Any, orig_illum: Any, targ_illum: Any, observer: str = ..., adaptation: str = ...): ...
 
def apply_chromatic_adaptation_on_color(color: Any, targ_illum: Any, adaptation: str = ...): ...
stubs/colormath/color_appearance_models.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.color_appearance_models (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any, Optional
 

	
 
logger: Any
 

	
 
class Nayatani95:
 
    @property
 
    def hue_angle(self): ...
 
    @property
 
    def chroma(self): ...
 
    @property
 
    def saturation(self): ...
 
    @property
 
    def brightness(self): ...
 
    @property
 
    def colorfulness(self): ...
 
    def __init__(self, x: Any, y: Any, z: Any, x_n: Any, y_n: Any, z_n: Any, y_ob: Any, e_o: Any, e_or: Any, n: int = ...) -> None: ...
 
    @staticmethod
 
    def chromatic_strength(angle: Any): ...
 
    xyz_to_rgb_m: Any = ...
 
    @classmethod
 
    def xyz_to_rgb(cls, xyz: Any): ...
 

	
 
class Hunt:
 
    @property
 
    def hue_angle(self): ...
 
    @property
 
    def chroma(self): ...
 
    @property
 
    def saturation(self): ...
 
    @property
 
    def brightness(self): ...
 
    @property
 
    def colorfulness(self): ...
 
    @property
 
    def lightness(self): ...
 
    def __init__(self, x: Any, y: Any, z: Any, x_b: Any, y_b: Any, z_b: Any, x_w: Any, y_w: Any, z_w: Any, l_a: Any, n_c: Any, n_b: Any, l_as: Optional[Any] = ..., cct_w: Optional[Any] = ..., n_cb: Optional[Any] = ..., n_bb: Optional[Any] = ..., x_p: Optional[Any] = ..., y_p: Optional[Any] = ..., z_p: Optional[Any] = ..., p: Optional[Any] = ..., helson_judd: bool = ..., discount_illuminant: bool = ..., s: Optional[Any] = ..., s_w: Optional[Any] = ...) -> None: ...
 
    xyz_to_rgb_m: Any = ...
 
    @classmethod
 
    def xyz_to_rgb(cls, xyz: Any): ...
 
    @classmethod
 
    def adjust_white_for_scc(cls, rgb_p: Any, rgb_b: Any, rgb_w: Any, p: Any): ...
 
    @staticmethod
 
    def calculate_scotopic_luminance(photopic_luminance: Any, color_temperature: Any): ...
 

	
 
class RLAB:
 
    @property
 
    def hue_angle(self): ...
 
    @property
 
    def chroma(self): ...
 
    @property
 
    def saturation(self): ...
 
    @property
 
    def lightness(self): ...
 
    @property
 
    def a(self): ...
 
    @property
 
    def b(self): ...
 
    R: Any = ...
 
    def __init__(self, x: Any, y: Any, z: Any, x_n: Any, y_n: Any, z_n: Any, y_n_abs: Any, sigma: Any, d: Any) -> None: ...
 

	
 
class ATD95:
 
    @property
 
    def hue(self): ...
 
    @property
 
    def brightness(self): ...
 
    @property
 
    def saturation(self): ...
 
    def __init__(self, x: Any, y: Any, z: Any, x_0: Any, y_0: Any, z_0: Any, y_0_abs: Any, k_1: Any, k_2: Any, sigma: int = ...) -> None: ...
 

	
 
class LLAB:
 
    @property
 
    def hue_angle(self): ...
 
    @property
 
    def chroma(self): ...
 
    @property
 
    def saturation(self): ...
 
    @property
 
    def lightness(self): ...
 
    @property
 
    def a_l(self): ...
 
    @property
 
    def b_l(self): ...
 
    def __init__(self, x: Any, y: Any, z: Any, x_0: Any, y_0: Any, z_0: Any, y_b: Any, f_s: Any, f_l: Any, f_c: Any, l: Any, d: int = ...) -> None: ...
 
    xyz_to_rgb_m: Any = ...
 
    @classmethod
 
    def xyz_to_rgb(cls, xyz: Any): ...
 

	
 
class CIECAM02:
 
    @property
 
    def hue_angle(self): ...
 
    @property
 
    def chroma(self): ...
 
    @property
 
    def saturation(self): ...
 
    @property
 
    def lightness(self): ...
 
    @property
 
    def brightness(self): ...
 
    @property
 
    def colorfulness(self): ...
 
    @property
 
    def a(self): ...
 
    @property
 
    def b(self): ...
 
    M_CAT02: Any = ...
 
    M_CAT02_inv: Any = ...
 
    M_HPE: Any = ...
 
    n_bb: Any = ...
 
    def __init__(self, x: Any, y: Any, z: Any, x_w: Any, y_w: Any, z_w: Any, y_b: Any, l_a: Any, c: Any, n_c: Any, f: Any, d: bool = ...) -> None: ...
 

	
 
class CIECAM02m1(CIECAM02):
 
    def __init__(self, x: Any, y: Any, z: Any, x_w: Any, y_w: Any, z_w: Any, x_b: Any, y_b: Any, z_b: Any, l_a: Any, c: Any, n_c: Any, f: Any, p: Any, d: bool = ...) -> None: ...
stubs/colormath/color_constants.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.color_constants (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 

	
 
CIE_E: Any
 
CIE_K: Any
 
ILLUMINANTS: Any
 
OBSERVERS: Any
 
ADAPTATION_MATRICES: Any
stubs/colormath/color_conversions.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.color_conversions (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
import abc
 
from abc import abstractmethod
 
from typing import Any, Optional
 

	
 
logger: Any
 

	
 
def apply_RGB_matrix(var1: Any, var2: Any, var3: Any, rgb_type: Any, convtype: str = ...): ...
 

	
 
class ConversionManager(metaclass=abc.ABCMeta):
 
    __metaclass__: Any = ...
 
    registered_color_spaces: Any = ...
 
    def __init__(self) -> None: ...
 
    def add_type_conversion(self, start_type: Any, target_type: Any, conversion_function: Any) -> None: ...
 
    @abstractmethod
 
    def get_conversion_path(self, start_type: Any, target_type: Any) -> Any: ...
 

	
 
class GraphConversionManager(ConversionManager):
 
    conversion_graph: Any = ...
 
    def __init__(self) -> None: ...
 
    def get_conversion_path(self, start_type: Any, target_type: Any): ...
 
    def add_type_conversion(self, start_type: Any, target_type: Any, conversion_function: Any) -> None: ...
 

	
 
class DummyConversionManager(ConversionManager):
 
    def add_type_conversion(self, start_type: Any, target_type: Any, conversion_function: Any) -> None: ...
 
    def get_conversion_path(self, start_type: Any, target_type: Any) -> None: ...
 

	
 
def color_conversion_function(start_type: Any, target_type: Any): ...
 
def Spectral_to_XYZ(cobj: Any, illuminant_override: Optional[Any] = ..., *args: Any, **kwargs: Any): ...
 
def Lab_to_LCHab(cobj: Any, *args: Any, **kwargs: Any): ...
 
def Lab_to_XYZ(cobj: Any, *args: Any, **kwargs: Any): ...
 
def Luv_to_LCHuv(cobj: Any, *args: Any, **kwargs: Any): ...
 
def Luv_to_XYZ(cobj: Any, *args: Any, **kwargs: Any): ...
 
def LCHab_to_Lab(cobj: Any, *args: Any, **kwargs: Any): ...
 
def LCHuv_to_Luv(cobj: Any, *args: Any, **kwargs: Any): ...
 
def xyY_to_XYZ(cobj: Any, *args: Any, **kwargs: Any): ...
 
def XYZ_to_xyY(cobj: Any, *args: Any, **kwargs: Any): ...
 
def XYZ_to_Luv(cobj: Any, *args: Any, **kwargs: Any): ...
 
def XYZ_to_Lab(cobj: Any, *args: Any, **kwargs: Any): ...
 
def XYZ_to_RGB(cobj: Any, target_rgb: Any, *args: Any, **kwargs: Any): ...
 
def RGB_to_XYZ(cobj: Any, target_illuminant: Optional[Any] = ..., *args: Any, **kwargs: Any): ...
 
def RGB_to_HSV(cobj: Any, *args: Any, **kwargs: Any): ...
 
def RGB_to_HSL(cobj: Any, *args: Any, **kwargs: Any): ...
 
def HSV_to_RGB(cobj: Any, target_rgb: Any, *args: Any, **kwargs: Any): ...
 
def HSL_to_RGB(cobj: Any, target_rgb: Any, *args: Any, **kwargs: Any): ...
 
def RGB_to_CMY(cobj: Any, *args: Any, **kwargs: Any): ...
 
def CMY_to_RGB(cobj: Any, target_rgb: Any, *args: Any, **kwargs: Any): ...
 
def CMY_to_CMYK(cobj: Any, *args: Any, **kwargs: Any): ...
 
def CMYK_to_CMY(cobj: Any, *args: Any, **kwargs: Any): ...
 
def XYZ_to_IPT(cobj: Any, *args: Any, **kwargs: Any): ...
 
def IPT_to_XYZ(cobj: Any, *args: Any, **kwargs: Any): ...
 
def convert_color(color: Any, target_cs: Any, through_rgb_type: Any = ..., target_illuminant: Optional[Any] = ..., *args: Any, **kwargs: Any): ...
stubs/colormath/color_diff.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.color_diff (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 

	
 
def delta_e_cie1976(color1: Any, color2: Any): ...
 
def delta_e_cie1994(color1: Any, color2: Any, K_L: int = ..., K_C: int = ..., K_H: int = ..., K_1: float = ..., K_2: float = ...): ...
 
def delta_e_cie2000(color1: Any, color2: Any, Kl: int = ..., Kc: int = ..., Kh: int = ...): ...
 
def delta_e_cmc(color1: Any, color2: Any, pl: int = ..., pc: int = ...): ...
stubs/colormath/color_diff_matrix.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.color_diff_matrix (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 

	
 
def delta_e_cie1976(lab_color_vector: Any, lab_color_matrix: Any): ...
 
def delta_e_cie1994(lab_color_vector: Any, lab_color_matrix: Any, K_L: int = ..., K_C: int = ..., K_H: int = ..., K_1: float = ..., K_2: float = ...): ...
 
def delta_e_cmc(lab_color_vector: Any, lab_color_matrix: Any, pl: int = ..., pc: int = ...): ...
 
def delta_e_cie2000(lab_color_vector: Any, lab_color_matrix: Any, Kl: int = ..., Kc: int = ..., Kh: int = ...): ...
stubs/colormath/color_exceptions.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.color_exceptions (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 

	
 
class ColorMathException(Exception): ...
 

	
 
class UndefinedConversionError(ColorMathException):
 
    message: Any = ...
 
    def __init__(self, cobj: Any, cs_to: Any) -> None: ...
 

	
 
class InvalidIlluminantError(ColorMathException):
 
    message: Any = ...
 
    def __init__(self, illuminant: Any) -> None: ...
 

	
 
class InvalidObserverError(ColorMathException):
 
    message: Any = ...
 
    def __init__(self, cobj: Any) -> None: ...
stubs/colormath/color_objects.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.color_objects (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any, Optional
 

	
 
logger: Any
 

	
 
class ColorBase:
 
    VALUES: Any = ...
 
    def get_value_tuple(self): ...
 

	
 
class IlluminantMixin:
 
    observer: Any = ...
 
    def set_observer(self, observer: Any) -> None: ...
 
    illuminant: Any = ...
 
    def set_illuminant(self, illuminant: Any) -> None: ...
 
    def get_illuminant_xyz(self, observer: Optional[Any] = ..., illuminant: Optional[Any] = ...): ...
 

	
 
class SpectralColor(IlluminantMixin, ColorBase):
 
    VALUES: Any = ...
 
    spec_340nm: Any = ...
 
    spec_350nm: Any = ...
 
    spec_360nm: Any = ...
 
    spec_370nm: Any = ...
 
    spec_380nm: Any = ...
 
    spec_390nm: Any = ...
 
    spec_400nm: Any = ...
 
    spec_410nm: Any = ...
 
    spec_420nm: Any = ...
 
    spec_430nm: Any = ...
 
    spec_440nm: Any = ...
 
    spec_450nm: Any = ...
 
    spec_460nm: Any = ...
 
    spec_470nm: Any = ...
 
    spec_480nm: Any = ...
 
    spec_490nm: Any = ...
 
    spec_500nm: Any = ...
 
    spec_510nm: Any = ...
 
    spec_520nm: Any = ...
 
    spec_530nm: Any = ...
 
    spec_540nm: Any = ...
 
    spec_550nm: Any = ...
 
    spec_560nm: Any = ...
 
    spec_570nm: Any = ...
 
    spec_580nm: Any = ...
 
    spec_590nm: Any = ...
 
    spec_600nm: Any = ...
 
    spec_610nm: Any = ...
 
    spec_620nm: Any = ...
 
    spec_630nm: Any = ...
 
    spec_640nm: Any = ...
 
    spec_650nm: Any = ...
 
    spec_660nm: Any = ...
 
    spec_670nm: Any = ...
 
    spec_680nm: Any = ...
 
    spec_690nm: Any = ...
 
    spec_700nm: Any = ...
 
    spec_710nm: Any = ...
 
    spec_720nm: Any = ...
 
    spec_730nm: Any = ...
 
    spec_740nm: Any = ...
 
    spec_750nm: Any = ...
 
    spec_760nm: Any = ...
 
    spec_770nm: Any = ...
 
    spec_780nm: Any = ...
 
    spec_790nm: Any = ...
 
    spec_800nm: Any = ...
 
    spec_810nm: Any = ...
 
    spec_820nm: Any = ...
 
    spec_830nm: Any = ...
 
    observer: Any = ...
 
    illuminant: Any = ...
 
    def __init__(self, spec_340nm: float = ..., spec_350nm: float = ..., spec_360nm: float = ..., spec_370nm: float = ..., spec_380nm: float = ..., spec_390nm: float = ..., spec_400nm: float = ..., spec_410nm: float = ..., spec_420nm: float = ..., spec_430nm: float = ..., spec_440nm: float = ..., spec_450nm: float = ..., spec_460nm: float = ..., spec_470nm: float = ..., spec_480nm: float = ..., spec_490nm: float = ..., spec_500nm: float = ..., spec_510nm: float = ..., spec_520nm: float = ..., spec_530nm: float = ..., spec_540nm: float = ..., spec_550nm: float = ..., spec_560nm: float = ..., spec_570nm: float = ..., spec_580nm: float = ..., spec_590nm: float = ..., spec_600nm: float = ..., spec_610nm: float = ..., spec_620nm: float = ..., spec_630nm: float = ..., spec_640nm: float = ..., spec_650nm: float = ..., spec_660nm: float = ..., spec_670nm: float = ..., spec_680nm: float = ..., spec_690nm: float = ..., spec_700nm: float = ..., spec_710nm: float = ..., spec_720nm: float = ..., spec_730nm: float = ..., spec_740nm: float = ..., spec_750nm: float = ..., spec_760nm: float = ..., spec_770nm: float = ..., spec_780nm: float = ..., spec_790nm: float = ..., spec_800nm: float = ..., spec_810nm: float = ..., spec_820nm: float = ..., spec_830nm: float = ..., observer: str = ..., illuminant: str = ...) -> None: ...
 
    def get_numpy_array(self): ...
 
    def calc_density(self, density_standard: Optional[Any] = ...): ...
 

	
 
class LabColor(IlluminantMixin, ColorBase):
 
    VALUES: Any = ...
 
    lab_l: Any = ...
 
    lab_a: Any = ...
 
    lab_b: Any = ...
 
    observer: Any = ...
 
    illuminant: Any = ...
 
    def __init__(self, lab_l: Any, lab_a: Any, lab_b: Any, observer: str = ..., illuminant: str = ...) -> None: ...
 

	
 
class LCHabColor(IlluminantMixin, ColorBase):
 
    VALUES: Any = ...
 
    lch_l: Any = ...
 
    lch_c: Any = ...
 
    lch_h: Any = ...
 
    observer: Any = ...
 
    illuminant: Any = ...
 
    def __init__(self, lch_l: Any, lch_c: Any, lch_h: Any, observer: str = ..., illuminant: str = ...) -> None: ...
 

	
 
class LCHuvColor(IlluminantMixin, ColorBase):
 
    VALUES: Any = ...
 
    lch_l: Any = ...
 
    lch_c: Any = ...
 
    lch_h: Any = ...
 
    observer: Any = ...
 
    illuminant: Any = ...
 
    def __init__(self, lch_l: Any, lch_c: Any, lch_h: Any, observer: str = ..., illuminant: str = ...) -> None: ...
 

	
 
class LuvColor(IlluminantMixin, ColorBase):
 
    VALUES: Any = ...
 
    luv_l: Any = ...
 
    luv_u: Any = ...
 
    luv_v: Any = ...
 
    observer: Any = ...
 
    illuminant: Any = ...
 
    def __init__(self, luv_l: Any, luv_u: Any, luv_v: Any, observer: str = ..., illuminant: str = ...) -> None: ...
 

	
 
class XYZColor(IlluminantMixin, ColorBase):
 
    VALUES: Any = ...
 
    xyz_x: Any = ...
 
    xyz_y: Any = ...
 
    xyz_z: Any = ...
 
    observer: Any = ...
 
    illuminant: Any = ...
 
    def __init__(self, xyz_x: Any, xyz_y: Any, xyz_z: Any, observer: str = ..., illuminant: str = ...) -> None: ...
 
    def apply_adaptation(self, target_illuminant: Any, adaptation: str = ...) -> None: ...
 

	
 
class xyYColor(IlluminantMixin, ColorBase):
 
    VALUES: Any = ...
 
    xyy_x: Any = ...
 
    xyy_y: Any = ...
 
    xyy_Y: Any = ...
 
    observer: Any = ...
 
    illuminant: Any = ...
 
    def __init__(self, xyy_x: Any, xyy_y: Any, xyy_Y: Any, observer: str = ..., illuminant: str = ...) -> None: ...
 

	
 
class BaseRGBColor(ColorBase):
 
    VALUES: Any = ...
 
    rgb_r: Any = ...
 
    rgb_g: Any = ...
 
    rgb_b: Any = ...
 
    is_upscaled: Any = ...
 
    def __init__(self, rgb_r: Any, rgb_g: Any, rgb_b: Any, is_upscaled: bool = ...) -> None: ...
 
    @property
 
    def clamped_rgb_r(self): ...
 
    @property
 
    def clamped_rgb_g(self): ...
 
    @property
 
    def clamped_rgb_b(self): ...
 
    def get_upscaled_value_tuple(self): ...
 
    def get_rgb_hex(self): ...
 
    @classmethod
 
    def new_from_rgb_hex(cls, hex_str: Any): ...
 

	
 
class sRGBColor(BaseRGBColor):
 
    rgb_gamma: float = ...
 
    native_illuminant: str = ...
 
    conversion_matrices: Any = ...
 

	
 
class AdobeRGBColor(BaseRGBColor):
 
    rgb_gamma: float = ...
 
    native_illuminant: str = ...
 
    conversion_matrices: Any = ...
 

	
 
class AppleRGBColor(BaseRGBColor):
 
    rgb_gamma: float = ...
 
    native_illuminant: str = ...
 
    conversion_matrices: Any = ...
 

	
 
class HSLColor(ColorBase):
 
    VALUES: Any = ...
 
    hsl_h: Any = ...
 
    hsl_s: Any = ...
 
    hsl_l: Any = ...
 
    def __init__(self, hsl_h: Any, hsl_s: Any, hsl_l: Any) -> None: ...
 

	
 
class HSVColor(ColorBase):
 
    VALUES: Any = ...
 
    hsv_h: Any = ...
 
    hsv_s: Any = ...
 
    hsv_v: Any = ...
 
    def __init__(self, hsv_h: Any, hsv_s: Any, hsv_v: Any) -> None: ...
 

	
 
class CMYColor(ColorBase):
 
    VALUES: Any = ...
 
    cmy_c: Any = ...
 
    cmy_m: Any = ...
 
    cmy_y: Any = ...
 
    def __init__(self, cmy_c: Any, cmy_m: Any, cmy_y: Any) -> None: ...
 

	
 
class CMYKColor(ColorBase):
 
    VALUES: Any = ...
 
    cmyk_c: Any = ...
 
    cmyk_m: Any = ...
 
    cmyk_y: Any = ...
 
    cmyk_k: Any = ...
 
    def __init__(self, cmyk_c: Any, cmyk_m: Any, cmyk_y: Any, cmyk_k: Any) -> None: ...
 

	
 
class IPTColor(ColorBase):
 
    VALUES: Any = ...
 
    conversion_matrices: Any = ...
 
    ipt_i: Any = ...
 
    ipt_p: Any = ...
 
    ipt_t: Any = ...
 
    def __init__(self, ipt_i: Any, ipt_p: Any, ipt_t: Any) -> None: ...
 
    @property
 
    def hue_angle(self): ...
stubs/colormath/density.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.density (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 

	
 
def ansi_density(color: Any, density_standard: Any): ...
 
def auto_density(color: Any): ...
stubs/colormath/density_standards.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.density_standards (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 

	
 
VISUAL_DENSITY_THRESH: float
 
ANSI_STATUS_A_RED: Any
 
ANSI_STATUS_A_GREEN: Any
 
ANSI_STATUS_A_BLUE: Any
 
ANSI_STATUS_E_RED: Any
 
ANSI_STATUS_E_GREEN: Any
 
ANSI_STATUS_E_BLUE: Any
 
ANSI_STATUS_M_RED: Any
 
ANSI_STATUS_M_GREEN: Any
 
ANSI_STATUS_M_BLUE: Any
 
ANSI_STATUS_T_RED: Any
 
ANSI_STATUS_T_GREEN: Any
 
ANSI_STATUS_T_BLUE: Any
 
TYPE1: Any
 
TYPE2: Any
 
ISO_VISUAL: Any
stubs/colormath/spectral_constants.pyi
Show inline comments
 
new file 100644
 
# Stubs for colormath.spectral_constants (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 

	
 
STDOBSERV_X2: Any
 
STDOBSERV_Y2: Any
 
STDOBSERV_Z2: Any
 
STDOBSERV_X10: Any
 
STDOBSERV_Y10: Any
 
STDOBSERV_Z10: Any
 
REFERENCE_ILLUM_A: Any
 
REFERENCE_ILLUM_B: Any
 
REFERENCE_ILLUM_C: Any
 
REFERENCE_ILLUM_D50: Any
 
REFERENCE_ILLUM_D65: Any
 
REFERENCE_ILLUM_E: Any
 
REFERENCE_ILLUM_F2: Any
 
REFERENCE_ILLUM_F7: Any
 
REFERENCE_ILLUM_F11: Any
 
REFERENCE_ILLUM_BLACKBODY: Any
 
REF_ILLUM_TABLE: Any
stubs/cyclone/sse.pyi
Show inline comments
 
new file 100644
 
# Stubs for cyclone.sse (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from cyclone.web import RequestHandler
 
from typing import Any, Optional
 

	
 
class SSEHandler(RequestHandler):
 
    transport: Any = ...
 
    def __init__(self, application: Any, request: Any, **kwargs: Any) -> None: ...
 
    def sendEvent(self, message: Any, event: Optional[Any] = ..., eid: Optional[Any] = ..., retry: Optional[Any] = ...) -> None: ...
 
    def on_connection_closed(self, *args: Any, **kwargs: Any) -> None: ...
 
    def bind(self) -> None: ...
 
    def unbind(self) -> None: ...
stubs/cyclone/web.pyi
Show inline comments
 
# Stubs for cyclone.web (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from twisted.internet import protocol
 
from typing import Any, Optional
 
from typing import Any, Optional, List
 

	
 
class RequestHandler:
 
    SUPPORTED_METHODS: Any = ...
 
    serialize_lists: bool = ...
 
    no_keep_alive: bool = ...
 
    xsrf_cookie_name: str = ...
 
@@ -27,14 +27,14 @@ class RequestHandler:
 
    def set_default_headers(self) -> None: ...
 
    def set_status(self, status_code: Any, reason: Optional[Any] = ...) -> None: ...
 
    def get_status(self): ...
 
    def set_header(self, name: Any, value: Any) -> None: ...
 
    def add_header(self, name: Any, value: Any) -> None: ...
 
    def clear_header(self, name: Any) -> None: ...
 
    def get_argument(self, name: Any, default: Any = ..., strip: bool = ...): ...
 
    def get_arguments(self, name: Any, strip: bool = ...): ...
 
    def get_argument(self, name: Any, default: Any = ..., strip: bool = ...) -> str: ...
 
    def get_arguments(self, name: Any, strip: bool = ...) -> List[str]: ...
 
    def decode_argument(self, value: Any, name: Optional[Any] = ...): ...
 
    @property
 
    def cookies(self): ...
 
    def get_cookie(self, name: Any, default: Optional[Any] = ...): ...
 
    def set_cookie(self, name: Any, value: Any, domain: Optional[Any] = ..., expires: Optional[Any] = ..., path: str = ..., expires_days: Optional[Any] = ..., **kwargs: Any) -> None: ...
 
    def clear_cookie(self, name: Any, path: str = ..., domain: Optional[Any] = ...) -> None: ...
stubs/hotshot/__init__.pyi
Show inline comments
 

	
 
from typing import Any
 
Profile: Any
stubs/hotshot/stats.pyi
Show inline comments
 

	
 
from typing import Any
 
load: Any
stubs/louie/dispatcher.pyi
Show inline comments
 
# Stubs for louie.dispatcher (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from louie.sender import Any
 

	
 
def itervalues(d: Any): ...
 
def iteritems(d: Any): ...
 
from typing import Any as Any_type
 

	
 
connects: int
 
disconnects: int
 
sends: int
 

	
 
def print_stats() -> None: ...
 

	
 
WEAKREF_TYPES: Any
 
connections: Any
 
senders: Any
 
senders_back: Any
 
plugins: Any
 

	
 
def reset() -> None: ...
 
def connect(receiver: Any, signal: Any = ..., sender: Any = ..., weak: bool = ...) -> None: ...
 
def disconnect(receiver: Any, signal: Any = ..., sender: Any = ..., weak: bool = ...) -> None: ...
 
def get_receivers(sender: Any = ..., signal: Any = ...): ...
 
def live_receivers(receivers: Any) -> None: ...
 
def get_all_receivers(sender: Any = ..., signal: Any = ...) -> None: ...
 
def send(signal: Any = ..., sender: Any = ..., *arguments: Any, **named: Any): ...
 
def send_minimal(signal: Any = ..., sender: Any = ..., *arguments: Any, **named: Any): ...
 
def send_exact(signal: Any = ..., sender: Any = ..., *arguments: Any, **named: Any): ...
 
def send_robust(signal: Any = ..., sender: Any = ..., *arguments: Any, **named: Any): ...
 
def connect(receiver: Any_type, signal: Any_type = ..., sender: Any_type = ..., weak: bool = ...) -> None: ...
 
def disconnect(receiver: Any_type, signal: Any_type = ..., sender: Any_type = ..., weak: bool = ...) -> None: ...
 
def get_receivers(sender: Any_type = ..., signal: Any_type = ...): ...
 
def live_receivers(receivers: Any_type) -> None: ...
 
def get_all_receivers(sender: Any_type = ..., signal: Any_type = ...) -> None: ...
 
def send(signal: Any_type = ..., sender: Any_type = ..., *arguments: Any_type, **named: Any_type): ...
 
def send_minimal(signal: Any_type = ..., sender: Any_type = ..., *arguments: Any_type, **named: Any_type): ...
 
def send_exact(signal: Any_type = ..., sender: Any_type = ..., *arguments: Any_type, **named: Any_type): ...
 
def send_robust(signal: Any_type = ..., sender: Any_type = ..., *arguments: Any_type, **named: Any_type): ...
stubs/louie/plugin.pyi
Show inline comments
 
@@ -12,11 +12,10 @@ class Plugin:
 
    def wrap_receiver(self, receiver: Any): ...
 

	
 
class QtWidgetPlugin(Plugin):
 
    is_live: Any = ...
 
    qt: Any = ...
 
    def __init__(self) -> None: ...
 
    def is_live(self, receiver: Any): ...
 

	
 
class TwistedDispatchPlugin(Plugin):
 
    def __init__(self) -> None: ...
 
    def wrap_receiver(self, receiver: Any): ...
stubs/louie/sender.pyi
Show inline comments
 
# Stubs for louie.sender (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 
from typing import Any as typingAny
 

	
 
class _SENDER(type): ...
 

	
 
class Any:
 
    __metaclass__: Any = ...
 
    __metaclass__: typingAny = ...
 

	
 
class Anonymous:
 
    __metaclass__: Any = ...
 
    __metaclass__: typingAny = ...
stubs/noise/__init__.pyi
Show inline comments
 
new file 100644
 

	
 
def noise1(x: float, octaves: int=1, persistence: float=0.5, lacunarity: float=2.0, repeat: int=1024, base: float=0.0): ...
 
pnoise1 = noise1
stubs/numpy/__init__.pyi
Show inline comments
 
new file 100644
 
# Stubs for numpy (Python 3)
 
#
 

	
 
from typing import Any
 
array: Any
 
linalg: Any
stubs/tkinter/__init__.pyi
Show inline comments
 
from typing import Any
 

	
 
Tk: Any
stubs/tkinter/tix.pyi
Show inline comments
 
from typing import Any
 

	
 
BOTH: Any
 
BOTTOM: Any
 
Button: Any
 
Checkbutton: Any
 
DoubleVar: Any
 
END: Any
 
Entry: Any
 
Frame: Any
 
IntVar: Any
 
LEFT: Any
 
Label: Any
 
Scale: Any
 
TOP: Any
 
Tk: Any
 
X: Any
 
Toplevel: Any
stubs/twisted/internet/__init__.pyi
Show inline comments
 
# Stubs for twisted.internet (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any, Optional
 

	
 
class IDelayedCall:
 
    def getTime(self) -> Any: ...
 
    def cancel(self) -> None: ...
 
    def delay(self, secondsLater: Any) -> None: ...
 
    def reset(self, secondsFromNow: Any) -> None: ...
 
    def active(self) -> None: ...
 

	
 

	
 
class IAddress:  # this is https://twistedmatrix.com/documents/current/api/twisted.internet.address.IPv4Address.html
 
    type: str
 
    host: str
 
    port: int   
 
    
 
class IListeningPort:
 
    def startListening(self): ...
 
    def stopListening(self): ... # returns deferred
 
    def getHost(self) -> IAddress: ...
 
    _realPortNumber: int # from t.i.tcp.Port
 
from .interfaces import IDelayedCall, IAddress, IListeningPort
 
    
 
class ReactorType: # abridged
 
    def listenTCP(self, port: Any, factory: Any, backlog: int = ..., interface: str = ...) -> IListeningPort: ...
 
    def seconds(self) -> None: ...
 
    def callLater(self, delay: Any, callable: Any, *args: Any, **kw: Any) -> IDelayedCall: ...
 
    def getDelayedCalls(self) -> None: ...
 
@@ -40,6 +22,7 @@ class ReactorType: # abridged
 
    def addSystemEventTrigger(self, phase: Any, eventType: Any, callable: Any, *args: Any, **kw: Any) -> None: ...
 
    def removeSystemEventTrigger(self, triggerID: Any) -> None: ...
 
    def callWhenRunning(self, callable: Any, *args: Any, **kw: Any) -> None: ...
 
    
 

	
 
reactor = ReactorType()
 

	
stubs/twisted/internet/defer.pyi
Show inline comments
 
@@ -119,6 +119,8 @@ class DeferredQueue:
 

	
 
class AlreadyTryingToLockError(Exception): ...
 

	
 
class DeferredFilesystemLock(lockfile.FilesystemLock):
 
    def __init__(self, name: Any, scheduler: Optional[Any] = ...) -> None: ...
 
    def deferUntilLocked(self, timeout: Optional[Any] = ...): ...
 

	
 
def setDebugging(yes: bool) -> None: ...
stubs/twisted/internet/fdesc.pyi
Show inline comments
 
new file 100644
 
# Stubs for twisted.internet.fdesc (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 

	
 
def setNonBlocking(fd: Any) -> None: ...
 
def setBlocking(fd: Any) -> None: ...
 
def readFromFD(fd: Any, callback: Any): ...
 
def writeToFD(fd: Any, data: Any): ...
stubs/twisted/internet/interfaces.pyi
Show inline comments
 
new file 100644
 
from typing import Any
 

	
 
class IDelayedCall:
 
    def getTime(self) -> Any: ...
 
    def cancel(self) -> None: ...
 
    def delay(self, secondsLater: Any) -> None: ...
 
    def reset(self, secondsFromNow: Any) -> None: ...
 
    def active(self) -> None: ...
 

	
 

	
 
class IAddress:  # this is https://twistedmatrix.com/documents/current/api/twisted.internet.address.IPv4Address.html
 
    type: str
 
    host: str
 
    port: int   
 
    
 
class IListeningPort:
 
    def startListening(self): ...
 
    def stopListening(self): ... # returns deferred
 
    def getHost(self) -> IAddress: ...
 
    _realPortNumber: int # from t.i.tcp.Port
stubs/twisted/internet/task.pyi
Show inline comments
 
new file 100644
 
# Stubs for twisted.internet.task (Python 3)
 
#
 

	
 
from typing import Any, Optional
 

	
 
__metaclass__ = type
 

	
 
class LoopingCall:
 
    call: Any = ...
 
    running: bool = ...
 
    interval: Any = ...
 
    starttime: Any = ...
 
    f: Any = ...
 
    a: Any = ...
 
    kw: Any = ...
 
    clock: Any = ...
 
    def __init__(self, f: Any, *a: Any, **kw: Any) -> None: ...
 
    @property
 
    def deferred(self): ...
 
    withCount: Any = ...
 
    def start(self, interval: Any, now: bool = ...): ...
 
    def stop(self) -> None: ...
 
    def reset(self) -> None: ...
 
    def __call__(self) -> None: ...
 

	
 
class SchedulerError(Exception): ...
 
class SchedulerStopped(SchedulerError): ...
 
class TaskFinished(SchedulerError): ...
 
class TaskDone(TaskFinished): ...
 
class TaskStopped(TaskFinished): ...
 
class TaskFailed(TaskFinished): ...
 
class NotPaused(SchedulerError): ...
 

	
 
class _Timer:
 
    MAX_SLICE: float = ...
 
    end: Any = ...
 
    def __init__(self) -> None: ...
 
    def __call__(self): ...
 

	
 
class CooperativeTask:
 
    def __init__(self, iterator: Any, cooperator: Any) -> None: ...
 
    def whenDone(self): ...
 
    def pause(self) -> None: ...
 
    def resume(self) -> None: ...
 
    def stop(self) -> None: ...
 

	
 
class Cooperator:
 
    def __init__(self, terminationPredicateFactory: Any = ..., scheduler: Any = ..., started: bool = ...) -> None: ...
 
    def coiterate(self, iterator: Any, doneDeferred: Optional[Any] = ...): ...
 
    def cooperate(self, iterator: Any): ...
 
    def start(self) -> None: ...
 
    def stop(self) -> None: ...
 
    @property
 
    def running(self): ...
 

	
 
def coiterate(iterator: Any): ...
 

	
 
class Clock:
 
    rightNow: float = ...
 
    calls: Any = ...
 
    def __init__(self) -> None: ...
 
    def seconds(self): ...
 
    def callLater(self, when: Any, what: Any, *a: Any, **kw: Any): ...
 
    def getDelayedCalls(self): ...
 
    def advance(self, amount: Any) -> None: ...
 
    def pump(self, timings: Any) -> None: ...
 

	
 
def deferLater(clock: Any, delay: Any, callable: Any, *args: Any, **kw: Any): ...
 
def react(main: Any, argv: Any = ..., _reactor: Optional[Any] = ...) -> None: ...
stubs/twisted/internet/tksupport.pyi
Show inline comments
 
new file 100644
 
from typing import Any
 

	
 
def install(root: Any, ms: int=20): ...
stubs/twisted/web/resource.pyi
Show inline comments
 
new file 100644
 
# Stubs for twisted.web.resource (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any, Optional
 
from zope.interface import Interface
 

	
 
class IResource(Interface):
 
    isLeaf: Any = ...
 
    def getChildWithDefault(name: Any, request: Any) -> None: ...
 
    def putChild(path: Any, child: Any) -> None: ...
 
    def render(request: Any) -> None: ...
 

	
 
def getChildForRequest(resource: Any, request: Any): ...
 

	
 
class Resource:
 
    entityType: Any = ...
 
    server: Any = ...
 
    children: Any = ...
 
    def __init__(self) -> None: ...
 
    isLeaf: int = ...
 
    def listStaticNames(self): ...
 
    def listStaticEntities(self): ...
 
    def listNames(self): ...
 
    def listEntities(self): ...
 
    def listDynamicNames(self): ...
 
    def listDynamicEntities(self, request: Optional[Any] = ...): ...
 
    def getStaticEntity(self, name: Any): ...
 
    def getDynamicEntity(self, name: Any, request: Any): ...
 
    def delEntity(self, name: Any) -> None: ...
 
    def reallyPutEntity(self, name: Any, entity: Any) -> None: ...
 
    def getChild(self, path: Any, request: Any): ...
 
    def getChildWithDefault(self, path: Any, request: Any): ...
 
    def getChildForRequest(self, request: Any): ...
 
    def putChild(self, path: Any, child: Any) -> None: ...
 
    def render(self, request: Any): ...
 
    def render_HEAD(self, request: Any): ...
 

	
 
class ErrorPage(Resource):
 
    template: str = ...
 
    code: Any = ...
 
    brief: Any = ...
 
    detail: Any = ...
 
    def __init__(self, status: Any, brief: Any, detail: Any) -> None: ...
 
    def render(self, request: Any): ...
 
    def getChild(self, chnam: Any, request: Any): ...
 

	
 
class NoResource(ErrorPage):
 
    def __init__(self, message: str = ...) -> None: ...
 

	
 
class ForbiddenResource(ErrorPage):
 
    def __init__(self, message: str = ...) -> None: ...
 

	
 
class _IEncodingResource(Interface):
 
    def getEncoder(request: Any) -> None: ...
 

	
 
class EncodingResourceWrapper:
 
    def __init__(self, original: Any, encoders: Any) -> None: ...
 
    def getEncoder(self, request: Any): ...
stubs/txzmq/connection.pyi
Show inline comments
 
@@ -7,13 +7,14 @@ from typing import Any, Optional
 
ZMQ3: Any
 

	
 
class ZmqEndpointType:
 
    bind: str = ...
 
    connect: str = ...
 

	
 
class ZmqEndpoint: ...
 
class ZmqEndpoint:
 
    def __init__(self, type: str, address: str): ...
 

	
 
class ZmqConnection:
 
    socketType: Any = ...
 
    allowLoopbackMulticast: bool = ...
 
    multicastRate: int = ...
 
    highWaterMark: int = ...
stubs/txzmq/router_dealer.pyi
Show inline comments
 
@@ -13,9 +13,9 @@ class ZmqBase(ZmqConnection):
 

	
 
class ZmqDealerConnection(ZmqBase):
 
    socketType: Any = ...
 

	
 
class ZmqRouterConnection(ZmqBase):
 
    socketType: Any = ...
 
    def sendMsg(self, recipientId: Any, message: Any) -> None: ...
 
    def sendMultipart(self, recipientId: Any, parts: Any) -> None: ...
 
    def sendMsg(self, recipientId: Any, message: Any) -> None: ... # type: ignore
 
    def sendMultipart(self, recipientId: Any, parts: Any) -> None: ... # type: ignore
 
    def messageReceived(self, message: Any) -> None: ...
stubs/webcolors.pyi
Show inline comments
 
new file 100644
 
# Stubs for webcolors (Python 3)
 
#
 
# NOTE: This dynamically typed stub was automatically generated by stubgen.
 

	
 
from typing import Any
 

	
 
unichr = chr
 
unicode = str
 
HEX_COLOR_RE: Any
 
SUPPORTED_SPECIFICATIONS: Any
 
SPECIFICATION_ERROR_TEMPLATE: Any
 
HTML4_NAMES_TO_HEX: Any
 
CSS2_NAMES_TO_HEX = HTML4_NAMES_TO_HEX
 
CSS21_NAMES_TO_HEX: Any
 
CSS3_NAMES_TO_HEX: Any
 
HTML4_HEX_TO_NAMES: Any
 
CSS2_HEX_TO_NAMES = HTML4_HEX_TO_NAMES
 
CSS21_HEX_TO_NAMES: Any
 
CSS3_HEX_TO_NAMES: Any
 
html4_names_to_hex: Any
 
css2_names_to_hex: Any
 
css21_names_to_hex: Any
 
css3_names_to_hex: Any
 
html4_hex_to_names: Any
 
css2_hex_to_names: Any
 
css21_hex_to_names: Any
 
css3_hex_to_names: Any
 

	
 
def normalize_hex(hex_value: Any): ...
 
def normalize_integer_triplet(rgb_triplet: Any): ...
 
def normalize_percent_triplet(rgb_triplet: Any): ...
 
def name_to_hex(name: Any, spec: str = ...): ...
 
def name_to_rgb(name: Any, spec: str = ...): ...
 
def name_to_rgb_percent(name: Any, spec: str = ...): ...
 
def hex_to_name(hex_value: Any, spec: str = ...): ...
 
def hex_to_rgb(hex_value: Any): ...
 
def hex_to_rgb_percent(hex_value: Any): ...
 
def rgb_to_name(rgb_triplet: Any, spec: str = ...): ...
 
def rgb_to_hex(rgb_triplet: Any): ...
 
def rgb_to_rgb_percent(rgb_triplet: Any): ...
 
def rgb_percent_to_name(rgb_percent_triplet: Any, spec: str = ...): ...
 
def rgb_percent_to_hex(rgb_percent_triplet: Any): ...
 
def rgb_percent_to_rgb(rgb_percent_triplet: Any): ...
 
def html5_parse_simple_color(input: Any): ...
 
def html5_serialize_simple_color(simple_color: Any): ...
 
def html5_parse_legacy_color(input: Any): ...
0 comments (0 inline, 0 general)