Files
ServerSync/lib/rich/__pycache__/tree.cpython-314.pyc

97 lines
13 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
<00> <0C>i<EFBFBD>$<00>
<00><00>^RIHtHtHtHt^RIHtHt^RIH t H
t
H t H t ^RI Ht^RIHt^RIHt^RIHtHtHt^RIHt]]]]]3,t!R R
]4t]R 8XEd<>^R IHt^R IH t ^RI!H"t"^RI#H$t$^RI%H&t&]&!RR.R7t']'PQRRRR7]'PQRRR7]'PQRRRR7]'PSRR R!4]'PSR"R#R$4]'PSR%R&R'4]'PSR(R)R*4R+t*]$!]*R,R-RR.7t+] !R/4t,]!R0RRR17t-]-P]R2R3R47t/]/P]R5R6R47t0]0P]]!R7]+44]0P]]!R8]"!],RR9744]/P]R:R;R47t1R]1n2]"Pf!R<R3R97t4]1P]]!R=]444]1P]]!R>]'44] !4t]Pk]-4R?#R?#)@<40>)<04>Iterator<6F>List<73>Optional<61>Tuple)<02>
loop_first<EFBFBD> loop_last)<04>Console<6C>ConsoleOptions<6E>RenderableType<70> RenderResult)<01> JupyterMixin)<01> Measurement)<01>Segment)<03>Style<6C>
StyleStack<EFBFBD> StyleType)<01>Styledc
<00><>a<00>]tRt^toRtRt.ROtRRRRRRRR R
R /V3R lR lltRR RR RRRR /V3RlRlltV3RlRlt V3RlRlt
Rt Vt R #)<17>Treea<65>A renderable for a tree structure.
Attributes:
ASCII_GUIDES (GuideType): Guide lines used when Console.ascii_only is True.
TREE_GUIDES (List[GuideType, GuideType, GuideType]): Default guide lines.
Args:
label (RenderableType): The renderable or str for the tree label.
style (StyleType, optional): Style of this tree. Defaults to "tree".
guide_style (StyleType, optional): Style of the guide lines. Defaults to "tree.line".
expanded (bool, optional): Also display children. Defaults to True.
highlight (bool, optional): Highlight renderable (if str). Defaults to False.
hide_root (bool, optional): Hide the root node. Defaults to False.
<EFBFBD>style<6C>tree<65> guide_stylez tree.line<6E>expandedT<64> highlightF<74> hide_rootc<00>B<<01>V^8<>dQhRS[RS[RS[RS[RS[RS[RR/#) <09><00>labelrrrrr<00>returnN)r r<00>bool)<02>format<61> __classdict__s"<22><>0/tmp/pip-target-qd_sq_1j/lib/python/rich/tree.py<70> __annotate__<5F>Tree.__annotate__%sQ<00><><00>#<23>#<23><1D>#<23><19> #<23>
<1F> #<23> <17> #<23><18>#<23><18>#<23>
<0E>#<23>c<08>\<00>WnW nW0n.VnW@nWPnW`nR#<00>N)rrr<00>childrenrrr)<07>selfrrrrrrs&&$$$$$r#<00>__init__<5F> Tree.__init__%s*<00><00><1B>
<EFBFBD><1A>
<EFBFBD>&<26><18>$&<26><04> <0A> <20> <0A>"<22><0E>"<22>r&Nc <00>l<<01>V^8<>dQhRS[RS[S[,RS[S[,RS[RS[S[,RR/#)rrrrrrrr)r rrr )r!r"s"<22>r#r$r%7sU<00><><00><14><14><1D><14><18> <09>"<22> <14>
<1E>i<EFBFBD>(<28> <14> <17> <14><1C>D<EFBFBD>><3E><14>
<10>r&c <0C><><00>\TVf VPMTVf VPMTTVf VPMTR7pVPP V4V#)a<>Add a child tree.
Args:
label (RenderableType): The renderable or str for the tree label.
style (StyleType, optional): Style of this tree. Defaults to "tree".
guide_style (StyleType, optional): Style of the guide lines. Defaults to "tree.line".
expanded (bool, optional): Also display children. Defaults to True.
highlight (Optional[bool], optional): Highlight renderable (if str). Defaults to False.
Returns:
Tree: A new child Tree, which may be further modified.
)rrrr)rrrrr)<00>append)r*rrrrr<00>nodes&&$$$$ r#<00>add<64>Tree.add7sX<00><00>*<14> <11> %<25> <0A>$<24>*<2A>*<2A>5<EFBFBD>,7<>,?<3F><04>(<28>(<28>[<5B><1D>(1<>(9<>d<EFBFBD>n<EFBFBD>n<EFBFBD>y<EFBFBD> 
<EFBFBD><04> <0A> <0A> <0A><1C><1C>T<EFBFBD>"<22><13> r&c<00>&<<01>V^8<>dQhRRRRRR/#)r<00>consoler <00>optionsr
rr <00>)r!r"s"<22>r#r$r%Vs*<00><><00>X<1B>X<1B> <20>X<1B>+;<3B>X<1B> <17>Xr&c
#<08><>aaa"<00>.pVPpVPp\P!4pVPp\
P !4pV!SPRR7;'gTp \^4wr<>r<EFBFBD>\oRVVV3RllpV!W<>4.pV!\\S.444\V!SP44p\V!SP44p\ RRR7p^pV'Ed<>V!4p\V4wppT!T4T'd'T!Y<>R ,P;'gT4TR &TPT!TP4,p TPT!TP4,pTSP 'd^M^RpTP#\%TP&T4SP)SP*\-RT44,
SP.RR7SP0RJR 7pT^8XdSP 'g<>\3T4F<>wppT'd'SP5TTP6TR
7Rjx<01>L
TRjx<01>L
Tx<00>T'gKLT'gKVT!T'dT
MT TR ,P;'gT4TR &K<> TP8'gEK<>TP:'gEK<>T!T'dT
MT TR ,P;'gT4TR &TPT!\=TP:4^8XdT MT T 44TP?T!TP44TP?T!TP44T!\\TP:444T^, pEK<>R# \dfTP4T'dITR ,P;'gTp T!Y<>4TR &TP4TP4EKFi;iEL<>EL<>5i) <0C>)<01>defaultc<00><<00>V^8<>dQhR\R\R\/#)r<00>indexrr)<03>intrr)r!s"r#r$<00>+Tree.__rich_console__.<locals>.__annotate__es!<00><00> )<29> )<29>c<EFBFBD> )<29>%<25> )<29>G<EFBFBD> )r&c<04><<03>SP'dSPV,pMXVP'd^MVP'd^M^pSPSP
'd^MT,V,pS!W!4#)z.Make a Segment for a level of the guide lines.)<06>
ascii_only<EFBFBD> ASCII_GUIDES<45>bold<6C>
underline2<EFBFBD> TREE_GUIDES<45>legacy_windows)r;r<00>line<6E>guide<64>_Segmentr5r*s&& <20><><EFBFBD>r#<00>
make_guide<EFBFBD>)Tree.__rich_console__.<locals>.make_guideesi<00><><00><16>!<21>!<21>!<21><1B>(<28>(<28><15>/<2F><04>"<22>Z<EFBFBD>Z<EFBFBD>Z<EFBFBD><01>5<EFBFBD>3C<33>3C<33>3C<33>a<EFBFBD><11><05><1B>'<27>'<27>W<EFBFBD>-C<>-C<>-C<><01><15>O<>PU<50>V<><04><1B>D<EFBFBD>(<28> (r&F)rArBNc3<00>8"<00>TFqPx<00>K R#5ir()<01> cell_length)<02>.0<EFBFBD>levels& r#<00> <genexpr><3E>(Tree.__rich_console__.<locals>.<genexpr><3E>s<00><00><00>@<40><16><05>+<2B>+<2B><16>s<00>)<03>widthr<00>height)<01>pad)<01>
post_style<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <20>popr/rrE<00> get_styler<00>nullr<00>range<67>iterrrr<00>next<78> StopIteration<6F>currentr<00> render_linesrr<00>update<74> max_width<74>sumr<00>justifyr<00> apply_style<6C>background_stylerr)<00>len<65>push)r*r4r5<00>stackrUre<00>new_linerV<00>
null_styler<00>SPACE<43>CONTINUE<55>FORK<52>ENDrH<00>levels<6C>guide_style_stack<63> style_stack<63>remove_guide_styles<65>depth<74>
stack_node<EFBFBD>lastr0r<00>prefix<69>renderable_lines<65>firstrErGsf&f @r#<00>__rich_console__<5F>Tree.__rich_console__Vs<><00><><00><00>46<34><05><13>i<EFBFBD>i<EFBFBD><03><14>|<7C>|<7C><04><1A><<3C><<3C>><3E><08><1B>%<25>%<25> <09><1A>Z<EFBFBD>Z<EFBFBD>\<5C>
<EFBFBD><1F><04> 0<> 0<>"<22>=<3D>K<>K<><1A> <0B>%*<2A>1<EFBFBD>X<EFBFBD>"<22><05><14><1A><08> )<29> )<29>",<2C>H<EFBFBD>!B<> C<><06> <0C>T<EFBFBD>)<29>T<EFBFBD>F<EFBFBD>#<23> $<24>%<25>&<26>y<EFBFBD><14>1A<31>1A<31>'B<>C<><19> <20><19>4<EFBFBD>:<3A>:<3A>!6<>7<> <0B>#<23><15>5<EFBFBD>A<><1B><11><05><13>e<EFBFBD><1C><15>J<EFBFBD> <19>!<21>*<2A>-<2D>
<EFBFBD><04>d<EFBFBD> <11><1A> <1C><13>'<27><03>B<EFBFBD>Z<EFBFBD>-=<3D>-=<3D>-K<>-K<><1A>L<><06>r<EFBFBD>
<EFBFBD>+<2B>3<>3<>i<EFBFBD><04>@P<>@P<>6Q<36>Q<>K<EFBFBD><1F>'<27>'<27>)<29>D<EFBFBD>J<EFBFBD>J<EFBFBD>*?<3F>?<3F>E<EFBFBD><1B>$<24>.<2E>.<2E>.<2E>Q<EFBFBD>a<EFBFBD>:<3A>;<3B>F<EFBFBD>&<26>3<>3<><16>t<EFBFBD>z<EFBFBD>z<EFBFBD>5<EFBFBD>)<29><17><0E><0E>!<21>+<2B>+<2B><19>@<40><16>@<40>@<40>A<01>"<22>n<EFBFBD>n<EFBFBD><1F> <1F><12> <1C>O<EFBFBD>O<EFBFBD>4<EFBFBD>/<2F> 4<> <0E> <1C><1A>Q<EFBFBD>J<EFBFBD>4<EFBFBD>><3E>><3E>><3E>#-<2D>.><3E>#?<3F>K<EFBFBD>E<EFBFBD>4<EFBFBD><1D>#+<2B>#7<>#7<>"<22>!<21>2<>2<>':<3A>$8<>$<1A><1A><1A>
$<24>O<EFBFBD>O<EFBFBD>"<22>N<EFBFBD><1C>u<EFBFBD><16><16>%/<2F>%)<29>E<EFBFBD>x<EFBFBD><16><02><1A>9I<39>9I<39>9W<39>9W<39>Z<EFBFBD>&<1A><06>r<EFBFBD>
<EFBFBD>$@<01><14>}<7D>}<7D>}<7D><14><1D><1D><1D>'<27>!<21>E<EFBFBD>x<EFBFBD><16><02><1A>1A<31>1A<31>1O<31>1O<31>Z<EFBFBD><12><06>r<EFBFBD>
<EFBFBD><17> <0A> <0A><1E>c<EFBFBD>$<24>-<2D>-<2D>&8<>A<EFBFBD>&=<3D>s<EFBFBD>4<EFBFBD><1B>U<><12><1C> <20> <20><19>4<EFBFBD>:<3A>:<3A>!6<>7<>!<21>&<26>&<26>y<EFBFBD><14>1A<31>1A<31>'B<>C<><14>T<EFBFBD>)<29>D<EFBFBD>M<EFBFBD>M<EFBFBD>2<>3<>4<><15><11>
<EFBFBD><05>o<14><>!<21> <19><16>
<EFBFBD>
<EFBFBD> <0C><19>"(<28><12>*<2A>"2<>"2<>"@<40>"@<40>j<EFBFBD>K<EFBFBD>!+<2B>D<EFBFBD>!><3E>F<EFBFBD>2<EFBFBD>J<EFBFBD>%<25>)<29>)<29>+<2B><1F>O<EFBFBD>O<EFBFBD>%<25><18> <19><>:<1A>
$<24>s<EFBFBD><00>C?Q <01>Q <01> O<00>Q <01>+Q <01>A"Q <01>*BQ <01>::Q <01>4Q<06>5 Q <01>>Q <06>? Q <01>Q <01> Q <01>%Q <01>Q <01>%Q <01>: Q <01>Q <01>!B2Q <01>"Q<03>6Q<03>.Q<03>>Q <01>Q<03>Q <01> Q c<00>&<<01>V^8<>dQhRRRRRR/#)rr4r r5r
rrr6)r!r"s"<22>r#r$r%<00>s%<00><><00>-<2D>-<2D> <20>-<2D>+;<3B>-<2D> <16>-r&c<08>*<00>\V.4.pVPpVPp^p^p\Pp^p V'd<>V!4p
\ V
4p T!T
4T!YT P4wr<>T ^,p\Y<>,T4p\Y<>,T4pT P'gKyT P'gK<>T!\T P44T ^, p K<>\Wg4# \ dT ^,p K<>i;i)r) rYrUr/r<00>getrZr[r<00>maxrr))r*r4r5rfrUre<00>minimum<75>maximum<75>measurerM<00> iter_treer<00> min_measure<72> max_measure<72>indents&&& r#<00>__rich_measure__<5F>Tree.__rich_measure__<5F>s<><00><00>(,<2C>T<EFBFBD>F<EFBFBD>|<7C>n<EFBFBD><05><13>i<EFBFBD>i<EFBFBD><03><14>|<7C>|<7C><04><13><07><13><07><1D>/<2F>/<2F><07><11><05><13><1B><05>I<EFBFBD> <19><1B>I<EFBFBD><EFBFBD><04> <11><19>O<EFBFBD>'.<2E>w<EFBFBD><14><1A><1A>'L<> $<24>K<EFBFBD><1A>Q<EFBFBD>Y<EFBFBD>F<EFBFBD><19>+<2B>.<2E><07>8<>G<EFBFBD><19>+<2B>.<2E><07>8<>G<EFBFBD><13>}<7D>}<7D>}<7D><14><1D><1D><1D><14>T<EFBFBD>$<24>-<2D>-<2D>(<28>)<29><15><11>
<EFBFBD><05><1A>7<EFBFBD>,<2C>,<2C><>!<21> <19><15><11>
<EFBFBD><05><18> <19>s<00> C:<00>:D<03>D)r)rrrrrr)<04> z| z+-- z`-- ))r<>u│ u
├── u
└── )r<>u┃ u
┣━━ u
┗━━ )r<>u║ u
╠══ u
╚══ ) <0A>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__firstlineno__<5F>__doc__r@rCr+r1rwr<><00>__static_attributes__<5F>__classdictcell__)r"s@r#rrs<><00><><00><00> <08>4<>L<EFBFBD><06>K<EFBFBD> #<23>"<22> #<23>
"-<2D> #<23> <1E> #<23> <20>#<23> <20>#<23>#<23>$<14>&*<2A> <14>
,0<> <14> <1E> <14>%*<2A><14><14>>X<1B>X<1B>t-<2D>-r&r<00>__main__)<01>Group)<01>Markdown)<01>Panel)<01>Syntax)<01>Tabler8<00>dim)<01>
row_styles<EFBFBD>Released<65>cyanT)r<00>no_wrap<61>Title<6C>magenta)rz
Box Office<63>right<68>green)rarz Dec 20, 2019z Star Wars: The Rise of Skywalkerz $952,110,690z May 25, 2018zSolo: A Star Wars Storyz $393,151,347z Dec 15, 2017z!Star Wars Ep. V111: The Last Jediz$1,332,539,889z Dec 16, 2016zRogue One: A Star Wars Storyz$1,332,439,889zmclass Segment(NamedTuple):
text: str = ""
style: Optional[Style] = None
is_control: bool = False
<EFBFBD>python<6F>monokai)<02>theme<6D> line_numbersz=### example.md
> Hello, World!
>
> Markdown _all_ the things
u🌲 [b green]Rich Tree)rrz:file_folder: Renderables<65>red)rz!:file_folder: [bold yellow]Atomiczuu greenu 📄 Syntaxu 📄 Markdown)<01> border_stylez&:file_folder: [bold magenta]Containersz bold magentaz Just a panelu 📄 Panelsu📄 [b magenta]TableN)6<>typingrrrr<00>_looprrr4r r
r r <00>jupyterr rr<00>segmentrrrrr<00>styledr<00>str<74> GuideTyperr<><00> rich.consoler<65><00> rich.markdownr<6E><00>
rich.panelr<6C><00> rich.syntaxr<78><00>
rich.tabler<65><00>table<6C>
add_column<EFBFBD>add_row<6F>code<64>syntax<61>markdown<77>rootr1r0<00> simple_node<64>containers_noder<00>fit<69>panel<65>printr6r&r#<00><module>r<>s<><00><01>2<>2<>(<28>J<>J<>!<21> <20><1C>/<2F>/<2F><1A> <11>#<23>s<EFBFBD>C<EFBFBD><13>$<24> %<25> <09>{-<2D><<3C>{-<2D>| <0C>z<EFBFBD><19>"<22>&<26> <20>"<22> <20> <11>b<EFBFBD>%<25>[<5B> )<29>E<EFBFBD> <09><14><14>Z<EFBFBD>v<EFBFBD>t<EFBFBD><14><<3C> <09><14><14>W<EFBFBD>I<EFBFBD><14>.<2E> <09><14><14>\<5C>7<EFBFBD>'<27><14>B<> <09>M<EFBFBD>M<EFBFBD>.<2E>"D<>n<EFBFBD>U<> <09>M<EFBFBD>M<EFBFBD>.<2E>";<3B>^<5E>L<> <09>M<EFBFBD>M<EFBFBD>.<2E>"E<>GW<47>X<> <09>M<EFBFBD>M<EFBFBD>.<2E>"@<40>BR<42>S<> <04>D<EFBFBD> <14>D<EFBFBD>(<28>)<29>$<24> G<>F<EFBFBD><17> <04><06>H<EFBFBD> <10>)<29>T<EFBFBD>T<EFBFBD> J<>D<EFBFBD> <0F>8<EFBFBD>8<EFBFBD>/<2F>U<EFBFBD>8<EFBFBD> C<>D<EFBFBD><16>(<28>(<28>><3E>J<EFBFBD>(<28>W<>K<EFBFBD><0F>O<EFBFBD>O<EFBFBD>E<EFBFBD>-<2D><16>0<>1<><0F>O<EFBFBD>O<EFBFBD>E<EFBFBD>/<2F>5<EFBFBD><18><07>+P<>Q<>R<><1A>h<EFBFBD>h<EFBFBD>0<>n<EFBFBD><1F><06>O<EFBFBD> $<24>O<EFBFBD><1C> <11>I<EFBFBD>I<EFBFBD>n<EFBFBD>5<EFBFBD> 9<>E<EFBFBD><13><17><17><05>m<EFBFBD>U<EFBFBD>3<>4<><13><17><17><05>5<>u<EFBFBD>=<3D>><3E><15>i<EFBFBD>G<EFBFBD> <0B>M<EFBFBD>M<EFBFBD>$<24><17>kr&