GRAYBYTE WORDPRESS FILE MANAGER4192

Server IP : 198.54.121.189 / Your IP : 216.73.216.224
System : Linux premium69.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
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib/python2.7/site-packages/pip/utils/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib/python2.7/site-packages/pip/utils//encoding.py
import codecs
import locale
import re


BOMS = [
    (codecs.BOM_UTF8, 'utf8'),
    (codecs.BOM_UTF16, 'utf16'),
    (codecs.BOM_UTF16_BE, 'utf16-be'),
    (codecs.BOM_UTF16_LE, 'utf16-le'),
    (codecs.BOM_UTF32, 'utf32'),
    (codecs.BOM_UTF32_BE, 'utf32-be'),
    (codecs.BOM_UTF32_LE, 'utf32-le'),
]

ENCODING_RE = re.compile(b'coding[:=]\s*([-\w.]+)')


def auto_decode(data):
    """Check a bytes string for a BOM to correctly detect the encoding

    Fallback to locale.getpreferredencoding(False) like open() on Python3"""
    for bom, encoding in BOMS:
        if data.startswith(bom):
            return data[len(bom):].decode(encoding)
    # Lets check the first two lines as in PEP263
    for line in data.split(b'\n')[:2]:
        if line[0:1] == b'#' and ENCODING_RE.search(line):
            encoding = ENCODING_RE.search(line).groups()[0].decode('ascii')
            return data.decode(encoding)
    return data.decode(locale.getpreferredencoding(False))

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 20:23:47
root / root
0755
__init__.py
26.55 KB
April 21 2022 18:08:21
root / root
0644
__init__.pyc
27.075 KB
April 21 2022 18:08:35
root / root
0644
__init__.pyo
27.018 KB
April 21 2022 18:08:36
root / root
0644
appdirs.py
8.604 KB
April 21 2022 18:08:21
root / root
0644
appdirs.pyc
8.405 KB
April 21 2022 18:08:35
root / root
0644
appdirs.pyo
8.405 KB
April 21 2022 18:08:35
root / root
0644
build.py
1.281 KB
April 21 2022 18:08:21
root / root
0644
build.pyc
1.679 KB
April 21 2022 18:08:35
root / root
0644
build.pyo
1.679 KB
April 21 2022 18:08:35
root / root
0644
deprecation.py
2.18 KB
April 21 2022 18:08:21
root / root
0644
deprecation.pyc
2.263 KB
April 21 2022 18:08:35
root / root
0644
deprecation.pyo
2.263 KB
April 21 2022 18:08:35
root / root
0644
encoding.py
0.948 KB
April 21 2022 18:08:21
root / root
0644
encoding.pyc
1.252 KB
April 21 2022 18:08:35
root / root
0644
encoding.pyo
1.252 KB
April 21 2022 18:08:35
root / root
0644
filesystem.py
0.878 KB
April 21 2022 18:08:21
root / root
0644
filesystem.pyc
0.762 KB
April 21 2022 18:08:35
root / root
0644
filesystem.pyo
0.762 KB
April 21 2022 18:08:35
root / root
0644
glibc.py
2.87 KB
April 21 2022 18:08:21
root / root
0644
glibc.pyc
1.783 KB
April 21 2022 18:08:35
root / root
0644
glibc.pyo
1.783 KB
April 21 2022 18:08:35
root / root
0644
hashes.py
2.799 KB
April 21 2022 18:08:21
root / root
0644
hashes.pyc
3.868 KB
April 21 2022 18:08:35
root / root
0644
hashes.pyo
3.868 KB
April 21 2022 18:08:35
root / root
0644
logging.py
3.249 KB
April 21 2022 18:08:21
root / root
0644
logging.pyc
4.729 KB
April 21 2022 18:08:35
root / root
0644
logging.pyo
4.729 KB
April 21 2022 18:08:35
root / root
0644
outdated.py
5.849 KB
April 21 2022 18:08:21
root / root
0644
outdated.pyc
5.547 KB
April 21 2022 18:08:35
root / root
0644
outdated.pyo
5.547 KB
April 21 2022 18:08:35
root / root
0644
packaging.py
2.031 KB
April 21 2022 18:08:21
root / root
0644
packaging.pyc
2.403 KB
April 21 2022 18:08:35
root / root
0644
packaging.pyo
2.403 KB
April 21 2022 18:08:35
root / root
0644
setuptools_build.py
0.271 KB
April 21 2022 18:08:21
root / root
0644
setuptools_build.pyc
0.339 KB
April 21 2022 18:08:35
root / root
0644
setuptools_build.pyo
0.339 KB
April 21 2022 18:08:35
root / root
0644
ui.py
11.325 KB
April 21 2022 18:08:21
root / root
0644
ui.pyc
11.409 KB
April 21 2022 18:08:35
root / root
0644
ui.pyo
11.341 KB
April 21 2022 18:08:36
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF