/snap/core20/2866/usr/lib/python3.8/__pycache__
NameSizeModeActions
abc.cpython-38.pyc53340644editdlrm
aifc.cpython-38.pyc254740644editdlrm
antigravity.cpython-38.pyc7970644editdlrm
argparse.cpython-38.pyc625910644editdlrm
ast.cpython-38.pyc167630644editdlrm
asynchat.cpython-38.pyc68510644editdlrm
asyncore.cpython-38.pyc160280644editdlrm
base64.cpython-38.pyc170710644editdlrm
bdb.cpython-38.pyc249210644editdlrm
binhex.cpython-38.pyc121340644editdlrm
bisect.cpython-38.pyc23540644editdlrm
bz2.cpython-38.pyc114450644editdlrm
calendar.cpython-38.pyc270640644editdlrm
cgi.cpython-38.pyc265440644editdlrm
cgitb.cpython-38.pyc101500644editdlrm
chunk.cpython-38.pyc48390644editdlrm
cmd.cpython-38.pyc126260644editdlrm
code.cpython-38.pyc99130644editdlrm
codecs.cpython-38.pyc339560644editdlrm
codeop.cpython-38.pyc64170644editdlrm
colorsys.cpython-38.pyc32400644editdlrm
compileall.cpython-38.pyc94100644editdlrm
configparser.cpython-38.pyc457180644editdlrm
contextlib.cpython-38.pyc202290644editdlrm
contextvars.cpython-38.pyc2430644editdlrm
copy.cpython-38.pyc69870644editdlrm
copyreg.cpython-38.pyc43180644editdlrm
cProfile.cpython-38.pyc54800644editdlrm
crypt.cpython-38.pyc33870644editdlrm
csv.cpython-38.pyc119100644editdlrm
dataclasses.cpython-38.pyc236530644editdlrm
datetime.cpython-38.pyc571730644editdlrm
decimal.cpython-38.pyc3590644editdlrm
difflib.cpython-38.pyc594380644editdlrm
dis.cpython-38.pyc158080644editdlrm
doctest.cpython-38.pyc759740644editdlrm
dummy_threading.cpython-38.pyc11100644editdlrm
enum.cpython-38.pyc259620644editdlrm
filecmp.cpython-38.pyc84270644editdlrm
fileinput.cpython-38.pyc133730644editdlrm
fnmatch.cpython-38.pyc33550644editdlrm
formatter.cpython-38.pyc175450644editdlrm
fractions.cpython-38.pyc187390644editdlrm
ftplib.cpython-38.pyc280070644editdlrm
functools.cpython-38.pyc279010644editdlrm
genericpath.cpython-38.pyc40010644editdlrm
getopt.cpython-38.pyc62710644editdlrm
getpass.cpython-38.pyc41780644editdlrm
gettext.cpython-38.pyc180000644editdlrm
glob.cpython-38.pyc43430644editdlrm
gzip.cpython-38.pyc181840644editdlrm
hashlib.cpython-38.pyc67270644editdlrm
heapq.cpython-38.pyc140700644editdlrm
hmac.cpython-38.pyc63880644editdlrm
imaplib.cpython-38.pyc413420644editdlrm
imghdr.cpython-38.pyc41180644editdlrm
imp.cpython-38.pyc98090644editdlrm
inspect.cpython-38.pyc805930644editdlrm
io.cpython-38.pyc34540644editdlrm
ipaddress.cpython-38.pyc628290644editdlrm
keyword.cpython-38.pyc9980644editdlrm
linecache.cpython-38.pyc38670644editdlrm
locale.cpython-38.pyc346740644editdlrm
lzma.cpython-38.pyc120180644editdlrm
mailbox.cpython-38.pyc602640644editdlrm
mailcap.cpython-38.pyc72060644editdlrm
mimetypes.cpython-38.pyc160310644editdlrm
modulefinder.cpython-38.pyc161150644editdlrm
netrc.cpython-38.pyc37770644editdlrm
nntplib.cpython-38.pyc339740644editdlrm
ntpath.cpython-38.pyc140910644editdlrm
nturl2path.cpython-38.pyc17440644editdlrm
numbers.cpython-38.pyc122020644editdlrm
opcode.cpython-38.pyc54200644editdlrm
operator.cpython-38.pyc136910644editdlrm
optparse.cpython-38.pyc480570644editdlrm
os.cpython-38.pyc313970644editdlrm
pathlib.cpython-38.pyc442090644editdlrm
pdb.cpython-38.pyc472260644editdlrm
pickle.cpython-38.pyc469080644editdlrm
pickletools.cpython-38.pyc672040644editdlrm
pipes.cpython-38.pyc77950644editdlrm
pkgutil.cpython-38.pyc163090644editdlrm
platform.cpython-38.pyc243260644editdlrm
plistlib.cpython-38.pyc273740644editdlrm
poplib.cpython-38.pyc134590644editdlrm
posixpath.cpython-38.pyc104610644editdlrm
pprint.cpython-38.pyc162810644editdlrm
profile.cpython-38.pyc147580644editdlrm
pstats.cpython-38.pyc220660644editdlrm
pty.cpython-38.pyc39550644editdlrm
pyclbr.cpython-38.pyc104510644editdlrm
pydoc.cpython-38.pyc836460644editdlrm
py_compile.cpython-38.pyc73520644editdlrm
queue.cpython-38.pyc106260644editdlrm
quopri.cpython-38.pyc57480644editdlrm
random.cpython-38.pyc201080644editdlrm
re.cpython-38.pyc144220644editdlrm
reprlib.cpython-38.pyc53030644editdlrm
rlcompleter.cpython-38.pyc57550644editdlrm
runpy.cpython-38.pyc81810644editdlrm
sched.cpython-38.pyc65320644editdlrm
secrets.cpython-38.pyc21900644editdlrm
selectors.cpython-38.pyc169350644editdlrm
shelve.cpython-38.pyc94900644editdlrm
shlex.cpython-38.pyc75360644editdlrm
shutil.cpython-38.pyc372190644editdlrm
signal.cpython-38.pyc28430644editdlrm
site.cpython-38.pyc171680644editdlrm
sitecustomize.cpython-38.pyc2200644editdlrm
smtpd.cpython-38.pyc264630644editdlrm
smtplib.cpython-38.pyc355320644editdlrm
sndhdr.cpython-38.pyc69890644editdlrm
socket.cpython-38.pyc277870644editdlrm
socketserver.cpython-38.pyc253610644editdlrm
sre_compile.cpython-38.pyc151420644editdlrm
sre_constants.cpython-38.pyc63590644editdlrm
sre_parse.cpython-38.pyc216470644editdlrm
ssl.cpython-38.pyc450370644editdlrm
stat.cpython-38.pyc43720644editdlrm
statistics.cpython-38.pyc336530644editdlrm
string.cpython-38.pyc73000644editdlrm
stringprep.cpython-38.pyc110170644editdlrm
struct.cpython-38.pyc3300644editdlrm
subprocess.cpython-38.pyc419670644editdlrm
sunau.cpython-38.pyc170800644editdlrm
symbol.cpython-38.pyc24040644editdlrm
symtable.cpython-38.pyc113220644editdlrm
sysconfig.cpython-38.pyc158370644editdlrm
tabnanny.cpython-38.pyc70300644editdlrm
tarfile.cpython-38.pyc630430644editdlrm
telnetlib.cpython-38.pyc182370644editdlrm
tempfile.cpython-38.pyc266530644editdlrm
textwrap.cpython-38.pyc135190644editdlrm
this.cpython-38.pyc12610644editdlrm
threading.cpython-38.pyc399760644editdlrm
timeit.cpython-38.pyc117770644editdlrm
token.cpython-38.pyc24850644editdlrm
tokenize.cpython-38.pyc171600644editdlrm
trace.cpython-38.pyc200260644editdlrm
traceback.cpython-38.pyc199380644editdlrm
tracemalloc.cpython-38.pyc173630644editdlrm
tty.cpython-38.pyc10760644editdlrm
turtle.cpython-38.pyc1300220644editdlrm
types.cpython-38.pyc91770644editdlrm
typing.cpython-38.pyc624200644editdlrm
uu.cpython-38.pyc36050644editdlrm
uuid.cpython-38.pyc236830644editdlrm
warnings.cpython-38.pyc136520644editdlrm
wave.cpython-38.pyc181490644editdlrm
weakref.cpython-38.pyc195180644editdlrm
webbrowser.cpython-38.pyc171200644editdlrm
xdrlib.cpython-38.pyc82210644editdlrm
zipapp.cpython-38.pyc58540644editdlrm
zipfile.cpython-38.pyc593360644editdlrm
zipimport.cpython-38.pyc172750644editdlrm
_bootlocale.cpython-38.pyc12430644editdlrm
_collections_abc.cpython-38.pyc287410644editdlrm
_compat_pickle.cpython-38.pyc55010644editdlrm
_compression.cpython-38.pyc41460644editdlrm
_dummy_thread.cpython-38.pyc60370644editdlrm
_markupbase.cpython-38.pyc77900644editdlrm
_osx_support.cpython-38.pyc115930644editdlrm
_pydecimal.cpython-38.pyc1607350644editdlrm
_pyio.cpython-38.pyc740790644editdlrm
_py_abc.cpython-38.pyc46700644editdlrm
_sitebuiltins.cpython-38.pyc34810644editdlrm
_strptime.cpython-38.pyc160440644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-38.pyc211210644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-38.pyc211150644editdlrm
_threading_local.cpython-38.pyc64460644editdlrm
_weakrefset.cpython-38.pyc76000644editdlrm
__future__.cpython-38.pyc41580644editdlrm
__phello__.foo.cpython-38.pyc1270644editdlrm
Edit: /snap/core20/2866/usr/lib/python3.8/__pycache__/base64.cpython-38.pyc (17071B)
U ʦiO@sdZddlZddlZddlZddddddd d d d d dddddddgZeefZddZdCddZ dDddZ ddZ ddZ e ddZe ddZddZddZd Zdadad!d ZdEd"d Zd#d ZdFd$d Zdadad%Zd&ZdGd'd(Zddddd)d*dZddd+d,d-dZd.Z da!da"da#dHd/d Z$d0dZ%d1Z&e&d2d3Z'd4dZ(d5dZ)d6d7Z*d8dZ+d9d:Z,d;dZ-dd?Z/d@dAZ0e1dBkre/dS)IzDBase16, Base32, Base64 (RFC 3548), Base85 and Ascii85 data encodingsNencodedecode encodebytes decodebytes b64encode b64decode b32encode b32decode b16encode b16decode b85encode b85decode a85encode a85decodestandard_b64encodestandard_b64decodeurlsafe_b64encodeurlsafe_b64decodecCs|t|tr4z |dWStk r2tdYnXt|trB|Szt|WStk rvtd|j j dYnXdS)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.8/base64.py_bytes_from_decode_data"s   r#cCsDtj|dd}|dk r@t|dks.tt||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_base64lenAssertionErrorrepr translatebytes maketrans)r altcharsencodedr!r!r"r3s FcCsft|}|dk rBt|}t|dks0tt||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-r.re fullmatchr'Error a2b_base64)r r/Zvalidater!r!r"rAs cCst|S)zrEncode bytes-like object s using the standard Base64 alphabet. The result is returned as a bytes object. )rrr!r!r"rZscCst|S)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. )rrr!r!r"rasr&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_translationrr!r!r"roscCst|}|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_translationrrr!r!r"rxs  s ABCDEFGHIJKLMNOPQRSTUVWXYZ234567cs>tdkr,ddtDfddDadt|tsBt|}t|d}|rb|dd|}t}tj }t}t dt|dD]V}||||dd}|||d ?||d ?d @||d ?d @||d @7}q|d krd|dd<nF|dkrd|dd<n.|dkr d|dd<n|dkr6d|dd<t |S)zKEncode the bytes-like object s using Base32 and return a bytes object. NcSsg|]}t|fqSr!r-.0ir!r!r" szb32encode..csg|]}D] }||q qSr!r!r9abZb32tabr!r"r;srbigi s======ir%s====s====) _b32tab2 _b32alphabetrrrrr) bytearrayint from_bytesranger-)r leftoverr0rQZb32tab2r:cr!r?r"rs<         c CstdkrddttDat|}t|dr8td|dk rvt|}t|dks`tt|| t dd|}|r| }t|}| d }|t|}t}t}td t|dD]j}|||d}d } z|D]} | d >|| } qWn"tk rtd dYnX|| d d 7}q|ds:|dkrDtd|r|r| d |K} | d d } dd |d} | d| |dd<t |S)aZDecode the Base32 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. 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. 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. NcSsi|]\}}||qSr!r!)r9kvr!r!r" szb32decode..zIncorrect paddingrFs01OrKrr@zNon-base32 digit foundrB>rrFrHrJ+)_b32rev enumeraterNr#r)r'r3r*r+r,r-r.upperrstriprOrRKeyErrorto_bytes) r casefoldZmap01lZpadcharsdecodedZb32revr:ZquantaaccrTZlastrSr!r!r"r sB        cCst|S)zKEncode the bytes-like object s using Base16 and return a bytes object. )r'Zhexlifyr_rr!r!r"r scCs4t|}|r|}td|r*tdt|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#r_r1searchr'r3Z unhexlify)r rcr!r!r"r s   s<~s~>c st|tst|}t| d}|r4|d|}tdt|d|}fdd|D}|r|s|ddkrdd |d<|dd| |d<d |S) NrJrAz!%dIcsPg|]H}r|sdn6r$|dkr$dn&|d|dd|dqS)zi yi^ Ui9r!)r9Zwordcharschars2foldnuls foldspacesr!r"r;!s   z_85encode..rLrhrr@) rrrrr)structStructZunpackjoin) r>rlrmpadrnropaddingZwordschunksr!rkr" _85encodes    rw)rowrapcolrtadobecstdkr*ddtddDaddtDat|tt|d||rHtrt|rVdnd fd dtd tD}|rt|d dkr|d d||rt 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. NcSsg|]}t|fqSr!r7r8r!r!r"r;Dsza85encode..!vcSsg|]}tD] }||q qSr!) _a85charsr<r!r!r"r;EsTr%rFcsg|]}||qSr!r!r8resultrxr!r"r;MsrrLrp ) _a85chars2rRr|rw _A85STARTmaxr)appendrs_A85END)r>rorxrtryrvr!r}r"r/s$   s )rory ignorecharsc Cst|}|rH|ts$tdt|tr<|dd}n |dd}tdj }g}|j }g}|j }|j } |dD]} d| krdkrnnl|| t |d krd } |D]} d | | d} qz||| Wn tj k rtd dYnX| qv| d kr |rtd|dqv|rH| dkrH|r>td|dqv| |krVqvqvtd| qvd|} 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!Isuuuurzur@rrjzAscii85 overflowzzz inside Ascii85 5-tuplesyzy inside Ascii85 5-tuples zNon-Ascii85 digit found: %crprJ)r#endswithrrformat startswithrrqrrpackrclearr)errorrs)r>roryrpackIreZdecoded_appendZcurrZ curr_appendZ curr_clearxrfr~rur!r!r"rXsZ            sU0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~cCs2tdkr$ddtDaddtDat|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. NcSsg|]}t|fqSr!r7r8r!r!r"r;szb85encode..cSsg|]}tD] }||q qSr!) _b85charsr<r!r!r"r;s) _b85chars2 _b85alphabetrrw)r>rtr!r!r"r s c CsJtdkr,dgdattD]\}}|t|<qt|}t| d}|d|}g}tdj}tdt|dD]}|||d}d}z|D]}|dt|}qWnFt k rt|D]&\}}t|dkrt d||dqYnXz| ||Wqntj k r$t d |dYqnXqnd |} |rF| d| } | S) zqDecode the base85-encoded bytes-like object or ASCII string b The result is returned as a bytes object. Nr@~rrrjz#bad base85 character at position %dz+base85 overflow in hunk starting at byte %drp)_b85decr^rr#r)rqrrrrRrrrrrs) r>r:rTruoutrchunkrfjr~r!r!r"r sH       LrJrHcCsX|t}|sqTt|tkr>|tt|}|s4q>||7}qt|}||qdS)z1Encode a file; input and output are binary files.N)read MAXBINSIZEr)r'r(write)inputoutputr nsliner!r!r"rs    cCs(|}|sq$t|}||qdS)z1Decode a file; input and output are binary files.N)readliner'r4r)rrrr r!r!r"rs  c Csz t|}Wn8tk rD}zd|jj}t||W5d}~XYnX|jdkrjd|j|jjf}t||jdkrd|j|jjf}t|dS)Nz"expected bytes-like object, not %s)rTr>Bz-expected single byte elements, not %r from %srFz(expected 1-D data, not %d-D data from %s)rrrrrndim)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.rrp)rrRr)rrr'r(rs)r piecesr:rr!r!r"r s cCsddl}|dtdt|S)zLegacy alias of encodebytes().rNzAencodestring() is a deprecated alias since 3.1, use encodebytes()r%)warningswarnDeprecationWarningrr rr!r!r" encodestrings rcCst|t|S)z8Decode a bytestring of base-64 data into a bytes object.)rr'r4rr!r!r"rscCsddl}|dtdt|S)zLegacy alias of decodebytes().rNzHdecodestring() is a deprecated alias since Python 3.1, use decodebytes()r%)rrrrrr!r!r" decodestring$s rc Csddl}ddl}z||jddd\}}WnP|jk r~}z0|j|_t|td|jd|dW5d}~XYnXt}|D]@\}}|dkrt}|dkrt }|d krt }|d krt dSq|r|dd krt |dd }|||jj W5QRXn||j j |jj dS) zSmall main programrNrFZdeutzusage: %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) rrZoptsargsrfuncor=fr!r!r"main.s2 rcCsHd}tt|t|}tt|t|}tt|||ksDtdS)NsAladdin:open sesame)rr+rrr*)Zs0s1s2r!r!r"rHs   r__main__)N)NF)FN)F)FFF)F)2__doc__r1rqr'__all__r-rOrr#rrrrr.r5r6rrrNrMr]rr r r r|rrrrwrrrrrrr r Z MAXLINESIZErrrrrrrrrrrr!r!r!r"s     & C  )H -