SILENT KILLERPanel

Current Path: > > opt > alt > python35 > lib64 > python3.5 > encodings


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python35/lib64/python3.5/encodings

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 5067 bytes May 31 2024 13:51:45.
aliases.py File 15542 bytes May 31 2024 13:51:45.
ascii.py File 1248 bytes May 31 2024 13:51:45.
base64_codec.py File 1533 bytes May 31 2024 13:51:45.
big5.py File 1019 bytes May 31 2024 13:51:45.
big5hkscs.py File 1039 bytes May 31 2024 13:51:45.
bz2_codec.py File 2249 bytes May 31 2024 13:51:45.
charmap.py File 2084 bytes May 31 2024 13:51:45.
cp037.py File 13121 bytes May 31 2024 13:51:45.
cp1006.py File 13568 bytes May 31 2024 13:51:45.
cp1026.py File 13113 bytes May 31 2024 13:51:45.
cp1125.py File 34597 bytes May 31 2024 13:51:45.
cp1140.py File 13105 bytes May 31 2024 13:51:45.
cp1250.py File 13686 bytes May 31 2024 13:51:45.
cp1251.py File 13361 bytes May 31 2024 13:51:45.
cp1252.py File 13511 bytes May 31 2024 13:51:45.
cp1253.py File 13094 bytes May 31 2024 13:51:45.
cp1254.py File 13502 bytes May 31 2024 13:51:45.
cp1255.py File 12466 bytes May 31 2024 13:51:45.
cp1256.py File 12814 bytes May 31 2024 13:51:45.
cp1257.py File 13374 bytes May 31 2024 13:51:45.
cp1258.py File 13364 bytes May 31 2024 13:51:45.
cp273.py File 14132 bytes May 31 2024 13:51:45.
cp424.py File 12055 bytes May 31 2024 13:51:45.
cp437.py File 34564 bytes May 31 2024 13:51:45.
cp500.py File 13121 bytes May 31 2024 13:51:45.
cp65001.py File 1106 bytes May 31 2024 13:51:45.
cp720.py File 13686 bytes May 31 2024 13:51:45.
cp737.py File 34681 bytes May 31 2024 13:51:45.
cp775.py File 34476 bytes May 31 2024 13:51:45.
cp850.py File 34105 bytes May 31 2024 13:51:45.
cp852.py File 35002 bytes May 31 2024 13:51:45.
cp855.py File 33850 bytes May 31 2024 13:51:45.
cp856.py File 12423 bytes May 31 2024 13:51:45.
cp857.py File 33908 bytes May 31 2024 13:51:45.
cp858.py File 34015 bytes May 31 2024 13:51:45.
cp860.py File 34681 bytes May 31 2024 13:51:45.
cp861.py File 34633 bytes May 31 2024 13:51:45.
cp862.py File 33370 bytes May 31 2024 13:51:45.
cp863.py File 34252 bytes May 31 2024 13:51:45.
cp864.py File 33663 bytes May 31 2024 13:51:45.
cp865.py File 34618 bytes May 31 2024 13:51:45.
cp866.py File 34396 bytes May 31 2024 13:51:45.
cp869.py File 32965 bytes May 31 2024 13:51:45.
cp874.py File 12595 bytes May 31 2024 13:51:45.
cp875.py File 12854 bytes May 31 2024 13:51:45.
cp932.py File 1023 bytes May 31 2024 13:51:45.
cp949.py File 1023 bytes May 31 2024 13:51:45.
cp950.py File 1023 bytes May 31 2024 13:51:45.
euc_jis_2004.py File 1051 bytes May 31 2024 13:51:45.
euc_jisx0213.py File 1051 bytes May 31 2024 13:51:45.
euc_jp.py File 1027 bytes May 31 2024 13:51:45.
euc_kr.py File 1027 bytes May 31 2024 13:51:45.
gb18030.py File 1031 bytes May 31 2024 13:51:45.
gb2312.py File 1027 bytes May 31 2024 13:51:45.
gbk.py File 1015 bytes May 31 2024 13:51:45.
hex_codec.py File 1508 bytes May 31 2024 13:51:45.
hp_roman8.py File 13475 bytes May 31 2024 13:51:45.
hz.py File 1011 bytes May 31 2024 13:51:45.
idna.py File 9170 bytes May 31 2024 13:51:45.
iso2022_jp.py File 1053 bytes May 31 2024 13:51:45.
iso2022_jp_1.py File 1061 bytes May 31 2024 13:51:45.
iso2022_jp_2.py File 1061 bytes May 31 2024 13:51:45.
iso2022_jp_2004.py File 1073 bytes May 31 2024 13:51:45.
iso2022_jp_3.py File 1061 bytes May 31 2024 13:51:45.
iso2022_jp_ext.py File 1069 bytes May 31 2024 13:51:45.
iso2022_kr.py File 1053 bytes May 31 2024 13:51:45.
iso8859_1.py File 13176 bytes May 31 2024 13:51:45.
iso8859_10.py File 13589 bytes May 31 2024 13:51:45.
iso8859_11.py File 12335 bytes May 31 2024 13:51:45.
iso8859_13.py File 13271 bytes May 31 2024 13:51:45.
iso8859_14.py File 13652 bytes May 31 2024 13:51:45.
iso8859_15.py File 13212 bytes May 31 2024 13:51:45.
iso8859_16.py File 13557 bytes May 31 2024 13:51:45.
iso8859_2.py File 13404 bytes May 31 2024 13:51:45.
iso8859_3.py File 13089 bytes May 31 2024 13:51:45.
iso8859_4.py File 13376 bytes May 31 2024 13:51:45.
iso8859_5.py File 13015 bytes May 31 2024 13:51:45.
iso8859_6.py File 10833 bytes May 31 2024 13:51:45.
iso8859_7.py File 12844 bytes May 31 2024 13:51:45.
iso8859_8.py File 11036 bytes May 31 2024 13:51:45.
iso8859_9.py File 13156 bytes May 31 2024 13:51:45.
johab.py File 1023 bytes May 31 2024 13:51:45.
koi8_r.py File 13779 bytes May 31 2024 13:51:45.
koi8_t.py File 13193 bytes May 31 2024 13:51:45.
koi8_u.py File 13762 bytes May 31 2024 13:51:45.
kz1048.py File 13723 bytes May 31 2024 13:51:45.
latin_1.py File 1264 bytes May 31 2024 13:51:45.
mac_arabic.py File 36467 bytes May 31 2024 13:51:45.
mac_centeuro.py File 14102 bytes May 31 2024 13:51:45.
mac_croatian.py File 13633 bytes May 31 2024 13:51:45.
mac_cyrillic.py File 13454 bytes May 31 2024 13:51:45.
mac_farsi.py File 15170 bytes May 31 2024 13:51:45.
mac_greek.py File 13721 bytes May 31 2024 13:51:45.
mac_iceland.py File 13498 bytes May 31 2024 13:51:45.
mac_latin2.py File 14118 bytes May 31 2024 13:51:45.
mac_roman.py File 13480 bytes May 31 2024 13:51:45.
mac_romanian.py File 13661 bytes May 31 2024 13:51:45.
mac_turkish.py File 13513 bytes May 31 2024 13:51:45.
mbcs.py File 1211 bytes May 31 2024 13:51:45.
palmos.py File 13519 bytes May 31 2024 13:51:45.
ptcp154.py File 14015 bytes May 31 2024 13:51:45.
punycode.py File 6881 bytes May 31 2024 13:51:45.
quopri_codec.py File 1525 bytes May 31 2024 13:51:45.
raw_unicode_escape.py File 1208 bytes May 31 2024 13:51:45.
rot_13.py File 2441 bytes May 31 2024 13:51:45.
shift_jis.py File 1039 bytes May 31 2024 13:51:45.
shift_jis_2004.py File 1059 bytes May 31 2024 13:51:45.
shift_jisx0213.py File 1059 bytes May 31 2024 13:51:45.
tis_620.py File 12300 bytes May 31 2024 13:51:45.
undefined.py File 1299 bytes May 31 2024 13:51:45.
unicode_escape.py File 1184 bytes May 31 2024 13:51:45.
unicode_internal.py File 1196 bytes May 31 2024 13:51:45.
utf_16.py File 5236 bytes May 31 2024 13:51:45.
utf_16_be.py File 1037 bytes May 31 2024 13:51:45.
utf_16_le.py File 1037 bytes May 31 2024 13:51:45.
utf_32.py File 5129 bytes May 31 2024 13:51:45.
utf_32_be.py File 930 bytes May 31 2024 13:51:45.
utf_32_le.py File 930 bytes May 31 2024 13:51:45.
utf_7.py File 946 bytes May 31 2024 13:51:45.
utf_8.py File 1005 bytes May 31 2024 13:51:45.
utf_8_sig.py File 4133 bytes May 31 2024 13:51:45.
uu_codec.py File 2721 bytes May 31 2024 13:51:45.
zlib_codec.py File 2204 bytes May 31 2024 13:51:45.

