omserv 0.0.0.dev405__py3-none-any.whl → 0.0.0.dev407__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.
- omserv/.manifests.json +3 -3
- omserv/apps/templates.py +1 -0
- omserv/nginx/logs.py +3 -3
- omserv/nodes/sql.py +2 -0
- omserv/server/lifespans.py +1 -0
- omserv/server/protocols/h11.py +2 -0
- omserv/server/protocols/h2.py +1 -0
- omserv/server/protocols/protocols.py +1 -0
- omserv/server/streams/httpstream.py +1 -0
- omserv/server/taskspawner.py +1 -0
- omserv/server/types.py +1 -0
- omserv/server/workercontext.py +2 -0
- {omserv-0.0.0.dev405.dist-info → omserv-0.0.0.dev407.dist-info}/METADATA +2 -2
- {omserv-0.0.0.dev405.dist-info → omserv-0.0.0.dev407.dist-info}/RECORD +18 -18
- {omserv-0.0.0.dev405.dist-info → omserv-0.0.0.dev407.dist-info}/WHEEL +0 -0
- {omserv-0.0.0.dev405.dist-info → omserv-0.0.0.dev407.dist-info}/entry_points.txt +0 -0
- {omserv-0.0.0.dev405.dist-info → omserv-0.0.0.dev407.dist-info}/licenses/LICENSE +0 -0
- {omserv-0.0.0.dev405.dist-info → omserv-0.0.0.dev407.dist-info}/top_level.txt +0 -0
omserv/.manifests.json
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"file": "omserv/nginx/logs.py",
|
|
6
6
|
"line": 68,
|
|
7
7
|
"value": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
8
|
+
"!omdev.cli.types.CliModule": {
|
|
9
|
+
"name": "nginxlogs",
|
|
10
|
+
"module": "omserv.nginx.logs"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|
omserv/apps/templates.py
CHANGED
omserv/nginx/logs.py
CHANGED
|
@@ -66,9 +66,9 @@ def parse_nginx_log_line(
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
# @omlish-manifest
|
|
69
|
-
_CLI_MODULE = {'
|
|
70
|
-
'
|
|
71
|
-
'
|
|
69
|
+
_CLI_MODULE = {'!omdev.cli.types.CliModule': {
|
|
70
|
+
'name': 'nginxlogs',
|
|
71
|
+
'module': __name__,
|
|
72
72
|
}}
|
|
73
73
|
|
|
74
74
|
|
omserv/nodes/sql.py
CHANGED
|
@@ -85,6 +85,7 @@ class CreateUpdateAtTrigger(sa.schema.DDLElement):
|
|
|
85
85
|
|
|
86
86
|
def __init__(self, table_name: str) -> None:
|
|
87
87
|
super().__init__()
|
|
88
|
+
|
|
88
89
|
self.table_name = table_name
|
|
89
90
|
|
|
90
91
|
|
|
@@ -111,6 +112,7 @@ class DropUpdateAtTrigger(sa.schema.DDLElement):
|
|
|
111
112
|
|
|
112
113
|
def __init__(self, table_name: str) -> None:
|
|
113
114
|
super().__init__()
|
|
115
|
+
|
|
114
116
|
self.table_name = table_name
|
|
115
117
|
|
|
116
118
|
|
omserv/server/lifespans.py
CHANGED
omserv/server/protocols/h11.py
CHANGED
|
@@ -43,6 +43,7 @@ STREAM_ID = 1
|
|
|
43
43
|
class H2CProtocolRequiredError(Exception):
|
|
44
44
|
def __init__(self, data: bytes, request: h11.Request) -> None:
|
|
45
45
|
super().__init__()
|
|
46
|
+
|
|
46
47
|
settings = ''
|
|
47
48
|
headers = [(b':method', request.method), (b':path', request.target)]
|
|
48
49
|
for name, value in request.headers:
|
|
@@ -60,6 +61,7 @@ class H2CProtocolRequiredError(Exception):
|
|
|
60
61
|
class H2ProtocolAssumedError(Exception):
|
|
61
62
|
def __init__(self, data: bytes) -> None:
|
|
62
63
|
super().__init__()
|
|
64
|
+
|
|
63
65
|
self.data = data
|
|
64
66
|
|
|
65
67
|
|
omserv/server/protocols/h2.py
CHANGED
omserv/server/taskspawner.py
CHANGED
omserv/server/types.py
CHANGED
omserv/server/workercontext.py
CHANGED
|
@@ -9,6 +9,7 @@ from .types import WaitableEvent
|
|
|
9
9
|
class WaitableEventWrapper:
|
|
10
10
|
def __init__(self) -> None:
|
|
11
11
|
super().__init__()
|
|
12
|
+
|
|
12
13
|
self._event = anyio.Event()
|
|
13
14
|
|
|
14
15
|
async def clear(self) -> None:
|
|
@@ -29,6 +30,7 @@ class WorkerContext:
|
|
|
29
30
|
|
|
30
31
|
def __init__(self, max_requests: int | None) -> None:
|
|
31
32
|
super().__init__()
|
|
33
|
+
|
|
32
34
|
self.max_requests = max_requests
|
|
33
35
|
self.requests = 0
|
|
34
36
|
self.terminate = self.event_class()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: omserv
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev407
|
|
4
4
|
Summary: omserv
|
|
5
5
|
Author: wrmsr
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
14
14
|
Requires-Python: >=3.13
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: omlish==0.0.0.
|
|
17
|
+
Requires-Dist: omlish==0.0.0.dev407
|
|
18
18
|
Provides-Extra: all
|
|
19
19
|
Requires-Dist: h11~=0.16; extra == "all"
|
|
20
20
|
Requires-Dist: h2~=4.2; extra == "all"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
omserv/.manifests.json,sha256=
|
|
1
|
+
omserv/.manifests.json,sha256=mKVND4MOWwi6PcMlPy7E0cW0d5gZOxtYYL5sjcSAOOI,254
|
|
2
2
|
omserv/__about__.py,sha256=uf--5HCe4fnc_IJQyQO03TUR2jiyuzOGu3s9UnbidhM,765
|
|
3
3
|
omserv/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
omserv/apps/__init__.py,sha256=buRI0lsNdbR08TjRKLhGsFHWETS2Br_mb6mm-8u9FII,617
|
|
@@ -7,17 +7,17 @@ omserv/apps/inject.py,sha256=oY4rEylPSdArIWhEAz2btido0OgtGwS52dzwz4L_710,2421
|
|
|
7
7
|
omserv/apps/markers.py,sha256=JE_px0vsJqoDIDRFu9xtXsKjtxYAshUsFB0aRsoeIcg,965
|
|
8
8
|
omserv/apps/routes.py,sha256=dYhLtfN8jWJNWDz4t3cOJd0DDAQuTFG3FTmFP8QEUw0,7412
|
|
9
9
|
omserv/apps/sessions.py,sha256=4HFHra43S0TaM2OcWUZ06eQwAqEaXuhjK5X5jlI0_44,1423
|
|
10
|
-
omserv/apps/templates.py,sha256=
|
|
10
|
+
omserv/apps/templates.py,sha256=Na-aRaLr9SGp8FuSMztg0pGbdOjisF7M5m_MkkWQ820,2126
|
|
11
11
|
omserv/nginx/__init__.py,sha256=2d63LCGFA2qS7gdl2nCvNPmQWXNICu19wZIihQJPHCs,48
|
|
12
12
|
omserv/nginx/build.py,sha256=YHrZCscy4jL_wmOwyv_8AXXZvj4_Mn-M_BgyABHHeJM,3208
|
|
13
|
-
omserv/nginx/logs.py,sha256=
|
|
13
|
+
omserv/nginx/logs.py,sha256=iwstECbgZrlMao34OwD_0LuC8i2_26MG580lqFTTPzs,1839
|
|
14
14
|
omserv/nginx/stubstatus.py,sha256=eZpR8BFUWbpRfYy1qCmHYw7s2c4BaY4dgyUfYUHFMv4,1862
|
|
15
15
|
omserv/nginx/patches/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
omserv/nginx/patches/nginx-1.28.0_http_status.patch,sha256=bEDSczpBLcdjcBp_X1m73oxvt8KPeons7v_sUxqBSXM,4335
|
|
17
17
|
omserv/nodes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
omserv/nodes/models.py,sha256=EOaq-aW1rbGOzHTmTULhbVwV5j_burL07qh2QO9smdM,1273
|
|
19
19
|
omserv/nodes/registry.py,sha256=y67VMowll9IuLiTVgauAcbP8-evFJNqpwocwwt7kZL4,3478
|
|
20
|
-
omserv/nodes/sql.py,sha256=
|
|
20
|
+
omserv/nodes/sql.py,sha256=ubI3A9UDEWfQ2E_LUSBcRQ8U913OLNBl70pDlryprxc,2828
|
|
21
21
|
omserv/server/LICENSE,sha256=VKPNmbyrS9wcwcx20hBlVtLP01brb2dByHrWHeNLPag,1050
|
|
22
22
|
omserv/server/__init__.py,sha256=YnPjrvhQAAqyNSv_hMJOID7JaP1CXXE7c7rSrsBEJtU,440
|
|
23
23
|
omserv/server/config.py,sha256=lqYmklPOZfXOVWp3FxQshdxXCCjCBky1I7pmil7OlNc,1194
|
|
@@ -26,29 +26,29 @@ omserv/server/default.py,sha256=BvvxkqkSOmxD5LIAU2SMggabuPNnKGX6AZv-lDCt11U,975
|
|
|
26
26
|
omserv/server/events.py,sha256=VMr_rArsVjJYnyH9SqLWtOLUg18vSu1O0ep9gNBGR_c,1369
|
|
27
27
|
omserv/server/headers.py,sha256=VoLEGqhe4BK38THAbD9GzAqBAEj1S2-XUP8cml8g3yo,1193
|
|
28
28
|
omserv/server/inject.py,sha256=geONd8dS-5EyzFQcas8PRPo0BaFqsx6fIUR-COEnf_E,459
|
|
29
|
-
omserv/server/lifespans.py,sha256=
|
|
29
|
+
omserv/server/lifespans.py,sha256=qUJY-485hiP-IJBqaMg41GvRDIMZoiznz7wCbifa-Mk,4613
|
|
30
30
|
omserv/server/listener.py,sha256=aH_Qg442xsnkUeDgqdST9m1dFvhGe09U6WdrYBw-rXE,7035
|
|
31
31
|
omserv/server/multiprocess.py,sha256=1IDdSv9S0O7jOtroSnEaAAyeHTx_J_ixZJgT_1VvlBI,4242
|
|
32
32
|
omserv/server/server.py,sha256=10E1QIDhaHkiC1_mmu_mvbXvJp5xyRbeuCO7qOiBOEk,5216
|
|
33
33
|
omserv/server/sockets.py,sha256=76tFEpfD5aXAosNibkt-SQBOpvXnzTJsgcP0dAI_kxY,3394
|
|
34
34
|
omserv/server/ssl.py,sha256=7ehegXxyW2jG2PvZHmJ4xBrv2ZSp1njWfSrZgE1Ez-k,1488
|
|
35
|
-
omserv/server/taskspawner.py,sha256=
|
|
36
|
-
omserv/server/types.py,sha256=
|
|
37
|
-
omserv/server/workercontext.py,sha256=
|
|
35
|
+
omserv/server/taskspawner.py,sha256=JGLWP-eSoOBjQfjrNmOQQN7FM33G0ghM5myk6WEVO7Y,3014
|
|
36
|
+
omserv/server/types.py,sha256=mUgmhjBT3bPd5vgyX3dq8L4iWTODgsh142xEI6HqLq0,2060
|
|
37
|
+
omserv/server/workercontext.py,sha256=psCQXv3KqF1aaT-15VcSRcg415k_45Sw3rWJm5c-ABM,1207
|
|
38
38
|
omserv/server/protocols/__init__.py,sha256=Ryu2PDZ1TUI6F2l-HBEYgyzZ7wHqE6VmjqnS0tIvmQI,47
|
|
39
|
-
omserv/server/protocols/h11.py,sha256=
|
|
40
|
-
omserv/server/protocols/h2.py,sha256=
|
|
41
|
-
omserv/server/protocols/protocols.py,sha256=
|
|
39
|
+
omserv/server/protocols/h11.py,sha256=fXHUch4ztBJivCs_Dii2DXG_0Vd56KDs0J6n9LBfQbQ,11967
|
|
40
|
+
omserv/server/protocols/h2.py,sha256=GbOM-ZUoh7LSPpNf9sUFvJjfQnLep-7b5QSS9NJ0Qs4,16033
|
|
41
|
+
omserv/server/protocols/protocols.py,sha256=r8erX1Ivpu71T8lJTKfJjQQe6WVi9yZSstlaM0SfrqM,2796
|
|
42
42
|
omserv/server/protocols/types.py,sha256=jAZ8kz-07WbbjPGnF7ioWPNkJaTQfGY0tnn2HCpqnpg,445
|
|
43
43
|
omserv/server/resources/__init__.py,sha256=KppZbvZBKX1TdyaQZYY92oEKpdB3nuUXxharAgrbAIA,193
|
|
44
44
|
omserv/server/resources/favicon.ico,sha256=48hwhc03Fp6Rbj0fEQEB95woJMhCDsM2nMZJfeKAU0g,38078
|
|
45
45
|
omserv/server/streams/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
|
-
omserv/server/streams/httpstream.py,sha256=
|
|
46
|
+
omserv/server/streams/httpstream.py,sha256=bxlpmVyVyAlKIV8DOBqD-Oa6Pgd4jwT3isv_iJ1onVk,8021
|
|
47
47
|
omserv/server/streams/utils.py,sha256=wgYrZGG3c1MkNVeEfDmYX2uUKYSbmGQsjeakc1xV_YQ,1532
|
|
48
48
|
omserv/server/streams/wsstream.py,sha256=EmVnWINOPn8cvqyiIXP74RJtLn459Z9ey0TX7PuF5-Y,15487
|
|
49
|
-
omserv-0.0.0.
|
|
50
|
-
omserv-0.0.0.
|
|
51
|
-
omserv-0.0.0.
|
|
52
|
-
omserv-0.0.0.
|
|
53
|
-
omserv-0.0.0.
|
|
54
|
-
omserv-0.0.0.
|
|
49
|
+
omserv-0.0.0.dev407.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
|
50
|
+
omserv-0.0.0.dev407.dist-info/METADATA,sha256=8qrfUTa22F8Ra3fCjusuuAOcudPLv1bt22YdfRbwJtg,1400
|
|
51
|
+
omserv-0.0.0.dev407.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
52
|
+
omserv-0.0.0.dev407.dist-info/entry_points.txt,sha256=ivSrdA_ahEbI-eVMu-XZS-z4VrnQISvpecIkOqC9zFM,35
|
|
53
|
+
omserv-0.0.0.dev407.dist-info/top_level.txt,sha256=HXehpnxeKscKNULzKNzZ27oNawBrsh1PaNAirbX-XNA,7
|
|
54
|
+
omserv-0.0.0.dev407.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|