simple-proxy 0.0.7__tar.gz → 0.0.8__tar.gz
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.
- {simple-proxy-0.0.7/simple_proxy.egg-info → simple-proxy-0.0.8}/PKG-INFO +5 -1
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/simple_proxy/__init__.py +8 -3
- simple-proxy-0.0.8/simple_proxy/version.py +1 -0
- {simple-proxy-0.0.7 → simple-proxy-0.0.8/simple_proxy.egg-info}/PKG-INFO +5 -1
- simple-proxy-0.0.7/simple_proxy/version.py +0 -1
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/LICENSE +0 -0
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/README.md +0 -0
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/setup.cfg +0 -0
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/setup.py +0 -0
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/simple_proxy/utils.py +0 -0
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/simple_proxy.egg-info/SOURCES.txt +0 -0
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/simple_proxy.egg-info/dependency_links.txt +0 -0
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/simple_proxy.egg-info/entry_points.txt +0 -0
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/simple_proxy.egg-info/requires.txt +0 -0
- {simple-proxy-0.0.7 → simple-proxy-0.0.8}/simple_proxy.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: simple-proxy
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: A very simple NIO TCP proxy server
|
|
5
5
|
Home-page: https://github.com/ruanhao/simple-proxy
|
|
6
6
|
Author: Hao Ruan
|
|
@@ -23,6 +23,10 @@ Classifier: Topic :: Software Development :: Libraries
|
|
|
23
23
|
Requires-Python: >=3.7, <4
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
|
+
Requires-Dist: click
|
|
27
|
+
Requires-Dist: py-netty
|
|
28
|
+
Requires-Dist: cryptography~=42.0.0
|
|
29
|
+
Requires-Dist: attrs~=22.1.0
|
|
26
30
|
|
|
27
31
|
# simple-proxy :rocket:
|
|
28
32
|
|
|
@@ -164,10 +164,15 @@ def _repr(obj):
|
|
|
164
164
|
|
|
165
165
|
def _all_args_repr(args, kw):
|
|
166
166
|
try:
|
|
167
|
-
args_repr = [repr(arg) for arg in args]
|
|
168
|
-
kws = [
|
|
167
|
+
args_repr = [f"<{len(arg)} bytes>" if isinstance(arg, (bytes, bytearray)) else repr(arg) for arg in args]
|
|
168
|
+
kws = []
|
|
169
|
+
for k, v in kw.items():
|
|
170
|
+
if isinstance(v, (bytes, bytearray)):
|
|
171
|
+
kws.append(f"{k}=<{len(v)} bytes>")
|
|
172
|
+
else:
|
|
173
|
+
kws.append(f"{k}={repr(v)}")
|
|
169
174
|
return ', '.join(args_repr + kws)
|
|
170
|
-
except Exception:
|
|
175
|
+
except (Exception,):
|
|
171
176
|
return "(?)"
|
|
172
177
|
|
|
173
178
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.8"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: simple-proxy
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: A very simple NIO TCP proxy server
|
|
5
5
|
Home-page: https://github.com/ruanhao/simple-proxy
|
|
6
6
|
Author: Hao Ruan
|
|
@@ -23,6 +23,10 @@ Classifier: Topic :: Software Development :: Libraries
|
|
|
23
23
|
Requires-Python: >=3.7, <4
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
|
+
Requires-Dist: click
|
|
27
|
+
Requires-Dist: py-netty
|
|
28
|
+
Requires-Dist: cryptography~=42.0.0
|
|
29
|
+
Requires-Dist: attrs~=22.1.0
|
|
26
30
|
|
|
27
31
|
# simple-proxy :rocket:
|
|
28
32
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.0.7"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|