Reading File: //opt/alt/python35/lib64/python3.5/encodings/uu_codec.py

"""Python 'uu_codec' Codec - UU content transfer encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were
adapted from uu.py which was written by Lance Ellinghouse and
modified by Jack Jansen and Fredrik Lundh.
"""

import codecs
import binascii
from io import BytesIO

### Codec APIs

def uu_encode(input, errors='strict', filename='<data>', mode=0o666):
    assert errors == 'strict'
    infile = BytesIO(input)
    outfile = BytesIO()
    read = infile.read
    write = outfile.write

    # Encode
    write(('begin %o %s\n' % (mode & 0o777, filename)).encode('ascii'))
    chunk = read(45)
    while chunk:
        write(binascii.b2a_uu(chunk))
        chunk = read(45)
    write(b' \nend\n')

    return (outfile.getvalue(), len(input))

def uu_decode(input, errors='strict'):
    assert errors == 'strict'
    infile = BytesIO(input)
    outfile = BytesIO()
    readline = infile.readline
    write = outfile.write

    # Find start of encoded data
    while 1:
        s = readline()
        if not s:
            raise ValueError('Missing "begin" line in input data')
        if s[:5] == b'begin':
            break

    # Decode
    while True:
        s = readline()
        if not s or s == b'end\n':
            break
        try:
            data = binascii.a2b_uu(s)
        except binascii.Error as v:
            # Workaround for broken uuencoders by /Fredrik Lundh
            nbytes = (((s[0]-32) & 63) * 4 + 5) // 3
            data = binascii.a2b_uu(s[:nbytes])
            #sys.stderr.write("Warning: %s\n" % str(v))
        write(data)
    if not s:
        raise ValueError('Truncated input data')

    return (outfile.getvalue(), len(input))

class Codec(codecs.Codec):
    def encode(self, input, errors='strict'):
        return uu_encode(input, errors)

    def decode(self, input, errors='strict'):
        return uu_decode(input, errors)

class IncrementalEncoder(codecs.IncrementalEncoder):
    def encode(self, input, final=False):
        return uu_encode(input, self.errors)[0]

class IncrementalDecoder(codecs.IncrementalDecoder):
    def decode(self, input, final=False):
        return uu_decode(input, self.errors)[0]

class StreamWriter(Codec, codecs.StreamWriter):
    charbuffertype = bytes

class StreamReader(Codec, codecs.StreamReader):
    charbuffertype = bytes

### encodings module API

def getregentry():
    return codecs.CodecInfo(
        name='uu',
        encode=uu_encode,
        decode=uu_decode,
        incrementalencoder=IncrementalEncoder,
        incrementaldecoder=IncrementalDecoder,
        streamreader=StreamReader,
        streamwriter=StreamWriter,
        _is_text_encoding=False,
    )

SILENT KILLER Tool