diff options
Diffstat (limited to 'thcolor/__init__.py')
-rwxr-xr-x | thcolor/__init__.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/thcolor/__init__.py b/thcolor/__init__.py new file mode 100755 index 0000000..959b647 --- /dev/null +++ b/thcolor/__init__.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python3 +#****************************************************************************** +# Copyright (C) 2018 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr> +# This file is part of the textoutpc project, which is MIT-licensed. +#****************************************************************************** +""" HTML/CSS-like color parsing, mainly for the `[color]` tag. + Defines the `get_color()` function which returns an rgba value. + + The functions in this module do not aim at being totally compliant with + the W3C standards, although it is inspired from it. +""" + +from ._color import Color +from ._named import NamedColors +from ._builtin import (CSS1NamedColors, CSS2NamedColors, CSS3NamedColors, + CSS4NamedColors) + +__all__ = ["version", "Color", "NamedColors", + "CSS1NamedColors", "CSS2NamedColors", "CSS3NamedColors", + "CSS4NamedColors"] + +version = "0.1" + +# End of file. |