/opt/imh/python3.13/lib/python3.13/__pycache__
NameSizeModeActions
abc.cpython-313.pyc79280644editdlrm
antigravity.cpython-313.pyc10000644editdlrm
argparse.cpython-313.pyc1040800644editdlrm
ast.cpython-313.pyc1030860644editdlrm
base64.cpython-313.pyc258320644editdlrm
bdb.cpython-313.pyc405800644editdlrm
bisect.cpython-313.pyc35120644editdlrm
bz2.cpython-313.pyc151800644editdlrm
calendar.cpython-313.pyc397080644editdlrm
cmd.cpython-313.pyc189770644editdlrm
code.cpython-313.pyc157990644editdlrm
codecs.cpython-313.pyc405720644editdlrm
codeop.cpython-313.pyc66550644editdlrm
colorsys.cpython-313.pyc45190644editdlrm
compileall.cpython-313.pyc206150644editdlrm
configparser.cpython-313.pyc689660644editdlrm
contextlib.cpython-313.pyc305090644editdlrm
contextvars.cpython-313.pyc2760644editdlrm
copy.cpython-313.pyc106450644editdlrm
copyreg.cpython-313.pyc75510644editdlrm
cProfile.cpython-313.pyc86790644editdlrm
csv.cpython-313.pyc207150644editdlrm
dataclasses.cpython-313.pyc478390644editdlrm
datetime.cpython-313.pyc4260644editdlrm
decimal.cpython-313.pyc30170644editdlrm
difflib.cpython-313.pyc720550644editdlrm
dis.cpython-313.pyc475320644editdlrm
doctest.cpython-313.pyc1076920644editdlrm
enum.cpython-313.pyc858660644editdlrm
filecmp.cpython-313.pyc150420644editdlrm
fileinput.cpython-313.pyc206480644editdlrm
fnmatch.cpython-313.pyc68190644editdlrm
fractions.cpython-313.pyc383840644editdlrm
ftplib.cpython-313.pyc423460644editdlrm
functools.cpython-313.pyc422860644editdlrm
genericpath.cpython-313.pyc78260644editdlrm
getopt.cpython-313.pyc84790644editdlrm
getpass.cpython-313.pyc73260644editdlrm
gettext.cpython-313.pyc225760644editdlrm
glob.cpython-313.pyc236810644editdlrm
graphlib.cpython-313.pyc102120644editdlrm
gzip.cpython-313.pyc319930644editdlrm
hashlib.cpython-313.pyc82910644editdlrm
heapq.cpython-313.pyc177850644editdlrm
hmac.cpython-313.pyc106750644editdlrm
imaplib.cpython-313.pyc626620644editdlrm
inspect.cpython-313.pyc1365370644editdlrm
io.cpython-313.pyc42900644editdlrm
ipaddress.cpython-313.pyc919790644editdlrm
keyword.cpython-313.pyc10560644editdlrm
linecache.cpython-313.pyc85670644editdlrm
locale.cpython-313.pyc590140644editdlrm
lzma.cpython-313.pyc157330644editdlrm
mailbox.cpython-313.pyc1187480644editdlrm
mimetypes.cpython-313.pyc249130644editdlrm
modulefinder.cpython-313.pyc284070644editdlrm
netrc.cpython-313.pyc93410644editdlrm
ntpath.cpython-313.pyc284840644editdlrm
nturl2path.cpython-313.pyc27520644editdlrm
numbers.cpython-313.pyc140470644editdlrm
opcode.cpython-313.pyc40770644editdlrm
operator.cpython-313.pyc173800644editdlrm
optparse.cpython-313.pyc675940644editdlrm
os.cpython-313.pyc458640644editdlrm
pdb.cpython-313.pyc1061180644editdlrm
pickle.cpython-313.pyc784190644editdlrm
pickletools.cpython-313.pyc804420644editdlrm
pkgutil.cpython-313.pyc199740644editdlrm
platform.cpython-313.pyc446900644editdlrm
plistlib.cpython-313.pyc431130644editdlrm
poplib.cpython-313.pyc184400644editdlrm
posixpath.cpython-313.pyc181150644editdlrm
pprint.cpython-313.pyc297130644editdlrm
profile.cpython-313.pyc225780644editdlrm
pstats.cpython-313.pyc378720644editdlrm
pty.cpython-313.pyc74200644editdlrm
pyclbr.cpython-313.pyc151590644editdlrm
pydoc.cpython-313.pyc1397200644editdlrm
py_compile.cpython-313.pyc100840644editdlrm
queue.cpython-313.pyc173480644editdlrm
quopri.cpython-313.pyc95750644editdlrm
random.cpython-313.pyc352710644editdlrm
reprlib.cpython-313.pyc111750644editdlrm
rlcompleter.cpython-313.pyc85870644editdlrm
runpy.cpython-313.pyc144060644editdlrm
sched.cpython-313.pyc76120644editdlrm
secrets.cpython-313.pyc25190644editdlrm
selectors.cpython-313.pyc263700644editdlrm
shelve.cpython-313.pyc133060644editdlrm
shlex.cpython-313.pyc148670644editdlrm
shutil.cpython-313.pyc674670644editdlrm
signal.cpython-313.pyc45590644editdlrm
site.cpython-313.pyc316620644editdlrm
smtplib.cpython-313.pyc473750644editdlrm
socket.cpython-313.pyc422340644editdlrm
socketserver.cpython-313.pyc346670644editdlrm
sre_compile.cpython-313.pyc6420644editdlrm
sre_constants.cpython-313.pyc6450644editdlrm
sre_parse.cpython-313.pyc6380644editdlrm
ssl.cpython-313.pyc652190644editdlrm
stat.cpython-313.pyc55380644editdlrm
statistics.cpython-313.pyc711130644editdlrm
string.cpython-313.pyc116660644editdlrm
stringprep.cpython-313.pyc252750644editdlrm
struct.cpython-313.pyc3400644editdlrm
subprocess.cpython-313.pyc819690644editdlrm
symtable.cpython-313.pyc232110644editdlrm
tabnanny.cpython-313.pyc124320644editdlrm
tarfile.cpython-313.pyc1258450644editdlrm
tempfile.cpython-313.pyc410080644editdlrm
textwrap.cpython-313.pyc179490644editdlrm
this.cpython-313.pyc14270644editdlrm
threading.cpython-313.pyc633120644editdlrm
timeit.cpython-313.pyc146530644editdlrm
token.cpython-313.pyc35880644editdlrm
tokenize.cpython-313.pyc254490644editdlrm
trace.cpython-313.pyc339780644editdlrm
traceback.cpython-313.pyc721390644editdlrm
tracemalloc.cpython-313.pyc274280644editdlrm
tty.cpython-313.pyc26790644editdlrm
turtle.cpython-313.pyc1751510644editdlrm
types.cpython-313.pyc155600644editdlrm
typing.cpython-313.pyc1545970644editdlrm
uuid.cpython-313.pyc323970644editdlrm
warnings.cpython-313.pyc295530644editdlrm
wave.cpython-313.pyc332520644editdlrm
weakref.cpython-313.pyc318180644editdlrm
webbrowser.cpython-313.pyc269010644editdlrm
zipapp.cpython-313.pyc104090644editdlrm
zipimport.cpython-313.pyc265220644editdlrm
_aix_support.cpython-313.pyc47320644editdlrm
_android_support.cpython-313.pyc76370644editdlrm
_apple_support.cpython-313.pyc34970644editdlrm
_collections_abc.cpython-313.pyc467080644editdlrm
_colorize.cpython-313.pyc40260644editdlrm
_compat_pickle.cpython-313.pyc72070644editdlrm
_compression.cpython-313.pyc78200644editdlrm
_ios_support.cpython-313.pyc27310644editdlrm
_markupbase.cpython-313.pyc124480644editdlrm
_opcode_metadata.cpython-313.pyc106930644editdlrm
_osx_support.cpython-313.pyc181420644editdlrm
_pydatetime.cpython-313.pyc945900644editdlrm
_pydecimal.cpython-313.pyc2170580644editdlrm
_pyio.cpython-313.pyc1117930644editdlrm
_pylong.cpython-313.pyc111730644editdlrm
_py_abc.cpython-313.pyc72070644editdlrm
_sitebuiltins.cpython-313.pyc49170644editdlrm
_strptime.cpython-313.pyc345000644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-313.pyc585830644editdlrm
_threading_local.cpython-313.pyc55380644editdlrm
_weakrefset.cpython-313.pyc120640644editdlrm
__future__.cpython-313.pyc47370644editdlrm
__hello__.cpython-313.pyc9810644editdlrm
Edit: /opt/imh/python3.13/lib/python3.13/__pycache__/platform.cpython-313.pyc (44690B)
e ~SrSrSrSSKrSSKrSSKrSSKrSSKrSSKrSSK q SSSSSSS S S S S . r S r SLSjr SMSjrSNSjrSr/SQr/SQrSrSrSrSOSjrSrSPSjr\R2"S/SQ5rSQSjrSrSRSjr\R2"S S!5rSSS"jrS#r S$r!SMS%jr"S&r#SMS'jr$S(S)S*S.r%\RLS S 4S+jr'S,r("S-S.5r)S/r*"S0S1\R2"S2S355r+Sq,S4r-S5r.S6r/S7r0S8r1S9r2S:r30r4STS;jr5S<r6S=r7S>r8S?r9S@r:SAr;SBr<0r=SUSCjr>SDr?Sq@SErASFrB\CSG:XalSH\R;=(d SI\R;rESJ\R;=(a SK\R;rF\G"\>"\F\E55 \R"S5 gg!\ a Sq GNf=f)Va&This module tries to retrieve as much platform-identifying data as possible. It makes this information available via function APIs. If called from the command line, it prints the platform information concatenated as single string to stdout. The output format is usable as part of a filename. a Copyright (c) 1999-2000, Marc-Andre Lemburg; mailto:mal@lemburg.com Copyright (c) 2000-2010, eGenix.com Software GmbH; mailto:info@egenix.com Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee or royalty is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation or portions thereof, including modifications, that you make. EGENIX.COM SOFTWARE GMBH DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE ! z1.0.8N (2) devalphaabetabcRCrcplpc[R"S5n/nURU5H,nUS;dM [US5nSnURXC45 M. U$![a [ R US5nN:f=f)Nz([0-9]+|[._+-])z._+-rdr)recompilesplitint ValueError _ver_stagesgetextend)version component_reresultvts ./opt/imh/python3.13/lib/python3.13/platform.py_comparable_versionr#s::01L F    ( F? *2J MM1& !) M *OOAq) *sA A?>A?cU(d[[R"S5nURSS9n[U5S:Xa [ U5$[RnU(dX4$[R"S[R5n[n[RRU5n[!US5nUR#U5n Sn U [U 5:GakSU ;dS U ;aUR%X5n OS n U (aU R'5[U 5:XaBUR#U5n U (a"U [)U [U 5S - 5S U -n Sn MU (dOU R+5V s/sHn U bU R-S 5OU PM sn upnnnnU(a U(dS nOwU(a US:waSnUnOeU"U5U"U5:aUnOPU(aIUS:waCS nU(aU(aU"U5U"U5:aUnU(aU[U5*S U:waUU-nU R'5n U [U 5:aGMkS S S 5 X4$![ [ [4a GN"f=fs sn f!,(df  X4$=f)aTries to determine the libc version that the file executable (which defaults to the Python interpreter) is linked against. Returns a tuple of strings (lib,version) which default to the given parameters in case the lookup fails. Note that the function has intimate knowledge of how different libc versions add symbols to the executable and thus is probably only usable for executables compiled using gcc. The file is read and scanned in chunks of chunksize bytes. CS_GNU_LIBC_VERSION)maxsplitsC(__libc_init)|(GLIBC_([0-9.]+))|(libc(_\w+)?\.so(?:\.(\d[0-9.]*))?)rbrslibcsGLIBCNilatin1libcglibc)osconfstrrlentupleAttributeErrorrOSErrorsys executablerrASCIIr#pathrealpathopenreadsearchendmaxgroupsdecode)r5libr chunksizeverparts libc_searchVfbinaryposmchunkslibcinitr- glibcversionsothreads soversions r"libc_verrQs^  **23CIIqI)E5zQU|# ^^ < **BDF88 MK A!!*-J j$ 1 "CK& H$6&&v33v;.y)#CS[4-?$@$ABUJFCE%#A'(m":#E% AH\2w '>!C*G|_qz1*G'> C 'Qy\AgJ5N"+7CL=>#:g#E")G"3%%'C?CK F <q G4   JE%! F <s1>I9Br]) systemreleasersupported_platformsrkcmdinfowhy ver_outputrIs r" _syscmd_verrx s ||..''6 **31;1C1C2<2D2D044<15 +7D 7''-.J ::_wmi_query..Qs1Dq++c""Dsrr)c3.># UH nTUv M g7fN)rk dict_datas r"rrSs '$QIaL$s)_wmir3 exec_queryformatrYr)tablekeysdata split_datarrs @r" _wmi_queryrAs 4o&&%    E'299 HHTN    5; 2D1J%/0Z1qtZ0I '$ '' 'o&&'1sAB2B.B+) )rr'rpost11))rriU11)r10)rrTrz8.1)rr)r8)rr'r7)rrrVista))r)iXP64)rr)rXPMedia))rr'rXP)rrr2000) )rpost2025Server))rrie 2025Server))rri|O 2022Server))rricE 2019Server)r 2016Server)r 2012ServerR2)r 2012Server)r 2008ServerR2)r 2008Server)r 2003Server)r 2000Serverc[5S;$)N)IoTUAP NanoServerWindowsCoreHeadless IoTEdgeOS) win32_editionrr" win32_is_iotrrs ?Z ZZrcSSKnSnURURU5nURUS5SsSSS5 $!,(df  g=f![a gf=f![ a gf=f)Nr,SOFTWARE\Microsoft\Windows NT\CurrentVersion EditionId)winreg OpenKeyExHKEY_LOCAL_MACHINE QueryValueExr3 ImportError)rcvkeykeys r"rrus  CE!!&";";UCs**3 A%AA A AAA A"!A"% A21A2cj[SSSSSS5upp$n[U5S:HnU(aUS:wa S US U3nOS U3nXX&4$![a Of=fS S KJn O![ a XUS 4s$f=fU"5n[ USS5S:Hn[5Sn[[URS 55upn O=![a0 UR=(d USSupn SRXU 5nOf=fUSSX4:Xa>SRUR5nO!![a USSS:XaS USS-nOf=fS SKn Sn U R!U R"U 5nU R%US5S nSSS5 O1!,(df  O#=f![a Of=f![ a Of=fXX&4$)Nr|Version ProductType BuildTypeServicePackMajorVersionServicePackMinorVersionr'0SPrSr)getwindowsversionT product_typer)rTz {0}.{1}.{2}zSP{} z Service Pack r CurrentType)rrr3r4rrgetattrrxrWrrplatform_versionrservice_pack_majorr2rrrr)rcsdptyperspmajorspminor is_clientrwinvermajorminorrZrrrs r" _win32_verrs F!F!F7F F FF FF! F.-F.c^Sn[XU5upp4U(aQ[[[UR S555mU(a[ O[ n[U4SjU5U5nXX#4$)NFrSc3<># UHupUT::dM Uv M g7frr)rr r intversions r"rwin32_ver..sBhda!z/hs  )rr1rWrr_WIN32_CLIENT_RELEASES_WIN32_SERVER_RELEASESnext)rrrrrrreleasesrs @r" win32_verrs^I%/e%D"G%3sGMM#$678 -6)>"   b$1 ]]1  !"GKhhj  G,,  ((  sBB BB B#c([5nUbU$XU4$)aGet macOS version information and return it as tuple (release, versioninfo, machine) with versioninfo being a tuple (version, dev_stage, non_release_version). Entries which cannot be determined are set to the parameter values which default to ''. All tuple entries are strings. )r)rrrrrus r"mac_verrs# >D    ((rIOSVersionInfo)rqrrmodel is_simulatorc[RS:XaSSKnUR5nUb[ U6$[ XX#5$)zGet iOS version information, and return it as a namedtuple: (system, release, model, is_simulator). If values can't be determined, they are set to values provided as parameters. iosrN)r4rj _ios_supportget_platform_iosr)rqrrrrrrs r"ios_verrs? ||u..0  !6* * &5 ??rcdSSKJn URU5nUcU$U$![a Us$f=f)zEThis private helper is deprecated in 3.13 and will be removed in 3.15r)System) java.langr getPropertyr2)namedefaultrvalues r" _java_getpropr s= ""4( =N s  //cHSSKnURSSS9 SSKn[ SU5n[ SU5nUupgn[ SU5n[ S U5n[ S U5nXgU4nUupn [ S U 5n [ S U 5n [ S U 5n XU 4nXX#4$![a XX#4s$f=f)a0Version interface for Jython. Returns a tuple (release, vendor, vminfo, osinfo) with vminfo being a tuple (vm_name, vm_release, vm_vendor) and osinfo being a tuple (os_name, os_version, os_arch). Values which cannot be determined are set to the defaults given as parameters (which all default to ''). rNjava_ver)rT)removez java.vendorz java.versionz java.vm.namezjava.vm.vendorzjava.vm.versionz java.os.archz java.os.namezjava.os.version)warnings _deprecatedrrr) rrvendorvminfoosinfor javavm_name vm_release vm_vendoros_name os_versionos_archs r"rrs G4/=& 1FNG4G%+"GNG4G. :I0*=J ) +F#) GNG4GNG4G0*=J ' )F F **! /../sBB! B! AndroidVerz7release api_level manufacturer model device is_emulatorcD^ ^ [RS:XanSSKJnJnJm [ U"S5S5m Xw4T lU U 4SjnU"SU5n[U"SU55nU"S U5nU"S U5nU"S U5nU"S S 5S:Hn[XX#XE5$![a Nf=f)Nandroidr)CDLLc_char_pcreate_string_bufferzlibc.so__system_property_getc>SnT"U5nT"URS5U5nUS:XaU$URRSS5$)N\zUTF-8rbackslashreplace)encoderr?)rrPROP_VALUE_MAXbufferlengthrsystem_property_gets r"getpropandroid_ver..getpropMsM!#-n=,T[[-A6JQ;#N!<<..w8JKKrzro.build.version.releasezro.build.version.sdkzro.product.manufacturerzro.product.modelzro.product.devicezro.kernel.qemur1) r4rjctypesrrrrargtypesrrr) rr api_level manufacturerrdevice is_emulatorrrr&rr%s @@r" android_verr/?s ||y  @ C C#*$y/;R"S ,4+?  ( L8'BGG$:IFGI"#.s=+rartvosr`r_watchosrNC)LC_ALLfilez-b)reenvzlatin-1) r4rjrkrrWdictr.environrlrmr3rnr?)targetrrkr^outputs r" _syscmd_filercs ||JJf %F rzz# &C((&$)?0:0B0B-0)2  == ###  Z22 3s#A8B 8 BB B%$B%)r$ WindowsPE)r$r6)r$MSDOScU(d&SSKnURS5n[US-5S-nU(a [US5nOSnU(dZU[R :XaF[R [;a+[[R upgU(aUnU(aUnX4$SU;a SU;aX4$S U;aS nOS U;aS nS U;aS nX4$SU;aSnX4$SU;aSU;aSnX4$SnX4$SU;aSnX4$SU;aSnX4$X4$)a'Queries the given executable (defaults to the Python interpreter binary) for various architecture information. Returns a tuple (bits, linkage) which contains information about the bit architecture and the linkage format used for the executable. Both values are returned as strings. Values that cannot be determined are returned as given by the parameter presets. If bits is given as '', the sizeof(pointer) (or sizeof(long) on Python version < 1.5.2) is used as indicator for the supported pointer size. The function relies on the system's "file" command to do the actual work. This is available on most if not all Unix platforms. On some non-Unix platforms where the "file" command does not exist and the executable is set to the Python interpreter binary defaults from _default_architecture are used. rNPbitr$r5z shared objectz32-bit32bitz64-bit64bitELFzMach-OPEr6rdCOFFzMS-DOSre)structcalcsizerXrcr4r5rj_default_architecture)r5bitslinkagerosizefileoutr r[s r" architecturervs[. s#4!8}u$z2. S^^# <<0 0(6DA}7"g'E}7 W  " =! W  =   !G =G = 7  = W  = =rc.[SS5tp/SQ[U5nU(aU$[ R RSS5=(d [ R RSS5$![[4a NYf=f![a Nif=f)Nr} Architecture) x86MIPSAlpharNARMia64NNAMD64NNARM64PROCESSOR_ARCHITEW6432r$PROCESSOR_ARCHITECTURE)rrr IndexErrorr3r.r`r)archr>s r"_get_machine_win32rEs~6  $iD  /4 5 /4 J'       s" BA11BB BBc<\rSrSr\S5rSrSrSrSr Sr g) _Processoriacr[US[R3UR5nU"5=(d S$)Nget_r$)rr4rjfrom_subprocess)clsfuncs r"r_Processor.getbs-sd3<<.133F3FGv|rc[SSS5upUSU3$![a+ [RR S[ 55s$f=f)Nr} ManufacturerCaption, PROCESSOR_IDENTIFIER)rr3r.r`rr)r,captions r" get_win32_Processor.get_win32gsX 0$.uni$P !LYb/ / P::>>"8:L:NO O Ps2A  A chSSKnURSS5upUS:aS$S$![a gf=f)NrzSYI$_CPUr{VAX)vms_libgetsyir)rcsid cpu_numbers r" get_OpenVMS_Processor.get_OpenVMSosE ;  '~~j!< D(C/7 :U :    s $ 11c[RRRS5(a[R "5R $g)N simulatorarm64)r4implementation _multiarchendswithr.rrrrr"get_ios_Processor.get_ios{s4    ( ( 1 1+ > >88:%% %rcSSKnURSS/URSSS9R 5$![a gf=f![ UR 4a gf=f)z Fall back to `uname -p` rNrz-pTutf8)rerfrg)rkrrlrmror3rn)rks r"r_Processor.from_subprocesssx   **$!)) + eg    667   s3+A AAAArN) __name__ __module__ __qualname____firstlineno__ classmethodrrrrr__static_attributes__rrr"rras(0; rrcUS:XaS$U$)NrFr$r)vals r"_unknown_as_blankrs !2*s*rcv^\rSrSrSrSr\RS5rU4Sjr \ S5r Sr Sr S rS rU=r$) uname_resultiz A uname_result that's largely compatible with a simple namedtuple except that 'processor' is resolved late and cached to avoid calling "uname" except when needed. )rqnoderrrr processorc<[[R55$r)rrrselfs r"runame_result.processors !122rc`>[R"[TU] 5UR45$r) itertoolschainsuper__iter__r)r __class__s r"runame_result.__iter__s) G   ^^   rc[UR5S- nUR"U/UQ76n[U5US-:waSUS[U53n[U5eU$)Nr'z Expected z arguments, got )r0_fields__new__ TypeError)riterable num_fieldsrmsgs r"_makeuname_result._makes`%) S,8, v;*q. (j\)9#f+GCC.  rc[U5U$r)r1)rrs r" __getitem__uname_result.__getitem__sT{3rc<[[[U555$r)r0r1iterrs r"__len__uname_result.__len__s5d$%%rcV[[U5S[UR5S- 4$)Nr')rr1r0rrs r" __reduce__uname_result.__reduce__s'U4[)?#dll*;a*?@@@rr)rrrr__doc__r functoolscached_propertyrrrrrrrr __classcell__)rs@r"rrsW OG33  &AArruname_result_basez#system node release version machinecf[b[$[R"5=upp#pE[U5(dUS:Xa [5up#pgU=(d [5nU(aU(d3[U5upnUS:XaSnOUS:XaUS:XaSnSUSS :XaS nOSnUS ;aU(d US:XaS nOS nSnO2USSS:Xa)[5up(pSnSRU 5nU(dUnUS:XaU(aUS:XaUnSnUS:Xa US:XaSnS n[R S:XaSn[5Rn[R S:Xa[5up n XX#U4n [![#[$U 56q[$![a% [R n[ 5nS=n=p4SnGNf=f)aAFairly portable uname interface. Returns a tuple of strings (system, node, release, version, machine, processor) identifying the underlying platform. Note that unlike the os.uname function this also returns possible processor information as an additional tuple entry. Entries which cannot be determined are set to ''. Nr$rr_zMicrosoft Windowsr6 Microsoftz6.0rTrr5rj16bitrrJavarOpenVMSrrAndroidr) _uname_cacher.rr2r4rjrOanyrrrxrrYr/rrrrrWr) rqrrrrrinfosrrr rrr>valss r"rrs:<((*D/g u:: W +4; (Gc5!3!5GG'26': $FW,,";&7i+? #GBQK'%G G ' 'W$%G%GF BQZ6 !.6j +GVFii'G 'S.GGI!5 ||y -'' ||u ' A 7 2D%6!=>L U w&(((' sF+F0/F0c*[5R$)zReturns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'. An empty string is returned if the value cannot be determined. )rrqrrr"rqrq*s 7>>rc*[5R$)zReturns the computer's network name (which may not be fully qualified) An empty string is returned if the value cannot be determined. )rrrrr"rr3s 7<<rc*[5R$)ztReturns the system's release, e.g. '2.2.0' or 'NT' An empty string is returned if the value cannot be determined. )rrrrrr"rrrr= 7??rc*[5R$)zzReturns the system's release version, e.g. '#3 on degas' An empty string is returned if the value cannot be determined. )rrrrr"rrFrrc*[5R$)zgReturns the machine type, e.g. 'i386' An empty string is returned if the value cannot be determined. )rrrrr"rrOrrc*[5R$)zReturns the (true) processor name, e.g. 'amdk6' An empty string is returned if the value cannot be determined. Note that many platforms do not provide this information or simply return the same value as for machine(), e.g. NetBSD does this. )rrrrr"rrXs 7  rcUc[Rn[RUS5nUbU$[RR S5(a|[ R"S[ R5nSnURU5nUc[S[U5-5eUR5upVpxn UcSn[Rn OSU;aY[ R"S5n SnU RU5nUc[S [U5-5eUR5upVpxSn O{[ R"S [ R5n U RU5nUc[S [U5-5eUR5upVpxn S nUcSnOU(aUS -U-n[5(a[RupnO-[5(a[RupnOSn SnUR!S5n[#U5S:Xa"UR%S5 SR'U5nX5XXgU 4nU[U'U$)avReturns a parsed version of Python's sys.version as tuple (name, version, branch, revision, buildno, builddate, compiler) referring to the Python implementation name, version, branch, revision, build number, build date/time as string and the compiler identification string. Note that unlike the Python sys.version, the returned value for the Python version will always include the patchlevel (it defaults to '.0'). The function returns empty strings for tuple entries that cannot be determined. sys_version may be given to parse an alternative version string, e.g. if the version was read from a different Python interpreter. NrzL([\w.+]+)\s*\(#?([^,]+)(?:,\s*([\w ]*)(?:,\s*([\w :]*))?)?\)\s*\[([^\]]+)\]?Jythonz&failed to parse Jython sys.version: %sr$PyPyzE([\w.+]+)\s*\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*\[PyPy [^\]]+\]?z$failed to parse PyPy sys.version: %szu([\w.+]+)\s*(?:experimental free-threading build\s+)?\(#?([^,]+)(?:,\s*([\w ]*)(?:,\s*([\w :]*))?)?\)\s*\[([^\]]+)\]?z'failed to parse CPython sys.version: %sCPythonr=_git _mercurialrSr)r)r4r_sys_version_cacherrj startswithrrr6rprreprr>hasattrrrrr0rUrY) sys_versionrjython_sys_version_parserrrprbuildno builddate buildtimer>compilerpypy_sys_version_parsercpython_sys_version_parserbranchrevisionr[s r" _sys_versionrhsL*kk  # #K 6F   ||v&&$&JJ !hh %(! )// < =8[!"# #5:LLN1)  I<< ; "$** #! '--k: =C!+./0 016.)&(ZZ  !hh &("+00= =9[!"# #lln 9)  I !C)3IsF!hh8 l # #!nn8  cA 1v{  ((1+Vw8 LF&,{# Mrc[5S$)zReturns a string identifying the Python implementation. Currently, the following implementations are identified: 'CPython' (C implementation of Python), 'Jython' (Java implementation of Python), 'PyPy' (Python implementation of Python). rrrrr"python_implementationrs >! rc[5S$)zReturns the Python version as string 'major.minor.patchlevel' Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to 0). r'rrrr"python_versionrs >! rcL[[5SRS55$)zReturns the Python version as tuple (major, minor, patchlevel) of strings. Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to 0). r'rS)r1rrrrr"python_version_tuplers! "((- ..rc[5S$)zReturns a string identifying the Python implementation branch. For CPython this is the SCM branch from which the Python binary was built. If not available, an empty string is returned. r)rrrr" python_branchrs >! rc[5S$)zReturns a string identifying the Python implementation revision. For CPython this is the SCM revision from which the Python binary was built. If not available, an empty string is returned. rTrrrr"python_revisionr s >! rc[5SS$)z[Returns a tuple (buildno, builddate) stating the Python build number and date as strings. rrrrrr" python_buildr  s >!A rc[5S$)zFReturns a string identifying the compiler used for compiling Python. rrrrr"python_compilerr s >! rc [RX4S5nUbU$[5up4pVpxXx:XaSnU(a[X5U5up5nUS:Xa;[R S:Xa[ 5up5 n O[5Sn U (aSnU nUS:Xa.[U5uppU(a [X55nO[X5Xm5nOUS:Xa[5unn[X5XxS UU-5nOUS :Xa?[5unnnunnnU(dU(d [X5U5nOO[X5US UUU5nO>U(a [X55nO+[[R5unn[X5UUUU5nU[X4'U$) anReturns a single string identifying the underlying platform with as much useful information as possible (but no more :). The output is intended to be human readable rather than machine parseable. It may look different on different platforms and this is intended. If "aliased" is true, the function will use aliases for various platforms that report system names which differ from their common names, e.g. SunOS will be reported as Solaris. The system_alias() function is used to implement this. Setting terse to true causes the function to return only the absolute minimum information needed to identify the platform. Nr$DarwinrrmacOSr6Linuxwithron)_platform_cacherrr7r4rjrrrrKrQrrvr5)aliasedterserrqrrrrrrr> macos_releaserelversrrrjlibcname libcversionrr rrrrrrrss r"rjrj s~& '!14 8F  :?6F'G #/#I   <<5 $+I !FQ#IaLM '  )' 23  1H '?H 7  ( +Vg#%k13 6 7?z41f4w G  ':H '!%!(*g?H  1H(8MD' '!*D';H)1OW$% Or)z/etc/os-releasez/usr/lib/os-releasec SSSS.n[R"S5n[R"S5nUHKnURU5nUcMURSUR S55XR S5'MM U$) Nrlinux)NAMEID PRETTY_NAMEzA^(?P[a-zA-Z0-9_]+)=(?P["']?)(?P.*)(?P=quote)$z\\([\\\$\"\'`])z\1rr)rrrpsubgroup)linesruos_release_lineos_release_unescapelinemos r"_parse_os_releaser(us DjjMO**%78  " "4 ( >%8%<%<rxx(&D&! " Krch[ccSn[H5n[USS9n[U5qSSS5 [R5$ [ USSR [535e[R5$!,(df  N[=f![anUR nSnAMSnAff=f)zKReturn operation system identification from freedesktop.org os-release Nzutf-8)rgzUnable to read files r)_os_release_cache_os_release_candidatesr9r(r3errnorYcopy)r, candidaterFes r"freedesktop_os_releaser0s  /I )g6!(9!(<%7  ! ! ##0' 2H(I'JK   ! ! ##76  s- B A?B? B B B1 B,,B1__main__rz--terse nonaliasedz --nonaliased)Nr$r$i@)r$)r$r$r$r^)r$r$r$r$)r$rr$)r$r$r$F)r$r$rr)r$rr$r$r$Fr)FF)Ir __copyright__ __version__ collectionsr.rr4rrrrrr#rQr]rxrrrrrrrrr namedtuplerrrrrr/r7rKrOrWrcrqr5rvrrrrrrrqrrrrrrrrrrrrr r r rrjr+r*r(r0rargvrrprintexitrrr"r:sst *    b R B C    N` 202#<4$n(*  [ 9*v (),)*''2 @ !+H # #KM LN!"FN&$T@   $N    NNRK\8//d+ )A-/)AX ^D fP  /  KbD6$2 z  9I$9E388+NNchh4NG (7E "#HHQK [) DsF00F<;F<