tls-client-python 1.15.1__py3-none-win_amd64.whl → 1.16.0__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tls_client/__init__.py +41 -6
- tls_client/_core.py +837 -528
- tls_client/adapters.py +8 -0
- tls_client/auth.py +45 -0
- tls_client/bin/tls-client-windows-amd64.dll +0 -0
- tls_client/cookies.py +189 -0
- tls_client/exceptions.py +91 -0
- tls_client/hooks.py +30 -0
- tls_client/models.py +6 -0
- tls_client/requests_compat.py +640 -0
- tls_client/status_codes.py +45 -0
- tls_client/structures.py +60 -0
- {tls_client_python-1.15.1.dist-info → tls_client_python-1.16.0.dist-info}/METADATA +57 -7
- tls_client_python-1.16.0.dist-info/RECORD +18 -0
- {tls_client_python-1.15.1.dist-info → tls_client_python-1.16.0.dist-info}/WHEEL +1 -1
- tls_client/bin/tls-client-darwin-amd64.dylib +0 -0
- tls_client/bin/tls-client-darwin-arm64.dylib +0 -0
- tls_client/bin/tls-client-linux-amd64-musl.so +0 -0
- tls_client/bin/tls-client-linux-amd64.so +0 -0
- tls_client/bin/tls-client-windows-386.dll +0 -0
- tls_client_python-1.15.1.dist-info/RECORD +0 -14
- {tls_client_python-1.15.1.dist-info → tls_client_python-1.16.0.dist-info}/licenses/LICENSE +0 -0
- {tls_client_python-1.15.1.dist-info → tls_client_python-1.16.0.dist-info}/top_level.txt +0 -0
tls_client/__init__.py
CHANGED
|
@@ -8,21 +8,56 @@ directory. A ``TLS_CLIENT_LIB`` environment variable may be used to
|
|
|
8
8
|
override automatic discovery.
|
|
9
9
|
"""
|
|
10
10
|
|
|
11
|
-
from tls_client._core import
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
from tls_client._core import AsyncSession, ClientIdentifiers, clear_client_pool
|
|
12
|
+
from tls_client._core import Request as TLSRequest
|
|
13
|
+
from tls_client._core import Response as NativeResponse
|
|
14
|
+
from tls_client._core import Session as NativeSession
|
|
15
|
+
from tls_client.requests_compat import (
|
|
16
|
+
PreparedRequest,
|
|
14
17
|
Request,
|
|
15
18
|
Response,
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
Session,
|
|
20
|
+
TLSClientAdapter,
|
|
21
|
+
delete,
|
|
22
|
+
get,
|
|
23
|
+
head,
|
|
24
|
+
options,
|
|
25
|
+
patch,
|
|
26
|
+
post,
|
|
27
|
+
put,
|
|
28
|
+
request,
|
|
18
29
|
)
|
|
19
30
|
|
|
31
|
+
from tls_client import adapters, auth, cookies, exceptions, models, status_codes, structures
|
|
32
|
+
from tls_client.status_codes import codes
|
|
33
|
+
|
|
20
34
|
__all__ = [
|
|
21
35
|
"Session",
|
|
22
36
|
"AsyncSession",
|
|
23
37
|
"Request",
|
|
38
|
+
"PreparedRequest",
|
|
24
39
|
"Response",
|
|
40
|
+
"TLSClientAdapter",
|
|
41
|
+
"NativeSession",
|
|
42
|
+
"NativeResponse",
|
|
43
|
+
"TLSRequest",
|
|
25
44
|
"ClientIdentifiers",
|
|
26
45
|
"clear_client_pool",
|
|
46
|
+
"request",
|
|
47
|
+
"get",
|
|
48
|
+
"options",
|
|
49
|
+
"head",
|
|
50
|
+
"post",
|
|
51
|
+
"put",
|
|
52
|
+
"patch",
|
|
53
|
+
"delete",
|
|
54
|
+
"adapters",
|
|
55
|
+
"auth",
|
|
56
|
+
"codes",
|
|
57
|
+
"cookies",
|
|
58
|
+
"exceptions",
|
|
59
|
+
"models",
|
|
60
|
+
"status_codes",
|
|
61
|
+
"structures",
|
|
27
62
|
]
|
|
28
|
-
__version__ = "1.
|
|
63
|
+
__version__ = "1.16.0"
|