Linux ams-business-8.hostwindsdns.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
LiteSpeed
Server IP : 192.236.177.161 & Your IP : 216.73.216.50
Domains :
Cant Read [ /etc/named.conf ]
User : ajzdfbpz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.6 /
site-packages /
wheel /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-02-13 01:26
tool
[ DIR ]
drwxr-xr-x
2024-02-13 01:26
__init__.py
96
B
-rw-r--r--
2018-05-13 17:22
__main__.py
419
B
-rw-r--r--
2018-05-13 17:22
archive.py
2.37
KB
-rw-r--r--
2018-05-13 17:22
bdist_wheel.py
15.37
KB
-rw-r--r--
2023-12-18 13:33
egg2wheel.py
2.99
KB
-rw-r--r--
2023-12-18 13:33
install.py
17.9
KB
-rw-r--r--
2023-12-18 13:33
metadata.py
4.25
KB
-rw-r--r--
2023-12-18 13:33
paths.py
1.1
KB
-rw-r--r--
2018-05-13 17:22
pep425tags.py
5.63
KB
-rw-r--r--
2018-05-13 17:22
pkginfo.py
1.23
KB
-rw-r--r--
2018-05-13 17:22
util.py
2.62
KB
-rw-r--r--
2023-12-18 13:33
wininst2wheel.py
7.59
KB
-rw-r--r--
2023-12-18 13:33
Save
Rename
"""Tools for reading and writing PKG-INFO / METADATA without caring about the encoding.""" from email.parser import Parser try: unicode _PY3 = False except NameError: _PY3 = True if not _PY3: from email.generator import Generator def read_pkg_info_bytes(bytestr): return Parser().parsestr(bytestr) def read_pkg_info(path): with open(path, "r") as headers: message = Parser().parse(headers) return message def write_pkg_info(path, message): with open(path, 'w') as metadata: Generator(metadata, mangle_from_=False, maxheaderlen=0).flatten(message) else: from email.generator import BytesGenerator def read_pkg_info_bytes(bytestr): headers = bytestr.decode(encoding="ascii", errors="surrogateescape") message = Parser().parsestr(headers) return message def read_pkg_info(path): with open(path, "r", encoding="ascii", errors="surrogateescape") as headers: message = Parser().parse(headers) return message def write_pkg_info(path, message): with open(path, "wb") as out: BytesGenerator(out, mangle_from_=False, maxheaderlen=0).flatten(message)