pyloid 0.26.1__py3-none-any.whl → 0.26.3__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.
- pyloid/__init__.py +0 -5
- pyloid/browser_window.py +1 -1
- pyloid/serve.py +2 -3
- {pyloid-0.26.1.dist-info → pyloid-0.26.3.dist-info}/METADATA +1 -1
- {pyloid-0.26.1.dist-info → pyloid-0.26.3.dist-info}/RECORD +7 -7
- {pyloid-0.26.1.dist-info → pyloid-0.26.3.dist-info}/LICENSE +0 -0
- {pyloid-0.26.1.dist-info → pyloid-0.26.3.dist-info}/WHEEL +0 -0
pyloid/__init__.py
CHANGED
pyloid/browser_window.py
CHANGED
|
@@ -338,7 +338,7 @@ class _BrowserWindow:
|
|
|
338
338
|
self.context_menu = context_menu
|
|
339
339
|
self.dev_tools = dev_tools
|
|
340
340
|
|
|
341
|
-
self.js_apis = [BaseAPI(self.id, self.app.data, self.app, self.app.server.url)]
|
|
341
|
+
self.js_apis = [BaseAPI(self.id, self.app.data, self.app, self.app.server.url if self.app.server else None)]
|
|
342
342
|
|
|
343
343
|
# for js_api in js_apis:
|
|
344
344
|
# self.js_apis.append(js_api)
|
pyloid/serve.py
CHANGED
|
@@ -9,7 +9,6 @@ from pathlib import Path
|
|
|
9
9
|
from .utils import get_free_port, is_production
|
|
10
10
|
import logging
|
|
11
11
|
|
|
12
|
-
# 로깅 설정
|
|
13
12
|
logging.getLogger('aiohttp').setLevel(logging.WARNING)
|
|
14
13
|
|
|
15
14
|
|
|
@@ -38,7 +37,7 @@ class ZeroCopyStaticHandler:
|
|
|
38
37
|
"""HTTP request processing"""
|
|
39
38
|
try:
|
|
40
39
|
# URL path parsing
|
|
41
|
-
path = request.path_qs.split('?')[0] #
|
|
40
|
+
path = request.path_qs.split('?')[0] # remove query parameters
|
|
42
41
|
if path.endswith('/'):
|
|
43
42
|
path += 'index.html'
|
|
44
43
|
|
|
@@ -213,7 +212,7 @@ def pyloid_serve(
|
|
|
213
212
|
start_zero_copy_server(directory, port)
|
|
214
213
|
)
|
|
215
214
|
|
|
216
|
-
print(f"🚀 Zero-copy server started on http://127.0.0.1:{port}")
|
|
215
|
+
print(f"🚀 Zero-copy frontend server started on http://127.0.0.1:{port}")
|
|
217
216
|
print(f"📁 Serving directory: {directory}")
|
|
218
217
|
print(f"⚡ Features: sendfile, Range requests, ETag caching")
|
|
219
218
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
pyloid/__init__.py,sha256=
|
|
1
|
+
pyloid/__init__.py,sha256=XFrdp5WHboYiQQpR5BMFTuvIt8wAxKiuo7CBfbo1p5U,50
|
|
2
2
|
pyloid/api.py,sha256=A61Kmddh8BlpT3LfA6NbPQNzFmD95vQ4WKX53oKsGYU,2419
|
|
3
3
|
pyloid/autostart.py,sha256=K7DQYl4LHItvPp0bt1V9WwaaZmVSTeGvadkcwG-KKrI,3899
|
|
4
|
-
pyloid/browser_window.py,sha256=
|
|
4
|
+
pyloid/browser_window.py,sha256=3tRJ16fFClWtEZLbIJLRDNM2TZ4EaifqH9Eki7wnOtc,103256
|
|
5
5
|
pyloid/custom/titlebar.py,sha256=itzK9pJbZMQ7BKca9kdbuHMffurrw15UijR6OU03Xsk,3894
|
|
6
6
|
pyloid/filewatcher.py,sha256=3M5zWVUf1OhlkWJcDFC8ZA9agO4Q-U8WdgGpy6kaVz0,4601
|
|
7
7
|
pyloid/js_api/base.py,sha256=VmoFIxwPj9inkMFYEspJvbn3iqiftxbg5Kja-6z-BzQ,8600
|
|
@@ -10,14 +10,14 @@ pyloid/js_api/window_api.py,sha256=-isphU3m2wGB5U0yZrSuK_4XiBz2mG45HsjYTUq7Fxs,7
|
|
|
10
10
|
pyloid/monitor.py,sha256=1mXvHm5deohnNlTLcRx4sT4x-stnOIb0dUQnnxN50Uo,28295
|
|
11
11
|
pyloid/pyloid.py,sha256=hUCKR92MhRzceSocMtOLEdRHQn0e1jly71u0Di1wFl4,84274
|
|
12
12
|
pyloid/rpc.py,sha256=6UzQc-CDA72VYeF3Xy-7AbBculE-T0MIokR39jVdlcg,21726
|
|
13
|
-
pyloid/serve.py,sha256=
|
|
13
|
+
pyloid/serve.py,sha256=lQ09i3FcfKfPK2kYu1AwNoupbyQBP6BGM6OTgBLV974,7881
|
|
14
14
|
pyloid/store.py,sha256=8PnBxtkUgbF8Lxh-iYlEuhbLE76bGBF8t5KV5u5NzoQ,4831
|
|
15
15
|
pyloid/thread_pool.py,sha256=fKOBb8jMfZn_7crA_fJCno8dObBRZE31EIWaNQ759aw,14616
|
|
16
16
|
pyloid/timer.py,sha256=RqMsChFUd93cxMVgkHWiIKrci0QDTBgJSTULnAtYT8M,8712
|
|
17
17
|
pyloid/tray.py,sha256=D12opVEc2wc2T4tK9epaN1oOdeziScsIVNM2uCN7C-A,1710
|
|
18
18
|
pyloid/url_interceptor.py,sha256=DanXAGwwLlpn9cEiVRTdsX49udlIfYzBzaM-QRRpdkY,830
|
|
19
19
|
pyloid/utils.py,sha256=J6owgVE1YDOEfcOPmoP9m9Q6nbYDyNEo9uqPsJs5p5g,6644
|
|
20
|
-
pyloid-0.26.
|
|
21
|
-
pyloid-0.26.
|
|
22
|
-
pyloid-0.26.
|
|
23
|
-
pyloid-0.26.
|
|
20
|
+
pyloid-0.26.3.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
|
|
21
|
+
pyloid-0.26.3.dist-info/METADATA,sha256=B3vAVFHtITdmqljQYHIIq_5KQj6yMksieO_7d3HgJlY,2298
|
|
22
|
+
pyloid-0.26.3.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
23
|
+
pyloid-0.26.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|