omlish 0.0.0.dev289__py3-none-any.whl → 0.0.0.dev290__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.
- omlish/__about__.py +3 -3
- omlish/http/urllib.py +23 -0
- {omlish-0.0.0.dev289.dist-info → omlish-0.0.0.dev290.dist-info}/METADATA +3 -3
- {omlish-0.0.0.dev289.dist-info → omlish-0.0.0.dev290.dist-info}/RECORD +8 -7
- {omlish-0.0.0.dev289.dist-info → omlish-0.0.0.dev290.dist-info}/WHEEL +1 -1
- {omlish-0.0.0.dev289.dist-info → omlish-0.0.0.dev290.dist-info}/entry_points.txt +0 -0
- {omlish-0.0.0.dev289.dist-info → omlish-0.0.0.dev290.dist-info}/licenses/LICENSE +0 -0
- {omlish-0.0.0.dev289.dist-info → omlish-0.0.0.dev290.dist-info}/top_level.txt +0 -0
omlish/__about__.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
__version__ = '0.0.0.
|
2
|
-
__revision__ = '
|
1
|
+
__version__ = '0.0.0.dev290'
|
2
|
+
__revision__ = 'ebbb2a4babf1f763c1caf685dbe12bcde2fa251f'
|
3
3
|
|
4
4
|
|
5
5
|
#
|
@@ -37,7 +37,7 @@ class Project(ProjectBase):
|
|
37
37
|
|
38
38
|
'greenlet ~= 3.2',
|
39
39
|
|
40
|
-
'trio ~= 0.
|
40
|
+
'trio ~= 0.30',
|
41
41
|
'trio-asyncio ~= 0.15',
|
42
42
|
],
|
43
43
|
|
omlish/http/urllib.py
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# @omlish-lite
|
2
|
+
import urllib.request
|
3
|
+
|
4
|
+
|
5
|
+
##
|
6
|
+
|
7
|
+
|
8
|
+
class NonRaisingUrllibErrorProcessor(urllib.request.HTTPErrorProcessor):
|
9
|
+
"""
|
10
|
+
https://stackoverflow.com/a/74844056
|
11
|
+
|
12
|
+
Usage:
|
13
|
+
|
14
|
+
opener = urllib.request.build_opener(NonRaisingUrllibErrorProcessor)
|
15
|
+
with opener.open(req) as resp:
|
16
|
+
...
|
17
|
+
"""
|
18
|
+
|
19
|
+
def http_response(self, request, response):
|
20
|
+
return response
|
21
|
+
|
22
|
+
def https_response(self, request, response):
|
23
|
+
return response
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: omlish
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev290
|
4
4
|
Summary: omlish
|
5
5
|
Author: wrmsr
|
6
6
|
License: BSD-3-Clause
|
@@ -16,7 +16,7 @@ Provides-Extra: all
|
|
16
16
|
Requires-Dist: anyio~=4.9; extra == "all"
|
17
17
|
Requires-Dist: sniffio~=1.3; extra == "all"
|
18
18
|
Requires-Dist: greenlet~=3.2; extra == "all"
|
19
|
-
Requires-Dist: trio~=0.
|
19
|
+
Requires-Dist: trio~=0.30; extra == "all"
|
20
20
|
Requires-Dist: trio-asyncio~=0.15; extra == "all"
|
21
21
|
Requires-Dist: lz4~=4.4; extra == "all"
|
22
22
|
Requires-Dist: python-snappy~=0.7; extra == "all"
|
@@ -55,7 +55,7 @@ Provides-Extra: async
|
|
55
55
|
Requires-Dist: anyio~=4.9; extra == "async"
|
56
56
|
Requires-Dist: sniffio~=1.3; extra == "async"
|
57
57
|
Requires-Dist: greenlet~=3.2; extra == "async"
|
58
|
-
Requires-Dist: trio~=0.
|
58
|
+
Requires-Dist: trio~=0.30; extra == "async"
|
59
59
|
Requires-Dist: trio-asyncio~=0.15; extra == "async"
|
60
60
|
Provides-Extra: compress
|
61
61
|
Requires-Dist: lz4~=4.4; extra == "compress"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
omlish/.manifests.json,sha256=pjGUyLHaoWpPqRP3jz2u1fC1qoRc2lvrEcpU_Ax2tdg,8253
|
2
|
-
omlish/__about__.py,sha256=
|
2
|
+
omlish/__about__.py,sha256=oeR_9krsJobU57yaBP1YUrwkXI9RXjfl3IONZ25CSmw,3444
|
3
3
|
omlish/__init__.py,sha256=SsyiITTuK0v74XpKV8dqNaCmjOlan1JZKrHQv5rWKPA,253
|
4
4
|
omlish/c3.py,sha256=rer-TPOFDU6fYq_AWio_AmA-ckZ8JDY5shIzQ_yXfzA,8414
|
5
5
|
omlish/cached.py,sha256=MLap_p0rdGoDIMVhXVHm1tsbcWobJF0OanoodV03Ju8,542
|
@@ -383,6 +383,7 @@ omlish/http/multipart.py,sha256=R9ycpHsXRcmh0uoc43aYb7BdWL-8kSQHe7J-M81aQZM,2240
|
|
383
383
|
omlish/http/parsing.py,sha256=Kz1n-2SwqSbRtPk1nlImf655c2YtGLW4WlTI82o3c1w,14356
|
384
384
|
omlish/http/sessions.py,sha256=TfTJ_j-6c9PelG_RmijEwozfaVm3O7YzgtFvp8VzQqM,4799
|
385
385
|
omlish/http/sse.py,sha256=NwJnQj-hFXAkadXKhUuHSnbXHwDVJjhzfdkkHQ-prQo,2320
|
386
|
+
omlish/http/urllib.py,sha256=LwtMXDkjb9tYnOi6iApizHXpCiyjB1r72ePo_Nzv1vQ,466
|
386
387
|
omlish/http/versions.py,sha256=wSiOXPiClVjkVgSU_VmxkoD1SUYGaoPbP0U5Aw-Ufg8,409
|
387
388
|
omlish/http/wsgi.py,sha256=1JpfrY2JrQ0wrEVE0oLdQMWZw8Zcx0b4_9f3VmH4JKA,1070
|
388
389
|
omlish/http/clients/__init__.py,sha256=SeH3ofjQvk7VuV9OE1uJir9QMZwvEuDl7fptkKgGQUU,449
|
@@ -830,9 +831,9 @@ omlish/typedvalues/holder.py,sha256=4SwRezsmuDDEO5gENGx8kTm30pblF5UktoEAu02i-Gk,
|
|
830
831
|
omlish/typedvalues/marshal.py,sha256=Rr-4DZ90BoD5Z9gT18QhZH2yMA3-gPJBK8GUrGkp8VA,4245
|
831
832
|
omlish/typedvalues/reflect.py,sha256=y_7IY8_4cLVRvD3ug-_-cDaO5RtzC1rLVFzkeAPALf8,683
|
832
833
|
omlish/typedvalues/values.py,sha256=Q_5IiQM3Vka4wGVd-scaslb4-oCMjFcIOksIrKE-JIM,1229
|
833
|
-
omlish-0.0.0.
|
834
|
-
omlish-0.0.0.
|
835
|
-
omlish-0.0.0.
|
836
|
-
omlish-0.0.0.
|
837
|
-
omlish-0.0.0.
|
838
|
-
omlish-0.0.0.
|
834
|
+
omlish-0.0.0.dev290.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
835
|
+
omlish-0.0.0.dev290.dist-info/METADATA,sha256=mlzTXMgNxL2crv8buBrhFsKzvguDXk_sMGiWLJEKHZc,4316
|
836
|
+
omlish-0.0.0.dev290.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
|
837
|
+
omlish-0.0.0.dev290.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
|
838
|
+
omlish-0.0.0.dev290.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
|
839
|
+
omlish-0.0.0.dev290.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|