2bi! SSKrSSKrSSKJr SSKJr SSKJr SSKJ r J r J r J r J r SSKJr SSKJr SSKJr SS KJr SS KJr SS KJr SS KJr SS KJr "SS5rS\4Sjr\ S:XGa\ "\RB"5SS9r"\"5r#\"5r$\"RK\#5 \&"\"5\$- S-S5r'\RB"5\"l(\"5r$\"RK\#5 \&"\"5\$- S-S5r)\ "SS9r*\*RK\#5 \%"S\'S35 \%"S\)S35 SSK+J,r, \ "5r"\RZ"SS9r.\.R_SSS9 \.R_SS 9 \.RaS!S"5 \.RaS#S$5 \Rb"S%5r2\RZ"S&S9r3\3R_5 \3R_SS 9 \3Ra\2\.5 \"RK\,Rh"\3\RjS'S(S)S*9S+S,9 gg)-N) process_time)box)Color)ConsoleConsoleOptionsGroupRenderableType RenderResult)Markdown) Measurement)Pretty)Segment)Style)Syntax)Table)Textc@\rSrSrS\S\S\4SjrSSS\S\4Sjr Sr g ) ColorBoxconsoleoptionsreturnc ## [SS5Hn[UR5HnXBR- nSUS- S--n[R"XVS5upxn [R"XVS-S5upn [R "US-US-U S-5n [R "U S-U S-U S-5n[ S[XS 95v M [ R"5v M g7f) Nrg?gffffff?g?gQ?u▄)colorbgcolor) range max_widthcolorsys hls_to_rgbrfrom_rgbrrline)selfrryxhlr1g1b1r2g2b2rrs ڋ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/rich/__main__.py__rich_console__ColorBox.__rich_console__sq!A7,,-)))AES=)%00s; %00L#F ..c28R#XFrCxc28DeU%HII.,,. sC/C1rc.[SUR5$)N)r r)r$rrs r/__rich_measure__ColorBox.__rich_measure__!s1g//00N) __name__ __module__ __qualname____firstlineno__rrr r0r r4__static_attributes__r7r6r/rrs< ! !)7 !  !1 1+91 1r6rrc [R"SSS9nSUlURSSSSS9 URS 5 [S S S S S S 9nUR S [ 55 UR SU5 UR SS5 Sn[R"SSS9nS UlUR [USSS9[USSS9[USSS9[USSS95 UR S[[R"S5U55 S[S[S[4S jnUR S!S"5 S#nUR S$U5 [S SS S%S&/[RS'9nURS(SSS)9 URS*SS+9 URS,S-SSS.9 URS/S0SSS.9 UR S1S2S3S45 UR S5S6S3S75 UR S8S9S:S;5 UR SS?5 UR S@U5 SAnSBSC/SDSE.nUR SFU"[USGSSSH9[USSI955 SJn UR SKU"SLU -[U 555 UR SMSN5 U$)Oz8Get a renderable that demonstrates a number of features.r3T)paddingpad_edgez Rich featuresFeaturecenterzbold red)no_wrapjustifystyle DemonstrationNF)rexpand show_header show_edger?u✓ [bold green]4-bit color[/] ✓ [bold blue]8-bit color[/] ✓ [bold magenta]Truecolor (16.7 million)[/] ✓ [bold yellow]Dumb terminals[/] ✓ [bold cyan]Automatic color conversionColorsStyleszAll ansi styles: [bold]bold[/], [dim]dim[/], [italic]italic[/italic], [underline]underline[/], [strike]strikethrough[/], [reverse]reverse[/], and even [blink]blink[/].zLorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at justo. Maecenas luctus velit et auctor maximus.)r>collapse_paddingleftgreen)rCrDyellowrightbluefullredrz[Word wrap text. Justify [green]left[/], [yellow]center[/], [blue]right[/] or [red]full[/]. renderable1 renderable2rc[SSSSS9nURSSS9 URSSS9 URX5 U$)NFT)rGr?rrF1r3)ratio2)r add_columnadd_row)rSrTtables r/ comparison"make_test_card..comparisonZsI%%T$O A& A& k/ r6zAsian language supportu!:flag_for_china: 该库支持中文,日文和韩文文本! :flag_for_japan: ライブラリは中国語、日本語、韓国語のテキストをサポートしています :flag_for_south_korea: 이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다z[bold magenta]Rich[/] supports a simple [i]bbcode[/i]-like [b]markup[/b] for [yellow]color[/], [underline]style[/], and emoji! :+1: :apple: :ant: :bear: :baguette_bread: :bus: Markupnonedim)rHrGrF row_stylesrz [green]Date)rDrBz [blue]Title)rDz[cyan]Production Budgetcyan)rDrCrBz[magenta]Box Officemagentaz Dec 20, 2019z Star Wars: The Rise of Skywalkerz $275,000,000z $375,126,118z May 25, 2018z[b]Solo[/]: A Star Wars Storyz $393,151,347z Dec 15, 2017z!Star Wars Ep. VIII: The Last Jediz $262,000,000zold]$1,332,539,889[/bold]z May 19, 1999z-Star Wars Ep. [b]I[/b]: [i]The phantom Menacez $115,000,000z$1,027,044,677Tablesa~def iter_last(values: Iterable[T]) -> Iterable[Tuple[bool, T]]: """Iterate and generate a tuple with a flag for last value.""" iter_values = iter(values) try: previous_value = next(iter_values) except StopIteration: return for value in iter_values: yield False, previous_value previous_value = value yield True, previous_valueg?$ @)z Paul AtreideszVladimir Harkonnenz Thufir Hawat)FTN)fooatomicz%Syntax highlighting & pretty printingpython3) line_numbers indent_guides)riz# Markdown Supports much of the *markdown* __syntax__! - Headers - Basic formatting: **bold**, *italic*, `code` - Block quotes - Lists, and more... r z[cyan]z+more!zBProgress bars, columns, styled logging handler, tracebacks, etc...)rgridtitlerYrZrr?rr from_markupr rSIMPLErr r ) r[ color_tablelorem lorem_tabler\markup_example example_tablecode pretty_datamarkdown_examples r/make_test_cardrv's JJq4 0E!EK YhjQ _%  K 8    MM(K( MM r jE**Q>K K UF'2 UHH5 UG62 UF%0   MM   r    ^PU MM" n  < MM(N+E? JJ M]'4H]&9!    *  '  +%  7  MM(M* "D   & K MM3 4T J ;d 3   MMJx*::HEUrMrO)rDrC)rB TextualizezH[u blue link=https://github.com/textualize]https://github.com/textualizeTwitterzL[u blue link=https://twitter.com/willmcgugan]https://twitter.com/willmcguganzWe hope you enjoy using Rich! Rich is maintained with [red]:heart:[/] by [link=https://www.textualize.io]Textualize.io[/] - Will McGugan)r3r~z"[b red]Thanks for trying out Rich! bright_blue)rr>rk border_stylerA)rC)6r iotimerpip._vendor.richrpip._vendor.rich.colorrpip._vendor.rich.consolerrrr r pip._vendor.rich.markdownr pip._vendor.rich.measurer pip._vendor.rich.prettyr pip._vendor.rich.segmentrpip._vendor.rich.stylerpip._vendor.rich.syntaxrpip._vendor.rich.tablerpip._vendor.rich.textrrrvr8StringIOr test_cardstartprintroundpre_cache_takenrxtakencpip._vendor.rich.panelr{rjsponsor_messagerYrZrl intro_messagemessagefitROUNDEDr7r6r/rs  (aa.0*,(*(&11*ggT z [[]G I NE MM)\^e3v=qAO;;=GL NE MM) <>E)V3Q 7EtAGGI L) 9: L /0,iGjj+OWg>t,RV $$ Mjj#G  t$ OOM?3 MM  6&   qr6