Files
tamigo-cli/venv/lib/python3.12/site-packages/rich/__pycache__/box.cpython-312.pyc

256 lines
11 KiB
Plaintext
Raw Normal View History

<EFBFBD>
<00><16>i<EFBFBD>)<00> <00><><00>UddlmZmZmZmZddlmZerddlmZGd<05>d<06>Z e dd<08> <09>Z
e e d
<e d d<08> <09>Z e e d <e d d<08> <09>Z e e d<e d<0F>Ze e d<e d<11>Ze e d<e d<13>Ze e d<e d<15>Ze e d<e d<17>Ze e d<e d<19>Ze e d<e d<1B>Ze e d<e d<1D>Ze e d<e d<1F>Ze e d <e d!<21>Ze e d"<e d#<23>Ze e d$<e d%<25>Ze e d&<e d'<27>Ze e d(<e d)<29>Ze e d*<e d+<2B>Ze e d,<e d-d<08> <09>Ze e d.<eeeeeeeeeeeeiZeeeeeeeee e iZe d/k(<00>r
dd0l!m"Z"dd1l#m$Z$dd2l%m&Z&dd3l'm(Z(dd4l)m*Z*dd5l+m,Z,e(d<08>6<EFBFBD>Z'gd7<64>Z-e'j]e$d8d9<64>:<3A>d;<3B><<3C>e'j]<00>e"dd=<3D>><3E>Z/e0e-<2D>D]<5D>Z1e*dd?d@d<08>A<EFBFBD>Z)e)jedBdC<64>e)jedDdE<64>e)jgdFdF<64>e)jgdFdF<64>e4e&e1<65>e)_&e,dGe1<65><00>dH<64>:<3A>e)_5e/jme)<29><00><>e'j]e/<2F>yIyI)J<>)<04> TYPE_CHECKING<4E>Iterable<6C>List<73>Literal<61>)<01> loop_last)<01>ConsoleOptionsc <00><><00>eZdZdZdd<03>dededdfd<08>Zdefd <09>Zdefd
<EFBFBD>Zdd d d eddfd<0E>Z dd<0F>Z
de e defd<11>Z dde e deddedefd<15>Zde e defd<16>Zy)<1A>BoxuqDefines characters to render boxes.
┌─┬┐ top
│ ││ head
├─┼┤ head_row
│ ││ mid
├─┼┤ row
├─┼┤ foot_row
│ ││ foot
└─┴┘ bottom
Args:
box (str): Characters making up box.
ascii (bool, optional): True if this box uses ascii characters only. Default is False.
F<><01>ascii<69>boxr <00>returnNc<00>v<00>||_||_|j<00>\}}}}}}} }
t|<03>\|_|_|_|_t|<04>\|_} |_ |_
t|<05>\|_ |_ |_ |_t|<06>\|_} |_|_t|<07>\|_|_|_|_t|<08>\|_|_|_|_t| <09>\|_} |_|_t|
<EFBFBD>\|_|_|_|_ y<00>N)!<21>_boxr <00>
splitlines<EFBFBD>iter<65>top_left<66>top<6F> top_divider<65> top_right<68> head_left<66> head_vertical<61>
head_right<EFBFBD> head_row_left<66>head_row_horizontal<61>head_row_cross<73>head_row_right<68>mid_left<66> mid_vertical<61> mid_right<68>row_left<66>row_horizontal<61> row_cross<73> row_right<68> foot_row_left<66>foot_row_horizontal<61>foot_row_cross<73>foot_row_right<68> foot_left<66> foot_vertical<61>
foot_right<EFBFBD> bottom_left<66>bottom<6F>bottom_divider<65> bottom_right) <0C>selfrr <00>line1<65>line2<65>line3<65>line4<65>line5<65>line6<65>line7<65>line8<65>_s <20>N/home/daniel/Projects/tamigo-cli/venv/lib/python3.12/site-packages/rich/box.py<70>__init__z Box.__init__s&<00><00><17><04> <09><1A><04>
<EFBFBD>AO<EFBFBD><13><1E><1E>AQ<41>><3E><05>u<EFBFBD>e<EFBFBD>U<EFBFBD>E<EFBFBD>5<EFBFBD>%<25><15>DH<44><15>K<EFBFBD>A<><04> <0A>t<EFBFBD>x<EFBFBD><14>!1<>4<EFBFBD>><3E>AE<41>e<EFBFBD><1B>><3E><04><0E><01>4<EFBFBD>-<2D>t<EFBFBD><EFBFBD> <11><15>K<EFBFBD> 
<EFBFBD> <10> <1E> <10> $<24> <10> <1F> <10> <1F>?C<01>5<EFBFBD>k<EFBFBD>;<3B><04> <0A>q<EFBFBD>$<24>+<2B>T<EFBFBD>^<5E>MQ<4D>RW<52>[<5B>J<><04> <0A>t<EFBFBD>*<2A>D<EFBFBD>N<EFBFBD>D<EFBFBD>N<EFBFBD> <11><15>K<EFBFBD> 
<EFBFBD> <10> <1E> <10> $<24> <10> <1F> <10> <1F>BF<01>e<EFBFBD><1B>><3E><04><0E><01>4<EFBFBD>-<2D>t<EFBFBD><EFBFBD>PT<50> <11>Q
<EFBFBD>M<><04><18>$<24>+<2B>t<EFBFBD>':<3A>D<EFBFBD><M<>c<00><00>y)NzBox(...)<29><00>r2s r<<00>__repr__z Box.__repr__=s<00><00>r>c<00><00>|jSr)rrAs r<<00>__str__z Box.__str__@s <00><00><13>y<EFBFBD>y<EFBFBD>r><00>optionsr <00>safec<00><><00>|}|jr|rtj||<03>}|jr|jst
}|S)a<>Substitute this box for another if it won't render due to platform issues.
Args:
options (ConsoleOptions): Console options used in rendering.
safe (bool, optional): Substitute this for another Box if there are known problems
displaying on the platform (currently only relevant on Windows). Default is True.
Returns:
Box: A different Box or the same Box.
)<06>legacy_windows<77>LEGACY_WINDOWS_SUBSTITUTIONS<4E>get<65>
ascii_onlyr <00>ASCII)r2rErFrs r<<00>
substitutezBox.substituteCs?<00><00><13><03> <12> !<21> !<21>d<EFBFBD>.<2E>2<>2<>3<EFBFBD><03><<3C>C<EFBFBD> <12> <1D> <1D>c<EFBFBD>i<EFBFBD>i<EFBFBD><17>C<EFBFBD><12>
r>c<00>.<00>tj||<00>S)aCIf this box uses special characters for the borders of the header, then
return the equivalent box that does not.
Returns:
Box: The most similar Box that doesn't use header-specific box characters.
If the current Box already satisfies this criterion, then it's returned.
)<02>PLAIN_HEADED_SUBSTITUTIONSrJrAs r<<00>get_plain_headed_boxzBox.get_plain_headed_boxUs<00><00>*<2A>-<2D>-<2D>d<EFBFBD>D<EFBFBD>9<>9r><00>widthsc<00><00>g}|j}||j<00>t|<01>D]/\}}||j|z<00>|r<01>||j<00><00>1||j
<00>dj |<02>S)z<>Get the top of a simple box.
Args:
widths (List[int]): Widths of columns.
Returns:
str: A string of box characters.
<20>)<07>appendrrrrr<00>join<69>r2rQ<00>partsrT<00>last<73>widths r<<00>get_topz Box.get_top_st<00><00><1E><05><16><1C><1C><06><0E>t<EFBFBD>}<7D>}<7D><1D>$<24>V<EFBFBD>,<2C> )<29>K<EFBFBD>D<EFBFBD>%<25> <12>4<EFBFBD>8<EFBFBD>8<EFBFBD>e<EFBFBD>#<23> $<24><17><16>t<EFBFBD>'<27>'<27>(<28> )<29> <0F>t<EFBFBD>~<7E>~<7E><1E><11>w<EFBFBD>w<EFBFBD>u<EFBFBD>~<7E>r><00>level)<04>head<61>row<6F>foot<6F>mid<69>edgec<00>l<00>|dk(r1|j}|j}|j}|j}n<>|dk(r1|j}|j
}|j }|j}nm|dk(r'|j}d}|j}|j}nA|dk(r1|j}|j}|j}|j}n td<06><00>g}|j } |r| |<04>t#|<01>D]\}
} | || z<00>|
r<01>| |<06><00>|r| |<07>dj%|<08>S)z<>Get the top of a simple box.
Args:
width (List[int]): Widths of columns.
Returns:
str: A string of box characters.
r\r]r_<00> r^z%level must be 'head', 'row' or 'foot'rS)rrrrr#r$r%r&r r!r"r'r(r)r*<00>
ValueErrorrTrrU) r2rQr[r`<00>left<66>
horizontal<EFBFBD>cross<73>rightrWrTrXrYs r<<00>get_rowz Box.get_rowss-<00><00> <11>F<EFBFBD>?<3F><17>%<25>%<25>D<EFBFBD><1D>1<>1<>J<EFBFBD><18>'<27>'<27>E<EFBFBD><18>'<27>'<27>E<EFBFBD> <12>e<EFBFBD>^<5E><17>=<3D>=<3D>D<EFBFBD><1D>,<2C>,<2C>J<EFBFBD><18>N<EFBFBD>N<EFBFBD>E<EFBFBD><18>N<EFBFBD>N<EFBFBD>E<EFBFBD> <12>e<EFBFBD>^<5E><17>=<3D>=<3D>D<EFBFBD><1C>J<EFBFBD><18>%<25>%<25>E<EFBFBD><18>N<EFBFBD>N<EFBFBD>E<EFBFBD> <12>f<EFBFBD>_<EFBFBD><17>%<25>%<25>D<EFBFBD><1D>1<>1<>J<EFBFBD><18>'<27>'<27>E<EFBFBD><18>'<27>'<27>E<EFBFBD><1C>D<>E<> E<><1D><05><16><1C><1C><06> <0F> <12>4<EFBFBD>L<EFBFBD>$<24>V<EFBFBD>,<2C> <1E>K<EFBFBD>D<EFBFBD>%<25> <12>:<3A><05>%<25> &<26><17><16>u<EFBFBD> <0A> <1E> <10> <12>5<EFBFBD>M<EFBFBD><11>w<EFBFBD>w<EFBFBD>u<EFBFBD>~<7E>r>c<00><00>g}|j}||j<00>t|<01>D]/\}}||j|z<00>|r<01>||j<00><00>1||j
<00>dj |<02>S)z<>Get the bottom of a simple box.
Args:
widths (List[int]): Widths of columns.
Returns:
str: A string of box characters.
rS)rTr.rr/r0r1rUrVs r<<00>
get_bottomzBox.get_bottom<6F>sx<00><00><1E><05><16><1C><1C><06><0E>t<EFBFBD><1F><1F> <20>$<24>V<EFBFBD>,<2C> ,<2C>K<EFBFBD>D<EFBFBD>%<25> <12>4<EFBFBD>;<3B>;<3B><15>&<26> '<27><17><16>t<EFBFBD>*<2A>*<2A>+<2B> ,<2C> <0F>t<EFBFBD> <20> <20>!<21><11>w<EFBFBD>w<EFBFBD>u<EFBFBD>~<7E>r>)T)rr )r]T)<11>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F>str<74>boolr=rBrDrMrPr<00>intrZrrhrjr@r>r<r r
s<><00><00><08> 38<33> 
<EFBFBD>C<EFBFBD> 
<EFBFBD>4<EFBFBD> 
<EFBFBD>D<EFBFBD> 
<EFBFBD>D<1A>#<23><1A><19><13><19><13>"2<><13>$<24><13>%<25><13>$:<3A><1E>h<EFBFBD>s<EFBFBD>m<EFBFBD><1E><03><1E>.8=<3D><19> /<1E><18><13> <0A>/<1E><17>3<>4<>/<1E><13> /<1E>
<0A> /<1E>b<1E><18>#<23><1D><1E>3<EFBFBD>r>r z(+--+
| ||
|-+|
| ||
|-+|
|-+|
| ||
+--+
Tr rLz(+-++
| ||
+-++
| ||
+-++
+-++
| ||
+-++
<EFBFBD>ASCII2z(+-++
| ||
+=++
| ||
+-++
+-++
| ||
+-++
<EFBFBD>ASCII_DOUBLE_HEADub┌─┬┐
│ ││
├─┼┤
│ ││
├─┼┤
├─┼┤
│ ││
└─┴┘
<EFBFBD>SQUAREub┌─┬┐
│ ││
╞═╪╡
│ ││
├─┼┤
├─┼┤
│ ││
└─┴┘
<EFBFBD>SQUARE_DOUBLE_HEADuJ
╶─┼╴
╶─┼╴
╶─┼╴
<EFBFBD>MINIMALuJ
╺━┿╸
╶─┼╴
╶─┼╴
<EFBFBD>MINIMAL_HEAVY_HEADu>
═╪
─┼
─┼
<EFBFBD>MINIMAL_DOUBLE_HEADu0
──
──
<EFBFBD>SIMPLEu,
──
<EFBFBD> SIMPLE_HEADu0
━━
━━
<EFBFBD> SIMPLE_HEAVYu< ──
──
──
──
──
<EFBFBD> HORIZONTALSub╭─┬╮
│ ││
├─┼┤
│ ││
├─┼┤
├─┼┤
│ ││
╰─┴╯
<EFBFBD>ROUNDEDub┏━┳┓
┃ ┃┃
┣━╋┫
┃ ┃┃
┣━╋┫
┣━╋┫
┃ ┃┃
┗━┻┛
<EFBFBD>HEAVYub┏━┯┓
┃ │┃
┠─┼┨
┃ │┃
┠─┼┨
┠─┼┨
┃ │┃
┗━┷┛
<EFBFBD>
HEAVY_EDGEub┏━┳┓
┃ ┃┃
┡━╇┩
│ ││
├─┼┤
├─┼┤
│ ││
└─┴┘
<EFBFBD>
HEAVY_HEADub╔═╦╗
║ ║║
╠═╬╣
║ ║║
╠═╬╣
╠═╬╣
║ ║║
╚═╩╝
<EFBFBD>DOUBLEub╔═╤╗
║ │║
╟─┼╢
║ │║
╟─┼╢
╟─┼╢
║ │║
╚═╧╝
<EFBFBD> DOUBLE_EDGEz(
| ||
|-||
| ||
|-||
|-||
| ||
<EFBFBD>MARKDOWN<57>__main__)<01>Columns)<01>Panel)r)<01>Console)<01>Table)<01>Text)<01>record)rLrrrsrtrurvrwrxryrzr{r|r}r~rr<>r<>r<>r<>z[bold green]Box Constants<74>green)<01>style<6C>center)<01>justify<66>)<02>expand<6E>padding<6E>dimznot dim)<04> show_footerr<72><00> border_styler<65>zHeader 1zFooter 1zHeader 2zFooter 2<>Cellzbox.<2E>magentaN)7<>typingrrrr<00>_loopr<00> rich.consoler r rL<00>__annotations__rrrsrtrurvrwrxryrzr{r|r}r~rr<>r<>r<>r<>rIrOrk<00> rich.columnsr<73><00>
rich.panelr<6C>rSr<00>consoler<65><00>tabler<65><00>textr<74><00>BOXES<45>print<6E>columns<6E>sorted<65>box_name<6D>
add_column<EFBFBD>add_row<6F>getattr<74>title<6C>add_renderabler@r>r<<00><module>r<>sS<00><01>9<>9<><1D><10>+<2B>l<1E>l<1E>`<11> <0A> <0F>
<02><05>s<EFBFBD>
<02><12> <0A> <0F>
<02><06><03>
<02><1D> <0A> <0F>
<02><11>3<EFBFBD>
<02><12><15> <02><06><03> <02><1E><15> <02><12>C<EFBFBD> <02><13><0F> <02><07><13> <02><1E><0F> <02><12>C<EFBFBD> <02><1F><0F> <02><13>S<EFBFBD> <02><12> <0A> <02><06><03> <02><17> <0A> <02> <0B>S<EFBFBD> <02><18> <0A> <02> <0C>c<EFBFBD> <02><17><11> <02> <0B>S<EFBFBD> <02><13><15> <02><07><13> <02><11><15> <02><05>s<EFBFBD> <02><16><15> <02>
<EFBFBD>C<EFBFBD> <02><16><15> <02>
<EFBFBD>C<EFBFBD> <02><12><15> <02><06><03> <02><17><15> <02> <0B>S<EFBFBD> <02><14> <0A> <0F>
<02><08>#<23>
<02> <0C>V<EFBFBD><16><07><10>&<26> <09>6<EFBFBD><0E><06><0E><06>  <02><1C><0F><06><16><06><17><17><16><07><15>v<EFBFBD> <02><1A> <0C>z<EFBFBD><19>$<24> <20><1C> <20><1C><1A><15>T<EFBFBD>"<22>G<EFBFBD> <06>E<EFBFBD>, <0C>M<EFBFBD>M<EFBFBD>%<25>3<>7<EFBFBD>C<>X<EFBFBD>M<EFBFBD>V<> <0B>M<EFBFBD>M<EFBFBD>O<EFBFBD><15>T<EFBFBD>1<EFBFBD>-<2D>G<EFBFBD><1A>5<EFBFBD>M<EFBFBD>
&<26><08><15><1C>E<EFBFBD> <09>$<24>
<EFBFBD><05> <0E><18><18><1A>Z<EFBFBD>0<> <0A><18><18><1A>Z<EFBFBD>0<> <0A> <0A> <0A>f<EFBFBD>f<EFBFBD>%<25> <0A> <0A> <0A>f<EFBFBD>f<EFBFBD>%<25><1B>C<EFBFBD><18>*<2A><05> <09><1A>T<EFBFBD>(<28><1A>,<2C>I<EFBFBD>><3E><05> <0B><0F><1E><1E>u<EFBFBD>%<25>
&<26> <0C>M<EFBFBD>M<EFBFBD>'<27><1A>ar>