fastled 1.4.25__py3-none-any.whl → 1.4.27__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.
- fastled/__version__.py +1 -1
- fastled/playwright/playwright_browser.py +21 -12
- {fastled-1.4.25.dist-info → fastled-1.4.27.dist-info}/METADATA +1 -1
- {fastled-1.4.25.dist-info → fastled-1.4.27.dist-info}/RECORD +8 -8
- {fastled-1.4.25.dist-info → fastled-1.4.27.dist-info}/WHEEL +0 -0
- {fastled-1.4.25.dist-info → fastled-1.4.27.dist-info}/entry_points.txt +0 -0
- {fastled-1.4.25.dist-info → fastled-1.4.27.dist-info}/licenses/LICENSE +0 -0
- {fastled-1.4.25.dist-info → fastled-1.4.27.dist-info}/top_level.txt +0 -0
fastled/__version__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# IMPORTANT! There's a bug in github which will REJECT any version update
|
2
2
|
# that has any other change in the repo. Please bump the version as the
|
3
3
|
# ONLY change in a commit, or else the pypi update and the release will fail.
|
4
|
-
__version__ = "1.4.
|
4
|
+
__version__ = "1.4.27"
|
5
5
|
|
6
6
|
__version_url_latest__ = "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/src/fastled/__version__.py"
|
@@ -413,21 +413,30 @@ class PlaywrightBrowser:
|
|
413
413
|
# Signal all tracking loops to exit
|
414
414
|
self._should_exit.set()
|
415
415
|
|
416
|
-
|
417
|
-
await self.page.close()
|
418
|
-
self.page = None
|
416
|
+
try:
|
419
417
|
|
420
|
-
|
421
|
-
|
422
|
-
|
418
|
+
if self.page:
|
419
|
+
await self.page.close()
|
420
|
+
self.page = None
|
421
|
+
|
422
|
+
if self.context:
|
423
|
+
await self.context.close()
|
424
|
+
self.context = None
|
423
425
|
|
424
|
-
|
425
|
-
|
426
|
-
|
426
|
+
if self.browser:
|
427
|
+
await self.browser.close()
|
428
|
+
self.browser = None
|
427
429
|
|
428
|
-
|
429
|
-
|
430
|
-
|
430
|
+
if self.playwright:
|
431
|
+
await self.playwright.stop()
|
432
|
+
self.playwright = None
|
433
|
+
except KeyboardInterrupt:
|
434
|
+
print("[PYTHON] Keyboard interrupt detected, closing Playwright browser")
|
435
|
+
self._should_exit.set()
|
436
|
+
import _thread
|
437
|
+
_thread.interrupt_main()
|
438
|
+
except Exception as e:
|
439
|
+
print(f"[PYTHON] Error closing Playwright browser: {e}")
|
431
440
|
|
432
441
|
|
433
442
|
def run_playwright_browser(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
fastled/__init__.py,sha256=dahiY41HLLotTjqmpVJmXSwUEp8NKqoZ57jt55hBLa4,7667
|
2
2
|
fastled/__main__.py,sha256=OcKv2ER1_iQAsZzLIUb3C8hRC9L2clNOhCrjpshrlf4,336
|
3
|
-
fastled/__version__.py,sha256=
|
3
|
+
fastled/__version__.py,sha256=v-lYfOwLr1cFHdgBewkSVAQ_MYx26SLsdNthanjiWQI,373
|
4
4
|
fastled/app.py,sha256=yZP_UbLLyteBkiYJQQLvqHmH14xwrayGKbL7jtjY6g4,6225
|
5
5
|
fastled/args.py,sha256=uYNM4ALYaB6vj4q4ypfvrgK7tNCEgvC_MBAyGyIeEx8,3885
|
6
6
|
fastled/cli.py,sha256=drgR2AOxVrj3QEz58iiKscYAumbbin2vIV-k91VCOAA,561
|
@@ -37,14 +37,14 @@ fastled/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54
|
|
37
37
|
fastled/assets/localhost-key.pem,sha256=Q-CNO_UoOd8fFNN4ljcnqwUeCMhzTplRjLO2x0pYRlU,1704
|
38
38
|
fastled/assets/localhost.pem,sha256=QTwUtTwjYWbm9m3pHW2IlK2nFZJ8b0pppxPjhgVZqQo,1619
|
39
39
|
fastled/playwright/chrome_extension_downloader.py,sha256=48YyQrsuK1TVXPuAvRGzqkQJnx0991Ka6OVUo1A58zU,7079
|
40
|
-
fastled/playwright/playwright_browser.py,sha256=
|
40
|
+
fastled/playwright/playwright_browser.py,sha256=PZwGOoK0SOEW379UhM0DFp-kf46jHrNUTyczKENEby0,28196
|
41
41
|
fastled/site/build.py,sha256=2YKU_UWKlJdGnjdbAbaL0co6kceFMSTVYwH1KCmgPZA,13987
|
42
42
|
fastled/site/examples.py,sha256=s6vj2zJc6BfKlnbwXr1QWY1mzuDBMt6j5MEBOWjO_U8,155
|
43
43
|
fastled/test/can_run_local_docker_tests.py,sha256=LEuUbHctRhNNFWcvnz2kEGmjDJeXO4c3kNpizm3yVJs,400
|
44
44
|
fastled/test/examples.py,sha256=GfaHeY1E8izBl6ZqDVjz--RHLyVR4NRnQ5pBesCFJFY,1673
|
45
|
-
fastled-1.4.
|
46
|
-
fastled-1.4.
|
47
|
-
fastled-1.4.
|
48
|
-
fastled-1.4.
|
49
|
-
fastled-1.4.
|
50
|
-
fastled-1.4.
|
45
|
+
fastled-1.4.27.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
|
46
|
+
fastled-1.4.27.dist-info/METADATA,sha256=G2y-XsjMdCC4-12VzhkyZHKZB0pYVwr_uZA2yNZNtkI,32441
|
47
|
+
fastled-1.4.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
48
|
+
fastled-1.4.27.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
|
49
|
+
fastled-1.4.27.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
|
50
|
+
fastled-1.4.27.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|