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

102 lines
8.2 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
<00> <0C>i<EFBFBD><00><00><>a<00>R-t0tRt^RIt^RIHtHtHtHtHtH t ^RI
H t .R.Ot ]'d^RI HtRs]^k]P P#]P$!44tRRltRR ltR
R R R RRRR/RRlltR/RRR^RRRRRRRRRRRRRR/ RRllltRRR RR!RR"RR#RR$RR%RR&RR'RR(R/
R)R*llt]R+8Xd ]!R,4R#R# ]dRtLri;i)0z3Rich text and beautiful formatting in the terminal.N)<06>IO<49> TYPE_CHECKING<4E>Any<6E>Callable<6C>Optional<61>Union)<01>load_ipython_extension<6F><01>Console<6C>c<00><00>V^8<>dQhRR/#)<03><00>returnr
<00>)<01>formats"<22>4/tmp/pip-target-qd_sq_1j/lib/python/rich/__init__.py<70> __annotate__rs<00><00> <14> <14>Y<EFBFBD> <14>c<04>8<00>\f^RIHpV!4s\#)z<>Get a global :class:`~rich.console.Console` instance. This function is used when Rich requires a Console,
and hasn't been explicitly given one.
Returns:
Console: A console instance.
r )<03>_console<6C>consoler
r s r<00> get_consolers<00><00><10><17>$<24><1A>9<EFBFBD><08> <13>Orc<00>4<00>V^8<>dQhR\R\RR/#)r <00>args<67>kwargsrN)r)rs"rrr's!<00><00> -<2D> -<2D>s<EFBFBD> -<2D>c<EFBFBD> -<2D>d<EFBFBD> -rc<04>X<00>^RIHpV!V/VBp\4pVPVnR#)z<>Reconfigures the global console by replacing it with another.
Args:
*args (Any): Positional arguments for the replacement :class:`~rich.console.Console`.
**kwargs (Any): Keyword arguments for the replacement :class:`~rich.console.Console`.
r N)<04> rich.consoler
r<00>__dict__)rrr
<00> new_consolers*, r<00> reconfigurer's+<00><00>%<25><19>4<EFBFBD>*<2A>6<EFBFBD>*<2A>K<EFBFBD><1A>}<7D>H<EFBFBD>#<23>,<2C>,<2C>H<EFBFBD>r<00>sep<65> <20>end<6E>
<EFBFBD>file<6C>flushFc <00><><00>V^8<>dQhR\R\R\R\\\,,R\RR/#)r <00>objectsr r"r$r%rN)r<00>strrr<00>bool)rs"rrr5sM<00><00>;<3B>;<3B><11>;<3B> <0C>;<3B>
<0A>;<3B> <13>2<EFBFBD>c<EFBFBD>7<EFBFBD>
<1B> ;<3B>
<10> ;<3B> 
<EFBFBD> ;rc<04>d<00>^RIHpVf \4MV!VR7pVP!VRVRV/#)aPrint object(s) supplied via positional arguments.
This function has an identical signature to the built-in print.
For more advanced features, see the :class:`~rich.console.Console` class.
Args:
sep (str, optional): Separator between printed objects. Defaults to " ".
end (str, optional): Character to write at end of output. Defaults to "\\n".
file (IO[str], optional): File to write to, or None for stdout. Defaults to None.
flush (bool, optional): Has no effect as Rich always flushes output. Defaults to False.
r )r$r r")rr
r<00>print)r r"r$r%r'r
<00> write_consoles$$$$* rr+r+5s4<00><00>$!<21>%)<29>\<5C>K<EFBFBD>M<EFBFBD>w<EFBFBD>D<EFBFBD>7I<37>M<EFBFBD> <18> <1E> <1E><07> :<3A>S<EFBFBD> :<3A>c<EFBFBD> :<3A>:r<00>data<74>indent<6E> highlightT<74> skip_keys<79> ensure_ascii<69>check_circular<61> allow_nan<61>default<6C> sort_keysc<00><00>V^8<>dQhR\\,R\R\R\\3,R\
R\
R\
R\
R \
R
\\ \.\3,,R \
R R/ #) r <00>jsonr-r.Nr/r0r1r2r3r4r5r)rr(rr<00>intr)r)rs"rrrMs<><00><00>(<06>(<06>
<12>3<EFBFBD>-<2D>(<06> <0E>(<06> <12>$<24><03>S<EFBFBD>.<2E> !<21> (<06>
<14> (<06> <14> (<06><17>(<06><19>(<06><14>(<06><16>h<EFBFBD><03>u<EFBFBD>c<EFBFBD>z<EFBFBD>*<2A> +<2B>(<06><14>(<06>
<EFBFBD>(rc <04>L<00>\4PVVVVVVVVVV R7
R#)aoPretty prints JSON. Output will be valid JSON.
Args:
json (str): A string containing JSON.
data (Any): If json is not supplied, then encode this data.
indent (int, optional): Number of spaces to indent. Defaults to 2.
highlight (bool, optional): Enable highlighting of output: Defaults to True.
skip_keys (bool, optional): Skip keys not of a basic type. Defaults to False.
ensure_ascii (bool, optional): Escape all non-ascii characters. Defaults to False.
check_circular (bool, optional): Check for circular references. Defaults to True.
allow_nan (bool, optional): Allow NaN and Infinity values. Defaults to True.
default (Callable, optional): A callable that converts values that can not be encoded
in to something that can be JSON encoded. Defaults to None.
sort_keys (bool, optional): Sort dictionary keys. Defaults to False.
) r-r.r/r0r1r2r3r4r5N)r<00>
print_json)
r7r-r.r/r0r1r2r3r4r5s
&$$$$$$$$$rr:r:Ms7<00><00>:<10>M<EFBFBD><1C><1C> <0C> <11><15><1B><1B>!<21>%<25><1B><17><1B><1D> rr<00>title<6C>help<6C>methods<64>docs<63>private<74>dunder<65>sort<72>all<6C>valuec<00><><00>V^8<>dQhR\R\R,R\\,R\R\R\R\R \R
\R \R \R R/ #)r <00>objrr
r;r<r=r>r?r@rArBrCrN)rrr(r))rs"rrrxs<><00><00>5<1D>5<1D> <0C>5<1D><16>i<EFBFBD> <20>5<1D> <14>C<EFBFBD>=<3D> 5<1D>
<0F> 5<1D> <12> 5<1D> <0F>5<1D><12>5<1D> <11>5<1D> <0F>5<1D>
<0E>5<1D> <10>5<1D>
<EFBFBD>5rc
<04><><00>T;'g \4p ^RIHp V\Jp T !TTT ;'gTT ;'gTT ;'gTVVVV V
R7
pV P V4R#)a<>Inspect any Python object.
* inspect(<OBJECT>) to see summarized info.
* inspect(<OBJECT>, methods=True) to see methods.
* inspect(<OBJECT>, help=True) to see full (non-abbreviated) help.
* inspect(<OBJECT>, private=True) to see private attributes (single underscore).
* inspect(<OBJECT>, dunder=True) to see attributes beginning with double underscore.
* inspect(<OBJECT>, all=True) to see all attributes.
Args:
obj (Any): An object to inspect.
title (str, optional): Title to display over inspect result, or None use type. Defaults to None.
help (bool, optional): Show full help text rather than just first paragraph. Defaults to False.
methods (bool, optional): Enable inspection of callables. Defaults to False.
docs (bool, optional): Also render doc strings. Defaults to True.
private (bool, optional): Show private attributes (beginning with underscore). Defaults to False.
dunder (bool, optional): Show attributes starting with double underscore. Defaults to False.
sort (bool, optional): Sort attributes alphabetically, callables at the top, leading and trailing underscores ignored. Defaults to True.
all (bool, optional): Show all attributes. Defaults to False.
value (bool, optional): Pretty print value. Defaults to True.
)<01>Inspect) r;r<r=r>r?r@rArBrCN)r<00> rich._inspectrG<00>inspectr+)rErr;r<r=r>r?r@rArBrCrrG<00>
is_inspect<EFBFBD>_inspects&$$$$$$$$$$ rrIrIxsp<00><00>F<17>'<27>'<27>+<2B>-<2D>H<EFBFBD>%<25><15><07><1E>J<EFBFBD><16> <0B><13> <17> <1F> <1F>4<EFBFBD><1A>%<25>%<25>g<EFBFBD> <17> <1F> <1F>4<EFBFBD><17><15> <11> <0F><13> <06>H<EFBFBD> <0A>N<EFBFBD>N<EFBFBD>8<EFBFBD>r<00>__main__zHello, **World**c<00>N<00>V^8<>dQh/^\9d\R,;R&#)r r
r)<02>__conditional_annotations__r)rs"rrrs<00><00>9<>9<>%<25>$<24>(<28>9<EFBFBD>
<1D>$<24>:r)rrr+rIr:)N)rN<00>__doc__<5F>os<6F>typingrrrrrr<00>
_extensionr<00>__all__rr
r<00>path<74>abspath<74>getcwd<77> _IMPORT_CWD<57>FileNotFoundErrorrrr+r:rI<00>__name__r)rNs@r<00><module>rZsz<00><><01>9<> <09>D<>D<>.<2E>
J<EFBFBD><07><10> <20>!%<25><08>$<24><15><14>'<27>'<27>/<2F>/<2F>"<22>)<29>)<29>+<2B>.<2E>K<EFBFBD> <14> -<2D>;<3B><12>;<3B><14>;<3B>#<23> ;<3B>
<18> ;<3B>0(<06><15>(<06>%&<26> (<06>
<1B> (<06> <1C> (<06><1F>(<06> <20>(<06><1B>(<06>/3<>(<06><1C>(<06>(<06>V5<1D>$(<28>5<1D> <20> 5<1D>
<17> 5<1D> <1A> 5<1D><16>5<1D><1A>5<1D><19>5<1D><16>5<1D><16>5<1D><17>5<1D>p <0C>z<EFBFBD><19> <09>
<1C><1D><1A><>}<19><15><14>K<EFBFBD><15>s<00>*C <00> C<03>C