comparison stubs/webcolors.pyi @ 1871:4ce991cdacdb

more stubs Ignore-this: adf95b608f6791c2d7128c0f8cf661f8
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 27 May 2019 06:19:53 +0000
parents
children
comparison
equal deleted inserted replaced
1870:51a9b23db357 1871:4ce991cdacdb
1 # Stubs for webcolors (Python 3)
2 #
3 # NOTE: This dynamically typed stub was automatically generated by stubgen.
4
5 from typing import Any
6
7 unichr = chr
8 unicode = str
9 HEX_COLOR_RE: Any
10 SUPPORTED_SPECIFICATIONS: Any
11 SPECIFICATION_ERROR_TEMPLATE: Any
12 HTML4_NAMES_TO_HEX: Any
13 CSS2_NAMES_TO_HEX = HTML4_NAMES_TO_HEX
14 CSS21_NAMES_TO_HEX: Any
15 CSS3_NAMES_TO_HEX: Any
16 HTML4_HEX_TO_NAMES: Any
17 CSS2_HEX_TO_NAMES = HTML4_HEX_TO_NAMES
18 CSS21_HEX_TO_NAMES: Any
19 CSS3_HEX_TO_NAMES: Any
20 html4_names_to_hex: Any
21 css2_names_to_hex: Any
22 css21_names_to_hex: Any
23 css3_names_to_hex: Any
24 html4_hex_to_names: Any
25 css2_hex_to_names: Any
26 css21_hex_to_names: Any
27 css3_hex_to_names: Any
28
29 def normalize_hex(hex_value: Any): ...
30 def normalize_integer_triplet(rgb_triplet: Any): ...
31 def normalize_percent_triplet(rgb_triplet: Any): ...
32 def name_to_hex(name: Any, spec: str = ...): ...
33 def name_to_rgb(name: Any, spec: str = ...): ...
34 def name_to_rgb_percent(name: Any, spec: str = ...): ...
35 def hex_to_name(hex_value: Any, spec: str = ...): ...
36 def hex_to_rgb(hex_value: Any): ...
37 def hex_to_rgb_percent(hex_value: Any): ...
38 def rgb_to_name(rgb_triplet: Any, spec: str = ...): ...
39 def rgb_to_hex(rgb_triplet: Any): ...
40 def rgb_to_rgb_percent(rgb_triplet: Any): ...
41 def rgb_percent_to_name(rgb_percent_triplet: Any, spec: str = ...): ...
42 def rgb_percent_to_hex(rgb_percent_triplet: Any): ...
43 def rgb_percent_to_rgb(rgb_percent_triplet: Any): ...
44 def html5_parse_simple_color(input: Any): ...
45 def html5_serialize_simple_color(simple_color: Any): ...
46 def html5_parse_legacy_color(input: Any): ...