$65 GRAYBYTE WORDPRESS FILE MANAGER $50

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python38/lib/python3.8/site-packages/pip/_vendor/chardet/

HOME
Current File : /opt/alt/python38/lib/python3.8/site-packages/pip/_vendor/chardet//enums.py
"""
All of the Enums that are used throughout the chardet package.

:author: Dan Blanchard ([email protected])
"""


class InputState:
    """
    This enum represents the different states a universal detector can be in.
    """

    PURE_ASCII = 0
    ESC_ASCII = 1
    HIGH_BYTE = 2


class LanguageFilter:
    """
    This enum represents the different language filters we can apply to a
    ``UniversalDetector``.
    """

    CHINESE_SIMPLIFIED = 0x01
    CHINESE_TRADITIONAL = 0x02
    JAPANESE = 0x04
    KOREAN = 0x08
    NON_CJK = 0x10
    ALL = 0x1F
    CHINESE = CHINESE_SIMPLIFIED | CHINESE_TRADITIONAL
    CJK = CHINESE | JAPANESE | KOREAN


class ProbingState:
    """
    This enum represents the different states a prober can be in.
    """

    DETECTING = 0
    FOUND_IT = 1
    NOT_ME = 2


class MachineState:
    """
    This enum represents the different states a state machine can be in.
    """

    START = 0
    ERROR = 1
    ITS_ME = 2


class SequenceLikelihood:
    """
    This enum represents the likelihood of a character following the previous one.
    """

    NEGATIVE = 0
    UNLIKELY = 1
    LIKELY = 2
    POSITIVE = 3

    @classmethod
    def get_num_categories(cls):
        """:returns: The number of likelihood categories in the enum."""
        return 4


class CharacterCategory:
    """
    This enum represents the different categories language models for
    ``SingleByteCharsetProber`` put characters into.

    Anything less than CONTROL is considered a letter.
    """

    UNDEFINED = 255
    LINE_BREAK = 254
    SYMBOL = 253
    DIGIT = 252
    CONTROL = 251


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.49 PM
root / linksafe
0755
__pycache__
--
3 Mar 2024 10.49 PM
root / linksafe
0755
cli
--
3 Mar 2024 10.49 PM
root / linksafe
0755
metadata
--
3 Mar 2024 10.49 PM
root / linksafe
0755
__init__.py
3.618 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
big5freq.py
30.541 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
big5prober.py
1.7 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
chardistribution.py
9.383 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
charsetgroupprober.py
3.728 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
charsetprober.py
4.688 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
codingstatemachine.py
3.476 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
cp949prober.py
1.795 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
enums.py
1.581 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
escprober.py
3.773 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
escsm.py
11.739 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
eucjpprober.py
3.59 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
euckrfreq.py
13.248 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
euckrprober.py
1.69 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
euctwfreq.py
36.048 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
euctwprober.py
1.69 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
gb2312freq.py
20.249 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
gb2312prober.py
1.696 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
hebrewprober.py
13.593 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
jisfreq.py
25.191 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
johabfreq.py
41.502 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
johabprober.py
1.689 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
jpcntx.py
26.169 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
langbulgarianmodel.py
102.111 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
langgreekmodel.py
96.176 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
langhebrewmodel.py
95.895 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
langhungarianmodel.py
98.987 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
langrussianmodel.py
125.034 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
langthaimodel.py
100.365 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
langturkishmodel.py
93.137 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
latin1prober.py
5.137 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
mbcharsetprober.py
3.288 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
mbcsgroupprober.py
2.008 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
mbcssm.py
29.363 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
sbcharsetprober.py
6.054 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
sbcsgroupprober.py
4.032 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
sjisprober.py
3.661 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
universaldetector.py
12.977 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
utf1632prober.py
8.095 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
utf8prober.py
2.646 KB
13 Nov 2023 9.40 PM
root / linksafe
0644
version.py
0.236 KB
13 Nov 2023 9.40 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF