diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stubs/webcolors.pyi	Mon May 27 06:19:53 2019 +0000
@@ -0,0 +1,46 @@
+# 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): ...