SYMBOL INDEX (119 symbols across 16 files) FILE: colorful/__init__.py class ColorfulModule (line 29) | class ColorfulModule(types.ModuleType): method __init__ (line 34) | def __init__(self, colorful, *args): method with_setup (line 39) | def with_setup(self, colormode=None, colorpalette=None, extend_colors=... method with_8_ansi_colors (line 54) | def with_8_ansi_colors(self): method with_16_ansi_colors (line 61) | def with_16_ansi_colors(self): method with_256_ansi_colors (line 68) | def with_256_ansi_colors(self): method with_true_colors (line 75) | def with_true_colors(self): method with_palette (line 82) | def with_palette(self, colorpalette): method with_updated_palette (line 89) | def with_updated_palette(self, colorpalette): method with_style (line 98) | def with_style(self, style_name): method __getattr__ (line 106) | def __getattr__(self, name): FILE: colorful/ansi.py function round (line 52) | def round(value): function rgb_to_ansi256 (line 59) | def rgb_to_ansi256(r, g, b): function rgb_to_ansi16 (line 78) | def rgb_to_ansi16(r, g, b, use_bright=False): FILE: colorful/colors.py function parse_colors (line 16) | def parse_colors(path): function parse_rgb_txt_file (line 31) | def parse_rgb_txt_file(path): function parse_json_color_file (line 54) | def parse_json_color_file(path): function sanitize_color_palette (line 73) | def sanitize_color_palette(colorpalette): FILE: colorful/core.py class ColorfulError (line 31) | class ColorfulError(Exception): class ColorfulAttributeError (line 38) | class ColorfulAttributeError(AttributeError, ColorfulError): function translate_rgb_to_ansi_code (line 47) | def translate_rgb_to_ansi_code(red, green, blue, offset, colormode): function translate_colorname_to_ansi_code (line 92) | def translate_colorname_to_ansi_code(colorname, offset, colormode, color... function resolve_modifier_to_ansi_code (line 115) | def resolve_modifier_to_ansi_code(modifiername, colormode): function translate_style (line 141) | def translate_style(style, colormode, colorpalette): function style_string (line 200) | def style_string(string, ansi_style, colormode, nested=False): class ColorfulString (line 223) | class ColorfulString(): method __init__ (line 227) | def __init__(self, orig_string, styled_string, colorful_ctx): method __str__ (line 232) | def __str__(self): method __len__ (line 238) | def __len__(self): method __iter__ (line 241) | def __iter__(self): method __add__ (line 244) | def __add__(self, other): method __iadd__ (line 256) | def __iadd__(self, other): method __radd__ (line 266) | def __radd__(self, other): method __mul__ (line 277) | def __mul__(self, other): method __format__ (line 283) | def __format__(self, format_spec): method __getattr__ (line 297) | def __getattr__(self, name): class Colorful (line 302) | class Colorful(): method __init__ (line 338) | def __init__(self, colormode=None, colorpalette=None): method colorpalette (line 355) | def colorpalette(self): method colorpalette (line 362) | def colorpalette(self, colorpalette): method setup (line 371) | def setup(self, colormode=None, colorpalette=None, extend_colors=False): method disable (line 392) | def disable(self): method use_8_ansi_colors (line 398) | def use_8_ansi_colors(self): method use_16_ansi_colors (line 404) | def use_16_ansi_colors(self): method use_256_ansi_colors (line 410) | def use_256_ansi_colors(self): method use_true_colors (line 416) | def use_true_colors(self): method use_palette (line 422) | def use_palette(self, colorpalette): method update_palette (line 428) | def update_palette(self, colorpalette): method use_style (line 435) | def use_style(self, style_name): method format (line 449) | def format(self, string, *args, **kwargs): method str (line 459) | def str(self, string): method print (line 477) | def print(self, *objects, sep=' ', end='\n', file=None, flush=False): class ColorfulStyle (line 494) | class ColorfulStyle(): method __init__ (line 498) | def __init__(self, style, colormode, colorful_ctx): method evaluate (line 503) | def evaluate(self, string, nested=False): method __str__ (line 516) | def __str__(self): method __and__ (line 519) | def __and__(self, other): method __call__ (line 526) | def __call__(self, string, nested=False): method __or__ (line 529) | def __or__(self, other): method __eq__ (line 532) | def __eq__(self, other): method __hash__ (line 542) | def __hash__(self): method __getattr__ (line 545) | def __getattr__(self, name): FILE: colorful/terminal.py function detect_color_support (line 22) | def detect_color_support(env): # noqa FILE: colorful/utils.py function hex_to_rgb (line 13) | def hex_to_rgb(value): function check_hex (line 26) | def check_hex(value): FILE: examples/colors.py function show (line 16) | def show(): FILE: examples/monokai.py function show (line 17) | def show(): FILE: examples/solarized.py function show (line 15) | def show(): FILE: setup.py class VersionFinder (line 33) | class VersionFinder(ast.NodeVisitor): method __init__ (line 35) | def __init__(self): method visit_Assign (line 38) | def visit_Assign(self, node): function read_version (line 50) | def read_version(): FILE: tests/test_ansi.py function test_rgb_to_ansi256 (line 24) | def test_rgb_to_ansi256(r, g, b, result): FILE: tests/test_colors.py function test_sanitize_color_palette (line 35) | def test_sanitize_color_palette(colorpalette, expected): FILE: tests/test_core.py function test_translate_style_8 (line 54) | def test_translate_style_8(style_string, expected): function test_translate_style_16 (line 93) | def test_translate_style_16(style_string, expected): function test_translate_style_256 (line 132) | def test_translate_style_256(style_string, expected): function test_translate_style_true_colors (line 171) | def test_translate_style_true_colors(style_string, expected): function test_method_call_to_style_conversion (line 209) | def test_method_call_to_style_conversion(method_name, expected): function test_method_call_to_style_conversion_disabled_colors (line 249) | def test_method_call_to_style_conversion_disabled_colors(method_name): function test_method_str_to_style_conversion (line 289) | def test_method_str_to_style_conversion(method_name, expected): function test_method_in_format_to_style_conversion (line 395) | def test_method_in_format_to_style_conversion(format_str, expected): function test_invalid_color_mode (line 404) | def test_invalid_color_mode(): function test_invalid_color_name (line 415) | def test_invalid_color_name(): function test_colorful_obj_color_auto_detection (line 437) | def test_colorful_obj_color_auto_detection(env, expected): function test_reading_color_palette (line 450) | def test_reading_color_palette(tmpdir): function test_colorful_obj_setup (line 465) | def test_colorful_obj_setup(): function test_colorful_obj_setup_with_extending_palette (line 487) | def test_colorful_obj_setup_with_extending_palette(): function test_colorful_obj_setup_with_no_colors (line 503) | def test_colorful_obj_setup_with_no_colors(): function test_set_color_mode_methods (line 521) | def test_set_color_mode_methods(method_name, colorname, expected): function test_change_color_palette (line 533) | def test_change_color_palette(): function test_use_styles (line 561) | def test_use_styles(): function test_use_unknown_style (line 576) | def test_use_unknown_style(): function test_colorful_format (line 588) | def test_colorful_format(): function test_colorful_direct_print (line 599) | def test_colorful_direct_print(capsys): function test_length_of_styled_string (line 644) | def test_length_of_styled_string(method_name, expected): function test_nested_styled_string (line 654) | def test_nested_styled_string(): function test_nested_styled_string_with_format (line 676) | def test_nested_styled_string_with_format(): function test_styling_object_which_implements_str_proto (line 686) | def test_styling_object_which_implements_str_proto(): function test_str_behavior_for_colorfulstring (line 698) | def test_str_behavior_for_colorfulstring(): function test_joining_colorfulstrings (line 736) | def test_joining_colorfulstrings(): function test_creating_unstyled_colorfulstring (line 749) | def test_creating_unstyled_colorfulstring(): function test_unicode_support (line 761) | def test_unicode_support(): function test_combining_styles (line 774) | def test_combining_styles(): function test_piping_str_into_style (line 785) | def test_piping_str_into_style(): function test_piping_styled_str_into_style (line 796) | def test_piping_styled_str_into_style(): function test_piping_constitency (line 807) | def test_piping_constitency(): function test_colorfulstring_format_protocol (line 820) | def test_colorfulstring_format_protocol(): function test_colorfulstring_format_protocol_no_placeholder_when_disabled (line 835) | def test_colorfulstring_format_protocol_no_placeholder_when_disabled(): function test_underling_type_should_be_stored_as_str (line 847) | def test_underling_type_should_be_stored_as_str(): function test_colorfulstyles_support_equals_protocol (line 870) | def test_colorfulstyles_support_equals_protocol(style_a_name, style_b_na... FILE: tests/test_module.py function test_color_method_resolution (line 27) | def test_color_method_resolution(): function test_setup_contextmanager (line 35) | def test_setup_contextmanager(): function test_set_color_mode_methods (line 58) | def test_set_color_mode_methods(ctxmgr_name, colorname, expected, expect... function test_change_color_palette (line 70) | def test_change_color_palette(): function test_use_styles (line 96) | def test_use_styles(): FILE: tests/test_terminal.py function test_color_support_detection (line 76) | def test_color_support_detection(env, expected): FILE: tests/test_utils.py function test_hex_to_rgb_conversion (line 34) | def test_hex_to_rgb_conversion(hex_value): function test_hex_to_rgb_error (line 48) | def test_hex_to_rgb_error(hex_error_value):