Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
pip._vendor.rich.segment Namespace Reference

Data Structures

class  ControlType
 
class  Segment
 
class  SegmentLines
 
class  Segments
 

Variables

 log = getLogger("rich")
 
 ControlCode
 
str code
 
 text = Text.from_markup("Hello, [bold magenta]World[/]!")
 
 console = Console()
 
 fragments = list(console.render(text))
 

Variable Documentation

◆ code

str code
Initial value:
1= """from rich.console import Console
2console = Console()
3text = Text.from_markup("Hello, [bold magenta]World[/]!")
4console.print(text)"""

Definition at line 713 of file segment.py.

◆ console

console = Console()

Definition at line 720 of file segment.py.

◆ ControlCode

ControlCode
Initial value:
1= Union[
2 Tuple[ControlType],
3 Tuple[ControlType, Union[int, str]],
4 Tuple[ControlType, int, int],
5]

Definition at line 56 of file segment.py.

◆ fragments

fragments = list(console.render(text))

Definition at line 732 of file segment.py.

◆ log

log = getLogger("rich")

Definition at line 32 of file segment.py.

◆ text

text = Text.from_markup("Hello, [bold magenta]World[/]!")

Definition at line 718 of file segment.py.