Files @ feb9a47980bb
Branch filter:

Location: light9/stubs/webcolors.pyi

drewp@bigasterisk.com
chmod a+x bin/*
# 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): ...