参考¶
- rich.align
- rich.bar
- rich.color
- rich.columns
- rich.console
Capture
CaptureError
Console
Console.begin_capture()
Console.bell()
Console.capture()
Console.clear()
Console.clear_live()
Console.color_system
Console.control()
Console.encoding
Console.end_capture()
Console.export_html()
Console.export_svg()
Console.export_text()
Console.file
Console.get_style()
Console.height
Console.input()
Console.is_alt_screen
Console.is_dumb_terminal
Console.is_terminal
Console.line()
Console.log()
Console.measure()
Console.options
Console.out()
Console.pager()
Console.pop_render_hook()
Console.pop_theme()
Console.print()
Console.print_exception()
Console.print_json()
Console.push_render_hook()
Console.push_theme()
Console.render()
Console.render_lines()
Console.render_str()
Console.rule()
Console.save_html()
Console.save_svg()
Console.save_text()
Console.screen()
Console.set_alt_screen()
Console.set_live()
Console.set_window_title()
Console.show_cursor()
Console.size
Console.status()
Console.update_screen()
Console.update_screen_lines()
Console.use_theme()
Console.width
ConsoleDimensions
ConsoleOptions
ConsoleOptions.ascii_only
ConsoleOptions.copy()
ConsoleOptions.encoding
ConsoleOptions.highlight
ConsoleOptions.is_terminal
ConsoleOptions.justify
ConsoleOptions.legacy_windows
ConsoleOptions.markup
ConsoleOptions.max_height
ConsoleOptions.max_width
ConsoleOptions.min_width
ConsoleOptions.no_wrap
ConsoleOptions.overflow
ConsoleOptions.reset_height()
ConsoleOptions.size
ConsoleOptions.update()
ConsoleOptions.update_dimensions()
ConsoleOptions.update_height()
ConsoleOptions.update_width()
ConsoleRenderable
ConsoleThreadLocals
Group
NewLine
PagerContext
RenderHook
RenderableType
RichCast
ScreenContext
ScreenUpdate
ThemeContext
detect_legacy_windows()
group()
- rich.emoji
- rich.highlighter
- 富有
- rich.json
- rich.layout
- rich.live
- rich.logging
- rich.markdown
- rich.markup
- rich.measure
- rich.padding
- rich.panel
- rich.pretty
- rich.progress_bar
- rich.progress
BarColumn
DownloadColumn
FileSizeColumn
MofNCompleteColumn
Progress
Progress.add_task()
Progress.advance()
Progress.finished
Progress.get_default_columns()
Progress.get_renderable()
Progress.get_renderables()
Progress.make_tasks_table()
Progress.open()
Progress.refresh()
Progress.remove_task()
Progress.reset()
Progress.start()
Progress.start_task()
Progress.stop()
Progress.stop_task()
Progress.task_ids
Progress.tasks
Progress.track()
Progress.update()
Progress.wrap_file()
ProgressColumn
ProgressSample
RenderableColumn
SpinnerColumn
Task
TaskProgressColumn
TextColumn
TimeElapsedColumn
TimeRemainingColumn
TotalFileSizeColumn
TransferSpeedColumn
open()
track()
wrap_file()
- rich.prompt
- rich.protocol
- rich.rule
- rich.segment
ControlType
Segment
Segment.cell_length
Segment.adjust_line_length()
Segment.align_bottom()
Segment.align_middle()
Segment.align_top()
Segment.apply_style()
Segment.cell_length
Segment.control
Segment.divide()
Segment.filter_control()
Segment.get_line_length()
Segment.get_shape()
Segment.is_control
Segment.line()
Segment.remove_color()
Segment.set_shape()
Segment.simplify()
Segment.split_and_crop_lines()
Segment.split_cells()
Segment.split_lines()
Segment.strip_links()
Segment.strip_styles()
Segment.style
Segment.text
Segments
- rich.spinner
- rich.status
- rich.style
Style
Style.background_style
Style.bgcolor
Style.chain()
Style.clear_meta_and_links()
Style.color
Style.combine()
Style.copy()
Style.from_color()
Style.from_meta()
Style.get_html_style()
Style.link
Style.link_id
Style.meta
Style.normalize()
Style.null()
Style.on()
Style.parse()
Style.pick_first()
Style.render()
Style.test()
Style.transparent_background
Style.update_link()
Style.without_color
StyleStack
- rich.styled
- rich.syntax
- rich.table
- rich.text
Text
Text.align()
Text.append()
Text.append_text()
Text.append_tokens()
Text.apply_meta()
Text.assemble()
Text.blank_copy()
Text.cell_len
Text.copy()
Text.copy_styles()
Text.detect_indentation()
Text.divide()
Text.expand_tabs()
Text.extend_style()
Text.fit()
Text.from_ansi()
Text.from_markup()
Text.get_style_at_offset()
Text.highlight_regex()
Text.highlight_words()
Text.join()
Text.markup
Text.on()
Text.pad()
Text.pad_left()
Text.pad_right()
Text.plain
Text.remove_suffix()
Text.render()
Text.right_crop()
Text.rstrip()
Text.rstrip_end()
Text.set_length()
Text.spans
Text.split()
Text.styled()
Text.stylize()
Text.stylize_before()
Text.truncate()
Text.with_indent_guides()
Text.wrap()
TextType
- rich.theme
- rich.traceback
- rich.tree
- rich.abc