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