-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy path__init__.py
More file actions
33 lines (31 loc) · 848 Bytes
/
__init__.py
File metadata and controls
33 lines (31 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from .base import AnticaptchaClient
try:
from importlib.metadata import version, PackageNotFoundError
except ImportError:
# Python < 3.8 fallback
from importlib_metadata import version, PackageNotFoundError
from .tasks import (
NoCaptchaTaskProxylessTask,
RecaptchaV2TaskProxyless,
NoCaptchaTask,
RecaptchaV2Task,
FunCaptchaProxylessTask,
FunCaptchaTask,
ImageToTextTask,
RecaptchaV3TaskProxyless,
HCaptchaTaskProxyless,
HCaptchaTask,
RecaptchaV2EnterpriseTaskProxyless,
RecaptchaV2EnterpriseTask,
GeeTestTaskProxyless,
GeeTestTask,
AntiGateTaskProxyless,
AntiGateTask
)
from .exceptions import AnticaptchaException
AnticatpchaException = AnticaptchaException
try:
__version__ = version(__name__)
except PackageNotFoundError:
# package is not installed
pass