Debian Codegraph @

debian/control

raw
1 Source: rich
2 Section: python
3 Priority: optional
4 Maintainer: Sandro Tosi <[email protected]>
5 Build-Depends: debhelper-compat (= 13),
6 pybuild-plugin-pyproject,
7 python3-all,
8 python3-markdown-it <!nocheck>,
9 python3-attr <!nocheck>,
10 python3-mypy (>= 0.782),
11 python3-poetry-core,
12 python3-pygments (>= 2.19.0),
13 python3-pytest,
14 python3-setuptools,
15 python3-typing-extensions (>= 3.7.4),
16 Standards-Version: 4.6.2
17 Homepage: https://github.com/Textualize/rich
18 Vcs-Git: https://salsa.debian.org/morph/rich.git
19 Vcs-Browser: https://salsa.debian.org/morph/rich
20 Rules-Requires-Root: no
21 Testsuite: autopkgtest-pkg-pybuild
22
23 Package: python3-rich
24 Architecture: all
25 Depends: ${misc:Depends},
26 ${python3:Depends},
27 Recommends: ${python3:Recommends},
28 Suggests: ${python3:Suggests},
29 Breaks: python3-textual (<< 2.1.2-1.1~),
30 Description: render rich text, tables, progress bars, syntax highlighting, markdown and more
31 Rich is a Python library for rich text and beautiful formatting in the
32 terminal.
33 .
34 The Rich API makes it easy to add color and style to terminal output. Rich can
35 also render pretty tables, progress bars, markdown, syntax highlighted source
36 code, tracebacks, and more — out of the box.
37 .
38 Here's a list of the core functionalities of rich:
39 .
40 * to effortlessly add rich output to your application, you can import the rich
41 print method, which has the same signature as the builtin Python function
42 * Rich can be installed in the Python REPL, so that any data structures will
43 be pretty printed and highlighted
44 * for more control over rich terminal content, import and construct a Console
45 object. The Console object has a print method which has an intentionally
46 similar interface to the builtin print function
47 * to insert an emoji in to console output place the name between two colons
48 * Rich can render flexible tables with unicode box characters. There is a
49 large variety of formatting options for borders, styles, cell alignment etc
50 * Rich can render multiple flicker-free progress bars to track long-running
51 tasks.
52 * Rich can render content in neat columns with equal or optimal width.
53 * Rich can render markdown and does a reasonable job of translating the
54 formatting to the terminal
55 * Rich can render beautiful tracebacks which are easier to read and show more
56 code than standard Python tracebacks. You can set Rich as the default
57 traceback handler so all uncaught exceptions will be rendered by Rich.