def cpprint(<EOL>object,<EOL>stream=_UNSET_SENTINEL,<EOL>indent=_UNSET_SENTINEL,<EOL>width=_UNSET_SENTINEL,<EOL>depth=_UNSET_SENTINEL,<EOL>*,<EOL>compact=False,<EOL>ribbon_width=_UNSET_SENTINEL,<EOL>max_seq_len=_UNSET_SENTINEL,<EOL>sort_dict_keys=_UNSET_SENTINEL,<EOL>style=None,<EOL>end='<STR_LIT:\n>'<EOL>):
sdocs = python_to_sdocs(<EOL>object,<EOL>**_merge_defaults(<EOL>indent=indent,<EOL>width=width,<EOL>depth=depth,<EOL>ribbon_width=ribbon_width,<EOL>max_seq_len=max_seq_len,<EOL>sort_dict_keys=sort_dict_keys,<EOL>)<EOL>)<EOL>stream = (<EOL>sys.stdout<EOL>if stream is _UNSET_SENTINEL<EOL>else stream<EOL>)<EOL>colored_render_to_stream(stream, sdocs, style=style)<EOL>if end:<EOL><INDENT>stream.write(end)<EOL><DEDENT>
Pretty print a Python value ``object`` to ``stream``,
    which defaults to sys.stdout. The output will be colored and
    syntax highlighted.

    :param indent: number of spaces to add for each level of nesting.
    :param stream: the output stream, defaults to sys.stdout
    :param width: a soft maximum allowed number of columns in the output,
                  which the layout algorithm attempts to stay under.
    :param depth: maximum depth to print nested structures
    :param ribbon_width: a soft maximum allowed number of columns in the output,
                         after indenting the line
    :param max_seq_len: a maximum sequence length that applies to subclasses of
                        lists, sets, frozensets, tuples and dicts. A trailing
                        comment that indicates the number of truncated elements.
                        Setting max_seq_len to ``None`` disables truncation.
    :param sort_dict_keys: a ``bool`` value indicating if dict keys should be
                           sorted in the output. Defaults to ``False``, in
                           which case the default order is used, which is the
                           insertion order in CPython 3.6+.
    :param style: one of ``'light'``, ``'dark'`` or a subclass
                  of ``pygments.styles.Style``. If omitted,
                  will use the default style. If the default style
                  is not changed by the user with :func:`~prettyprinter.set_default_style`,
                  the default is ``'dark'``.