python-socks 2.7.2__py3-none-any.whl → 2.8.0__py3-none-any.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.
- python_socks/_errors.py +10 -6
- python_socks/_version.py +1 -1
- python_socks/sync/_stream.py +1 -1
- {python_socks-2.7.2.dist-info → python_socks-2.8.0.dist-info}/METADATA +3 -1
- {python_socks-2.7.2.dist-info → python_socks-2.8.0.dist-info}/RECORD +8 -8
- {python_socks-2.7.2.dist-info → python_socks-2.8.0.dist-info}/WHEEL +0 -0
- {python_socks-2.7.2.dist-info → python_socks-2.8.0.dist-info}/licenses/LICENSE.txt +0 -0
- {python_socks-2.7.2.dist-info → python_socks-2.8.0.dist-info}/top_level.txt +0 -0
python_socks/_errors.py
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
class
|
|
2
|
-
|
|
3
|
-
super().__init__(message)
|
|
4
|
-
self.error_code = error_code
|
|
1
|
+
class ProxyException(Exception):
|
|
2
|
+
pass
|
|
5
3
|
|
|
6
4
|
|
|
7
|
-
class ProxyTimeoutError(TimeoutError):
|
|
5
|
+
class ProxyTimeoutError(ProxyException, TimeoutError):
|
|
8
6
|
pass
|
|
9
7
|
|
|
10
8
|
|
|
11
|
-
class ProxyConnectionError(OSError):
|
|
9
|
+
class ProxyConnectionError(ProxyException, OSError):
|
|
12
10
|
pass
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ProxyError(ProxyException):
|
|
14
|
+
def __init__(self, message, error_code=None):
|
|
15
|
+
super().__init__(message)
|
|
16
|
+
self.error_code = error_code
|
python_socks/_version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__title__ = 'python-socks'
|
|
2
|
-
__version__ = '2.
|
|
2
|
+
__version__ = '2.8.0'
|
python_socks/sync/_stream.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-socks
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.0
|
|
4
4
|
Summary: Proxy (SOCKS4, SOCKS5, HTTP CONNECT) client for Python
|
|
5
5
|
Author-email: Roman Snegirev <snegiryev@gmail.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
21
|
Classifier: Operating System :: MacOS
|
|
21
22
|
Classifier: Operating System :: Microsoft
|
|
22
23
|
Classifier: Operating System :: POSIX :: Linux
|
|
@@ -43,6 +44,7 @@ Dynamic: license-file
|
|
|
43
44
|
[](https://github.com/romis2012/python-socks/actions/workflows/ci.yml)
|
|
44
45
|
[](https://codecov.io/gh/romis2012/python-socks)
|
|
45
46
|
[](https://pypi.python.org/pypi/python-socks)
|
|
47
|
+
[](https://github.com/romis2012/python-socks)
|
|
46
48
|
<!--
|
|
47
49
|
[](https://pepy.tech/project/python-socks)
|
|
48
50
|
-->
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
python_socks/__init__.py,sha256=gKywvwx_x4_0hWJEa2eif1dPzP9YeFXJdrNlHuvFmC8,367
|
|
2
2
|
python_socks/_abc.py,sha256=_juTZE0iqoTChE53IHjBKEYFO-fxYZfPhdUc6EgFlwE,909
|
|
3
|
-
python_socks/_errors.py,sha256=
|
|
3
|
+
python_socks/_errors.py,sha256=M2KkgCrFy_ebEqw7JoxCWMjIIQ5Zu_B7YlXYhsLo-gk,329
|
|
4
4
|
python_socks/_helpers.py,sha256=UacO07M9i8G8CfqzBYWnehgCTFbZTlwJWAsFoXR3mVk,2708
|
|
5
5
|
python_socks/_types.py,sha256=dgQifNf2mIwdKoX7YmI91H_lUsW9-Y0ZkZGlIV6_NNw,90
|
|
6
|
-
python_socks/_version.py,sha256=
|
|
6
|
+
python_socks/_version.py,sha256=QxpfmK9qfWEj_1tkY_h3VEQt99nUq_YpunEkoN9OuQ8,49
|
|
7
7
|
python_socks/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
python_socks/_connectors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
python_socks/_connectors/abc.py,sha256=1fgjPiv64UAMiJDsJXYr-GofPGhuHTwTzaodQfrzf7Q,397
|
|
@@ -63,15 +63,15 @@ python_socks/sync/_chain.py,sha256=do_WtGenqKAG7B50nNZdltFqEQV8t-mSlGnMACNIwgE,9
|
|
|
63
63
|
python_socks/sync/_connect.py,sha256=N1Y-uQXkOiJ_dxkwWHw1fBliIQlTL47ydql7IvaSqm8,344
|
|
64
64
|
python_socks/sync/_proxy.py,sha256=Ny2QA8GI2aCUm0JL8IfY2j2IaXKzAZNp6bZeF7OmwYA,3287
|
|
65
65
|
python_socks/sync/_resolver.py,sha256=2rf9-NdjRktYrab1Oyv9ZJLKByP95ysFmRE3TgjRCSA,547
|
|
66
|
-
python_socks/sync/_stream.py,sha256=
|
|
66
|
+
python_socks/sync/_stream.py,sha256=VeR-_ERvn5x_PjxFsPy88llEiNfTuejvXoZkAxlqOuY,811
|
|
67
67
|
python_socks/sync/v2/__init__.py,sha256=eVZc6zh0pLhNMf_uSPZiH_1vNGEvedwzX5gObUSkRT8,116
|
|
68
68
|
python_socks/sync/v2/_chain.py,sha256=IRVMioTVWwxylZ8maD5Gqxhhgw4VyrG5vo_hAOuEn8Q,579
|
|
69
69
|
python_socks/sync/v2/_connect.py,sha256=QrZ1CZimYCUMUuaD8JdUblwlqlzIbqFrbsPwMzoxGkM,420
|
|
70
70
|
python_socks/sync/v2/_proxy.py,sha256=7FuO6wML0DkEonoGAprhTlVd8fazOgNeNrJyxABmP1Q,3621
|
|
71
71
|
python_socks/sync/v2/_ssl_transport.py,sha256=MURwzvKu-S2-MI7o8KaZTvvBFOiiKIu5R0ERVIMvERE,6088
|
|
72
72
|
python_socks/sync/v2/_stream.py,sha256=Jq89x1xmIX3L_v-WyS1nRTItjTnYTcDcfDblsANxfJI,1544
|
|
73
|
-
python_socks-2.
|
|
74
|
-
python_socks-2.
|
|
75
|
-
python_socks-2.
|
|
76
|
-
python_socks-2.
|
|
77
|
-
python_socks-2.
|
|
73
|
+
python_socks-2.8.0.dist-info/licenses/LICENSE.txt,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
74
|
+
python_socks-2.8.0.dist-info/METADATA,sha256=tXJ9_qKcYppgIfcKwo7MgQ4h3UuQ3JbxIwlWABAOIkk,8151
|
|
75
|
+
python_socks-2.8.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
76
|
+
python_socks-2.8.0.dist-info/top_level.txt,sha256=7qyDAVwjTZ0sIYG1iatFbE-SLpWhONjaoMQ0Ib2DX0Q,13
|
|
77
|
+
python_socks-2.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|