/usr/lib/python3.10/__pycache__
NameSizeModeActions
abc.cpython-310.pyc67510644editdlrm
aifc.cpython-310.pyc246850644editdlrm
antigravity.cpython-310.pyc8220644editdlrm
argparse.cpython-310.pyc635390644editdlrm
ast.cpython-310.pyc557390644editdlrm
asynchat.cpython-310.pyc70250644editdlrm
asyncore.cpython-310.pyc160020644editdlrm
base64.cpython-310.pyc171620644editdlrm
bdb.cpython-310.pyc258320644editdlrm
binhex.cpython-310.pyc128700644editdlrm
bisect.cpython-310.pyc25880644editdlrm
bz2.cpython-310.pyc108700644editdlrm
calendar.cpython-310.pyc263030644editdlrm
cgi.cpython-310.pyc267230644editdlrm
cgitb.cpython-310.pyc99980644editdlrm
chunk.cpython-310.pyc48600644editdlrm
cmd.cpython-310.pyc127070644editdlrm
code.cpython-310.pyc99570644editdlrm
codecs.cpython-310.pyc332190644editdlrm
codeop.cpython-310.pyc55950644editdlrm
colorsys.cpython-310.pyc32650644editdlrm
compileall.cpython-310.pyc127330644editdlrm
configparser.cpython-310.pyc454580644editdlrm
contextlib.cpython-310.pyc208950644editdlrm
contextvars.cpython-310.pyc2460644editdlrm
copy.cpython-310.pyc69960644editdlrm
copyreg.cpython-310.pyc46830644editdlrm
cProfile.cpython-310.pyc51130644editdlrm
crypt.cpython-310.pyc35500644editdlrm
csv.cpython-310.pyc117980644editdlrm
dataclasses.cpython-310.pyc265780644editdlrm
datetime.cpython-310.pyc565330644editdlrm
decimal.cpython-310.pyc3620644editdlrm
difflib.cpython-310.pyc589050644editdlrm
dis.cpython-310.pyc156560644editdlrm
doctest.cpython-310.pyc761750644editdlrm
enum.cpython-310.pyc260630644editdlrm
filecmp.cpython-310.pyc87490644editdlrm
fileinput.cpython-310.pyc140720644editdlrm
fnmatch.cpython-310.pyc42440644editdlrm
fractions.cpython-310.pyc186000644editdlrm
ftplib.cpython-310.pyc290340644editdlrm
functools.cpython-310.pyc283350644editdlrm
genericpath.cpython-310.pyc39070644editdlrm
getopt.cpython-310.pyc63390644editdlrm
getpass.cpython-310.pyc42100644editdlrm
gettext.cpython-310.pyc182210644editdlrm
glob.cpython-310.pyc58520644editdlrm
graphlib.cpython-310.pyc76160644editdlrm
gzip.cpython-310.pyc185460644editdlrm
hashlib.cpython-310.pyc68450644editdlrm
heapq.cpython-310.pyc138650644editdlrm
hmac.cpython-310.pyc69730644editdlrm
imaplib.cpython-310.pyc423120644editdlrm
imghdr.cpython-310.pyc39050644editdlrm
imp.cpython-310.pyc97860644editdlrm
inspect.cpython-310.pyc851530644editdlrm
io.cpython-310.pyc36630644editdlrm
ipaddress.cpython-310.pyc626700644editdlrm
keyword.cpython-310.pyc9270644editdlrm
linecache.cpython-310.pyc41420644editdlrm
locale.cpython-310.pyc461540644editdlrm
lzma.cpython-310.pyc121000644editdlrm
mailbox.cpython-310.pyc600910644editdlrm
mailcap.cpython-310.pyc73200644editdlrm
mimetypes.cpython-310.pyc176190644editdlrm
modulefinder.cpython-310.pyc161660644editdlrm
netrc.cpython-310.pyc39330644editdlrm
nntplib.cpython-310.pyc316230644editdlrm
ntpath.cpython-310.pyc147040644editdlrm
nturl2path.cpython-310.pyc17470644editdlrm
numbers.cpython-310.pyc118660644editdlrm
opcode.cpython-310.pyc54470644editdlrm
operator.cpython-310.pyc135080644editdlrm
optparse.cpython-310.pyc477540644editdlrm
os.cpython-310.pyc315990644editdlrm
pathlib.cpython-310.pyc420520644editdlrm
pdb.cpython-310.pyc474400644editdlrm
pickle.cpython-310.pyc468820644editdlrm
pickletools.cpython-310.pyc677600644editdlrm
pipes.cpython-310.pyc77690644editdlrm
pkgutil.cpython-310.pyc183610644editdlrm
platform.cpython-310.pyc274290644editdlrm
plistlib.cpython-310.pyc237650644editdlrm
poplib.cpython-310.pyc135730644editdlrm
posixpath.cpython-310.pyc105600644editdlrm
pprint.cpython-310.pyc178750644editdlrm
profile.cpython-310.pyc143910644editdlrm
pstats.cpython-310.pyc236210644editdlrm
pty.cpython-310.pyc41430644editdlrm
pyclbr.cpython-310.pyc97750644editdlrm
pydoc.cpython-310.pyc856450644editdlrm
py_compile.cpython-310.pyc73390644editdlrm
queue.cpython-310.pyc107920644editdlrm
quopri.cpython-310.pyc57940644editdlrm
random.cpython-310.pyc227480644editdlrm
re.cpython-310.pyc142270644editdlrm
reprlib.cpython-310.pyc52500644editdlrm
rlcompleter.cpython-310.pyc59540644editdlrm
runpy.cpython-310.pyc94110644editdlrm
sched.cpython-310.pyc61150644editdlrm
secrets.cpython-310.pyc21750644editdlrm
selectors.cpython-310.pyc171050644editdlrm
shelve.cpython-310.pyc94920644editdlrm
shlex.cpython-310.pyc77820644editdlrm
shutil.cpython-310.pyc385360644editdlrm
signal.cpython-310.pyc29350644editdlrm
site.cpython-310.pyc179220644editdlrm
sitecustomize.cpython-310.pyc2250644editdlrm
smtpd.cpython-310.pyc261470644editdlrm
smtplib.cpython-310.pyc357660644editdlrm
sndhdr.cpython-310.pyc69620644editdlrm
socket.cpython-310.pyc289630644editdlrm
socketserver.cpython-310.pyc253470644editdlrm
sre_compile.cpython-310.pyc151940644editdlrm
sre_constants.cpython-310.pyc63570644editdlrm
sre_parse.cpython-310.pyc217550644editdlrm
ssl.cpython-310.pyc452710644editdlrm
stat.cpython-310.pyc42730644editdlrm
statistics.cpython-310.pyc370510644editdlrm
string.cpython-310.pyc71020644editdlrm
stringprep.cpython-310.pyc170750644editdlrm
struct.cpython-310.pyc3070644editdlrm
subprocess.cpython-310.pyc447410644editdlrm
sunau.cpython-310.pyc164820644editdlrm
symtable.cpython-310.pyc128350644editdlrm
sysconfig.cpython-310.pyc181510644editdlrm
tabnanny.cpython-310.pyc69500644editdlrm
tarfile.cpython-310.pyc715780644editdlrm
telnetlib.cpython-310.pyc185060644editdlrm
tempfile.cpython-310.pyc273390644editdlrm
textwrap.cpython-310.pyc138120644editdlrm
this.cpython-310.pyc12640644editdlrm
threading.cpython-310.pyc449690644editdlrm
timeit.cpython-310.pyc117690644editdlrm
token.cpython-310.pyc27380644editdlrm
tokenize.cpython-310.pyc171940644editdlrm
trace.cpython-310.pyc198700644editdlrm
traceback.cpython-310.pyc217120644editdlrm
tracemalloc.cpython-310.pyc175250644editdlrm
tty.cpython-310.pyc10790644editdlrm
turtle.cpython-310.pyc1288570644editdlrm
types.cpython-310.pyc95250644editdlrm
typing.cpython-310.pyc852770644editdlrm
uu.cpython-310.pyc38670644editdlrm
uuid.cpython-310.pyc224980644editdlrm
warnings.cpython-310.pyc136460644editdlrm
wave.cpython-310.pyc175940644editdlrm
weakref.cpython-310.pyc203430644editdlrm
webbrowser.cpython-310.pyc174630644editdlrm
xdrlib.cpython-310.pyc78800644editdlrm
zipapp.cpython-310.pyc60130644editdlrm
zipfile.cpython-310.pyc618450644editdlrm
zipimport.cpython-310.pyc170330644editdlrm
_aix_support.cpython-310.pyc28790644editdlrm
_bootsubprocess.cpython-310.pyc22940644editdlrm
_collections_abc.cpython-310.pyc329250644editdlrm
_compat_pickle.cpython-310.pyc58720644editdlrm
_compression.cpython-310.pyc45120644editdlrm
_distutils_system_mod.cpython-310.pyc54220644editdlrm
_markupbase.cpython-310.pyc75720644editdlrm
_osx_support.cpython-310.pyc115350644editdlrm
_pydecimal.cpython-310.pyc1577360644editdlrm
_pyio.cpython-310.pyc736540644editdlrm
_py_abc.cpython-310.pyc46830644editdlrm
_sitebuiltins.cpython-310.pyc35470644editdlrm
_strptime.cpython-310.pyc159450644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-310.pyc353850644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-310.pyc353790644editdlrm
_threading_local.cpython-310.pyc65390644editdlrm
_weakrefset.cpython-310.pyc76080644editdlrm
__future__.cpython-310.pyc41310644editdlrm
__phello__.foo.cpython-310.pyc1300644editdlrm
Edit: /usr/lib/python3.10/__pycache__/base64.cpython-310.pyc (17162B)
o 9jnQ@sdZddlZddlZddlZgdZeefZddZdQddZ dRd d Z d d Z d dZ e ddZe ddZddZddZdZdZdZdZdZiaiaddZdSddZddZejd d!e_dSd"d#Zejd ed$e_d%d&Zejd'd!e_dTd(d)Zejd'd*d$e_d+d,Z dTd-d.Z!da"da#d/Z$d0Z%dUd1d2Z&ddddd3d4d5Z'ddd6d7d8d9Z(d:Z)da*da+da,dTd;d<Z-d=d>Z.d?Z/e/d@dAZ0dBdCZ1dDdEZ2dFdGZ3dHdIZ4dJdKZ5dLdMZ6dNdOZ7e8dPkre6dSdS)VzDBase16, Base32, Base64 (RFC 3548), Base85 and Ascii85 data encodingsN)encodedecode encodebytes decodebytes b64encode b64decode b32encode b32decode b32hexencode b32hexdecode b16encode b16decode b85encode b85decode a85encode a85decodestandard_b64encodestandard_b64decodeurlsafe_b64encodeurlsafe_b64decodecCslt|trz|dWStytdwt|tr|Szt|WSty5td|j j dw)Nasciiz4string argument should contain only ASCII charactersz>argument should be a bytes-like object or ASCII string, not %r) isinstancestrrUnicodeEncodeError ValueError bytes_types memoryviewtobytes TypeError __class____name__sr#/usr/lib/python3.10/base64.py_bytes_from_decode_data"s"     r%cCsDtj|dd}|dur t|dksJt||td|S|S)a*Encode the bytes-like object s using Base64 and return a bytes object. Optional altchars should be a byte string of length 2 which specifies an alternative alphabet for the '+' and '/' characters. This allows an application to e.g. generate url or filesystem safe Base64 strings. F)newlineN+/)binascii b2a_base64lenrepr translatebytes maketrans)r"altcharsencodedr#r#r$r3s rFcCsft|}|dur!t|}t|dksJt||t|d}|r.td|s.t dt |S)anDecode the Base64 encoded bytes-like object or ASCII string s. Optional altchars must be a bytes-like object or ASCII string of length 2 which specifies the alternative alphabet used instead of the '+' and '/' characters. The result is returned as a bytes object. A binascii.Error is raised if s is incorrectly padded. If validate is False (the default), characters that are neither in the normal base-64 alphabet nor the alternative alphabet are discarded prior to the padding check. If validate is True, these non-alphabet characters in the input result in a binascii.Error. Nr'r(s[A-Za-z0-9+/]*={0,2}zNon-base64 digit found) r%r+r,r-r.r/re fullmatchr)Error a2b_base64)r"r0validater#r#r$rAs  rcCt|S)zrEncode bytes-like object s using the standard Base64 alphabet. The result is returned as a bytes object. )rr!r#r#r$rZsrcCr7)aQDecode bytes encoded with the standard Base64 alphabet. Argument s is a bytes-like object or ASCII string to decode. The result is returned as a bytes object. A binascii.Error is raised if the input is incorrectly padded. Characters that are not in the standard alphabet are discarded prior to the padding check. )rr!r#r#r$rasrr(s-_cCst|tS)zEncode bytes using the URL- and filesystem-safe Base64 alphabet. Argument s is a bytes-like object to encode. The result is returned as a bytes object. The alphabet uses '-' instead of '+' and '_' instead of '/'. )rr-_urlsafe_encode_translationr!r#r#r$rosrcCst|}|t}t|S)aDecode bytes using the URL- and filesystem-safe Base64 alphabet. Argument s is a bytes-like object or ASCII string to decode. The result is returned as a bytes object. A binascii.Error is raised if the input is incorrectly padded. Characters that are not in the URL-safe base-64 alphabet, and are not a plus '+' or slash '/', are discarded prior to the padding check. The alphabet uses '-' instead of '+' and '_' instead of '/'. )r%r-_urlsafe_decode_translationrr!r#r#r$rxs rzK Encode the bytes-like objects using {encoding} and return a bytes object. a Decode the {encoding} encoded bytes-like object or ASCII string s. Optional casefold is a flag specifying whether a lowercase alphabet is acceptable as input. For security purposes, the default is False. {extra_args} The result is returned as a bytes object. A binascii.Error is raised if the input is incorrectly padded or if there are non-alphabet characters present in the input. a RFC 3548 allows for optional mapping of the digit 0 (zero) to the letter O (oh), and for optional mapping of the digit 1 (one) to either the letter I (eye) or letter L (el). The optional argument map01 when not None, specifies which letter the digit 1 should be mapped to (when map01 is not None, the digit 0 is always mapped to the letter O). For security purposes the default is None, so that 0 and 1 are not allowed in the input. s ABCDEFGHIJKLMNOPQRSTUVWXYZ234567s 0123456789ABCDEFGHIJKLMNOPQRSTUVcsR|tvrdd|DfddDt|<dt|ts#t|}t|d}|r3|dd|}t}tj}t|}t dt|dD]+}||||dd}|||d?||d ?d @||d ?d @||d @7}qE|d krd |dd<t |S|dkrd|dd<t |S|dkrd|dd<t |S|dkrd|dd<t |S)NcSg|]}t|fqSr#r..0ir#r#r$ z_b32encode..csg|] }D]}||qqSr#r#r=abb32tabr#r$r?rbigi s======ir's====s====) _b32tab2rrrrr+ bytearrayint from_bytesranger.)alphabetr"leftoverr1rWb32tab2r>cr#rDr$ _b32encodesB         r]c Cs|tvrddt|Dt|<t|}t|drtd|dur=t|}t|dks2Jt||t dd|}|rC| }t|}| d}|t|}t }t|}t d t|dD]1}|||d} d } z| D] } | d >|| } qpWn tytd dw|| d d 7}qa|ds|d vrtd|r|r| d |K} | d d } dd |d} | d| |dd<t|S)NcSsi|]\}}||qSr#r#)r=kvr#r#r$ r@z_b32decode..zIncorrect paddingrMs01OrRrrGzNon-base32 digit foundrI>rrMrOrQ+)_b32rev enumerater%r+r)r4r,r-r.r/upperrstriprUrXKeyErrorto_bytes)rYr"casefoldmap01lpadcharsdecodedb32revr>quantaaccr\lastrZr#r#r$ _b32decodesF         rucC tt|SN)r] _b32alphabetr!r#r#r$r rbase32)encodingcCstt|||Srw)rurx)r"rlrmr#r#r$r sr )r{ extra_argscCrvrw)r]_b32hexalphabetr!r#r#r$r ryr base32hexcCs tt||Srw)rur}r"rlr#r#r$r s r cCst|S)zKEncode the bytes-like object s using Base16 and return a bytes object. )r)hexlifyrhr!r#r#r$r sr cCs4t|}|r |}td|rtdt|S)aDecode the Base16 encoded bytes-like object or ASCII string s. Optional casefold is a flag specifying whether a lowercase alphabet is acceptable as input. For security purposes, the default is False. The result is returned as a bytes object. A binascii.Error is raised if s is incorrectly padded or if there are non-alphabet characters present in the input. s [^0-9A-F]zNon-base16 digit found)r%rhr2searchr)r4 unhexlifyrr#r#r$r s     r s<~s~>c st|ts t|}t| d}|r|d|}tdt|d|}fdd|D}|rQ|sQ|ddkrFdd |d<|dd| |d<d |S) NrQrHz!%dIcsPg|]$}r |s dnr|dkrdn|d|dd|dqS)zi yi^ Ui9r#)r=wordcharschars2foldnuls foldspacesr#r$r?9s   z_85encode..rSrrrG) rrrrr+structStructunpackjoin) rCrrpadrrpaddingwordschunksr#rr$ _85encode/s     r)rwrapcolradobecstdurddtddDaddtDat|tt|d||r$trUt|r+dnd fd dtd tD}|rPt|d dkrP|d d||r[t 7S)aEncode bytes-like object b using Ascii85 and return a bytes object. foldspaces is an optional flag that uses the special short sequence 'y' instead of 4 consecutive spaces (ASCII 0x20) as supported by 'btoa'. This feature is not supported by the "standard" Adobe encoding. wrapcol controls whether the output should have newline (b'\n') characters added to it. If this is non-zero, each output line will be at most this many characters long. pad controls whether the input is padded to a multiple of 4 before encoding. Note that the btoa implementation always pads. adobe controls whether the encoded byte sequence is framed with <~ and ~>, which is used by the Adobe implementation. NcSr:r#r;r<r#r#r$r?\r@za85encode..!vcSg|] }tD]}||qqSr#) _a85charsrAr#r#r$r?]rFTr'rMcsg|] }||qSr#r#r<resultrr#r$r?esrrSr ) _a85chars2rXrr _A85STARTmaxr+appendr_A85END)rCrrrrrr#rr$rGs$   rs )rr ignorecharsc Cszt|}|r$|tstdt|tr|dd}n|dd}tdj }g}|j }g}|j }|j } |dD]k} d| krGdkr|nn3|| t |d kr{d } |D] } d | | d} qWz||| Wn tj ywtd dw| q;| d kr|rtd|dq;|r| dkr|rtd|dq;| |vrq;td| d|} dt |} | r| d| } | S)aDecode the Ascii85 encoded bytes-like object or ASCII string b. foldspaces is a flag that specifies whether the 'y' short sequence should be accepted as shorthand for 4 consecutive spaces (ASCII 0x20). This feature is not supported by the "standard" Adobe encoding. adobe controls whether the input sequence is in Adobe Ascii85 format (i.e. is framed with <~ and ~>). ignorechars should be a byte string containing characters to ignore from the input. This should only contain whitespace characters, and by default contains all whitespace characters in ASCII. The result is returned as a bytes object. z1Ascii85 encoded byte sequences must end with {!r}r'N!IsuuuururGrrzAscii85 overflowzzz inside Ascii85 5-tuplesyzy inside Ascii85 5-tuples zNon-Ascii85 digit found: %crrQ)r%endswithrrformat startswithrrrpackrclearr+errorr)rCrrrpackIrpdecoded_appendcurr curr_append curr_clearxrsrrr#r#r$rps\             rsU0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~cCs2tdurddtDaddtDat|tt|S)zEncode bytes-like object b in base85 format and return a bytes object. If pad is true, the input is padded with b'\0' so its length is a multiple of 4 bytes before encoding. NcSr:r#r;r<r#r#r$r?r@zb85encode..cSrr#) _b85charsrAr#r#r$r?rF) _b85chars2 _b85alphabetrr)rCrr#r#r$rs rc Cs8tdurdgdattD]\}}|t|<q t|}t| d}|d|}g}tdj}tdt|dD]T}|||d}d}z|D] }|dt|}qFWn t yrt|D]\}}t|durpt d||dq]wz | ||Wq7tj yt d |dwd |} |r| d| } | S) zqDecode the base85-encoded bytes-like object or ASCII string b The result is returned as a bytes object. NrG~rrrz#bad base85 character at position %dz+base85 overflow in hunk starting at byte %dr)_b85decrgrr%r+rrrrXrrrrr) rCr>r\routrchunkrsjrr#r#r$rsP       rLrQrOcCsb |t}|s dSt|tkr&|tt|}|sn ||7}t|tkst|}||q)z1Encode a file; input and output are binary files.TN)read MAXBINSIZEr+r)r*write)inputoutputr"nsliner#r#r$rs    rcCs( |}|s dSt|}||q)z1Decode a file; input and output are binary files.TN)readliner)r5r)rrrr"r#r#r$r s  rc Cszt|}Wnty}z d|jj}t||d}~ww|jdvr0d|j|jjf}t||jdkrBd|j|jjf}t|dS)Nz"expected bytes-like object, not %s)r\rCBz-expected single byte elements, not %r from %srMz(expected 1-D data, not %d-D data from %s)rrrr rndim)r"merrmsgr#r#r$_input_type_checks$       rcCsLt|g}tdt|tD]}|||t}|t|qd|S)zVEncode a bytestring into a bytes object containing multiple lines of base-64 data.rr)rrXr+rrr)r*r)r"piecesr>rr#r#r$r$s  rcCst|t|S)z8Decode a bytestring of base-64 data into a bytes object.)rr)r5r!r#r#r$r/s rc Cs4ddl}ddl}z||jddd\}}Wn)|jy@}z|j|_t|td|jd|dWYd}~nd}~wwt}|D] \}}|dkrOt}|dkrUt }|d kr[t }|d kret dSqE|r|dd krt |dd }|||jj WddS1swYdS||j j |jj dS) zSmall main programrNrMdeutzusage: %s [-d|-e|-u|-t] [file|-] -d, -u: decode -e: encode (default) -t: encode and decode string 'Aladdin:open sesame'r'z-ez-dz-uz-t-rb)sysgetoptargvrstderrstdoutprintexitrrtestopenbufferstdin) rroptsargsrfuncorBfr#r#r$main6s.    "rcCsHd}tt|t|}tt|t|}tt|||ks"JdS)NsAladdin:open sesame)rr,rr)s0s1s2r#r#r$rPs   r__main__rw)NF)FN)F)FFF)9__doc__r2rr)__all__r.rUrr%rrrrr/r8r9rr_B32_ENCODE_DOCSTRING_B32_DECODE_DOCSTRING_B32_DECODE_MAP01_DOCSTRINGrxr}rTrfr]rurrr r r r r rrrrrrrrrrrrr MAXLINESIZErrrrrrrrr r#r#r#r$s~       $/    )H -