fastled 1.4.2__py3-none-any.whl → 1.4.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.
- fastled/__init__.py +1 -1
- fastled/__version__.py +1 -1
- fastled/filewatcher.py +4 -5
- fastled/site/build.py +2 -5
- {fastled-1.4.2.dist-info → fastled-1.4.3.dist-info}/METADATA +2 -2
- {fastled-1.4.2.dist-info → fastled-1.4.3.dist-info}/RECORD +10 -10
- {fastled-1.4.2.dist-info → fastled-1.4.3.dist-info}/WHEEL +0 -0
- {fastled-1.4.2.dist-info → fastled-1.4.3.dist-info}/entry_points.txt +0 -0
- {fastled-1.4.2.dist-info → fastled-1.4.3.dist-info}/licenses/LICENSE +0 -0
- {fastled-1.4.2.dist-info → fastled-1.4.3.dist-info}/top_level.txt +0 -0
fastled/__init__.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
"""FastLED Wasm Compiler package."""
|
2
2
|
|
3
|
+
from collections.abc import Generator
|
3
4
|
from contextlib import contextmanager
|
4
5
|
from multiprocessing import Process
|
5
6
|
from pathlib import Path
|
6
|
-
from typing import Generator
|
7
7
|
|
8
8
|
from .__version__ import __version__
|
9
9
|
from .compile_server import CompileServer
|
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.3"
|
5
5
|
|
6
6
|
__version_url_latest__ = "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/src/fastled/__version__.py"
|
fastled/filewatcher.py
CHANGED
@@ -10,7 +10,6 @@ from contextlib import redirect_stdout
|
|
10
10
|
from multiprocessing import Process, Queue
|
11
11
|
from pathlib import Path
|
12
12
|
from queue import Empty
|
13
|
-
from typing import Dict, Set
|
14
13
|
|
15
14
|
from watchdog.events import FileSystemEvent, FileSystemEventHandler
|
16
15
|
from watchdog.observers import Observer
|
@@ -35,8 +34,8 @@ class MyEventHandler(FileSystemEventHandler):
|
|
35
34
|
def __init__(
|
36
35
|
self,
|
37
36
|
change_queue: queue.Queue,
|
38
|
-
excluded_patterns:
|
39
|
-
file_hashes:
|
37
|
+
excluded_patterns: set[str],
|
38
|
+
file_hashes: dict[str, str],
|
40
39
|
) -> None:
|
41
40
|
super().__init__()
|
42
41
|
self.change_queue = change_queue
|
@@ -94,8 +93,8 @@ class FileChangedNotifier(threading.Thread):
|
|
94
93
|
)
|
95
94
|
self.stopped = False
|
96
95
|
self.change_queue: queue.Queue = queue.Queue()
|
97
|
-
self.last_notification:
|
98
|
-
self.file_hashes:
|
96
|
+
self.last_notification: dict[str, float] = {}
|
97
|
+
self.file_hashes: dict[str, str] = {}
|
99
98
|
self.debounce_seconds = debounce_seconds
|
100
99
|
|
101
100
|
def stop(self) -> None:
|
fastled/site/build.py
CHANGED
@@ -265,7 +265,6 @@ INDEX_TEMPLATE = """<!DOCTYPE html>
|
|
265
265
|
checkmark.style.color = '#E0E0E0';
|
266
266
|
link.appendChild(checkmark);
|
267
267
|
}});
|
268
|
-
|
269
268
|
// Now load first example and show its checkmark
|
270
269
|
if (links.length > 0) {{
|
271
270
|
// Try to find SdCard example first
|
@@ -274,7 +273,6 @@ INDEX_TEMPLATE = """<!DOCTYPE html>
|
|
274
273
|
startLink.classList.add('active');
|
275
274
|
startLink.querySelector('.fa-check').style.display = 'inline-block';
|
276
275
|
}}
|
277
|
-
|
278
276
|
// Add click handlers
|
279
277
|
links.forEach(link => {{
|
280
278
|
link.addEventListener('click', function(e) {{
|
@@ -313,11 +311,10 @@ INDEX_TEMPLATE = """<!DOCTYPE html>
|
|
313
311
|
showNav();
|
314
312
|
}}
|
315
313
|
}});
|
316
|
-
|
317
314
|
// Close menu when clicking anywhere in the document
|
318
315
|
document.addEventListener('click', (e) => {{
|
319
|
-
if (navPane.classList.contains('visible') &&
|
320
|
-
!navPane.contains(e.target) &&
|
316
|
+
if (navPane.classList.contains('visible') &&
|
317
|
+
!navPane.contains(e.target) &&
|
321
318
|
!navTrigger.contains(e.target)) {{
|
322
319
|
hideNav();
|
323
320
|
}}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fastled
|
3
|
-
Version: 1.4.
|
3
|
+
Version: 1.4.3
|
4
4
|
Summary: FastLED Wasm Compiler
|
5
5
|
Home-page: https://github.com/zackees/fastled-wasm
|
6
6
|
Maintainer: Zachary Vorhies
|
@@ -10,7 +10,7 @@ Classifier: Programming Language :: Python :: 3
|
|
10
10
|
Requires-Python: >=3.10
|
11
11
|
Description-Content-Type: text/markdown
|
12
12
|
License-File: LICENSE
|
13
|
-
Requires-Dist:
|
13
|
+
Requires-Dist: fastled-wasm-server>=1.1.0
|
14
14
|
Requires-Dist: watchdog>=6.0.0
|
15
15
|
Requires-Dist: docker>=7.1.0
|
16
16
|
Requires-Dist: filelock>=3.16.1
|
@@ -1,6 +1,6 @@
|
|
1
|
-
fastled/__init__.py,sha256=
|
1
|
+
fastled/__init__.py,sha256=Jdl62kknNs1cGo1ZA6jTS13kWiB0F-mDopDnWBLVDV8,7309
|
2
2
|
fastled/__main__.py,sha256=OcKv2ER1_iQAsZzLIUb3C8hRC9L2clNOhCrjpshrlf4,336
|
3
|
-
fastled/__version__.py,sha256=
|
3
|
+
fastled/__version__.py,sha256=Hul0Ut4Dc0Q7V2YVvCcsPCYEo4t5gnBErMyN3wRBxPg,372
|
4
4
|
fastled/app.py,sha256=6XOuObi72AUnZXASDOVbcSflr4He0xnIDk5P8nVmVus,6131
|
5
5
|
fastled/args.py,sha256=uCMyRIYM8gFE52O12YKUfA-rwJL8Zxwk_hsH3cusSac,3669
|
6
6
|
fastled/cli.py,sha256=drgR2AOxVrj3QEz58iiKscYAumbbin2vIV-k91VCOAA,561
|
@@ -10,7 +10,7 @@ fastled/client_server.py,sha256=n3N-i7EgWtoyb3eR8TaCc3a3Mth9cUcYsyMNICtlJZc,2074
|
|
10
10
|
fastled/compile_server.py,sha256=yQtwLOSKINO1CKD0NWxf-7YQKSatf9sF9RuqaWGOkCs,3038
|
11
11
|
fastled/compile_server_impl.py,sha256=9vTGaDQ0W_g9Xsfy0gC3nJEc2g_pnXcF4VO2U3GLOVg,11982
|
12
12
|
fastled/docker_manager.py,sha256=rkq39ZKrU6NHIyDa3mzs0Unb6o9oMeAwxhqiuHJU_RY,40291
|
13
|
-
fastled/filewatcher.py,sha256=
|
13
|
+
fastled/filewatcher.py,sha256=L5kLl9y04e6QeXiOv8xuZ-i73G1FzHrWGvQavwGTuko,10007
|
14
14
|
fastled/keyboard.py,sha256=UTAsqCn1UMYnB8YDzENiLTj4GeL45tYfEcO7_5fLFEg,3556
|
15
15
|
fastled/keyz.py,sha256=LO-8m_7CpNDiZLM-FXhQ30f9gN1bUYz5lOsUPTIbI-c,4020
|
16
16
|
fastled/live_client.py,sha256=aDZqSWDMpqNaEsT3u1nrBcdeIOItv-L0Gk2A10difLA,3209
|
@@ -34,13 +34,13 @@ fastled/web_compile.py,sha256=BPrlrW7RMAtnbYUFF3LDn0ORx7aiMOuQkSlYF_gA1o0,11867
|
|
34
34
|
fastled/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54
|
35
35
|
fastled/assets/localhost-key.pem,sha256=Q-CNO_UoOd8fFNN4ljcnqwUeCMhzTplRjLO2x0pYRlU,1704
|
36
36
|
fastled/assets/localhost.pem,sha256=QTwUtTwjYWbm9m3pHW2IlK2nFZJ8b0pppxPjhgVZqQo,1619
|
37
|
-
fastled/site/build.py,sha256=
|
37
|
+
fastled/site/build.py,sha256=GZtknx3UqJZAP2x7IqoR5G1MJj_9boOWepkKrWAMThE,13946
|
38
38
|
fastled/site/examples.py,sha256=s6vj2zJc6BfKlnbwXr1QWY1mzuDBMt6j5MEBOWjO_U8,155
|
39
39
|
fastled/test/can_run_local_docker_tests.py,sha256=LEuUbHctRhNNFWcvnz2kEGmjDJeXO4c3kNpizm3yVJs,400
|
40
40
|
fastled/test/examples.py,sha256=GfaHeY1E8izBl6ZqDVjz--RHLyVR4NRnQ5pBesCFJFY,1673
|
41
|
-
fastled-1.4.
|
42
|
-
fastled-1.4.
|
43
|
-
fastled-1.4.
|
44
|
-
fastled-1.4.
|
45
|
-
fastled-1.4.
|
46
|
-
fastled-1.4.
|
41
|
+
fastled-1.4.3.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
|
42
|
+
fastled-1.4.3.dist-info/METADATA,sha256=iRUvEJ_aI8qbOYRoD2kiCncSwGu6r1BiWmpleBemiC4,32382
|
43
|
+
fastled-1.4.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
44
|
+
fastled-1.4.3.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
|
45
|
+
fastled-1.4.3.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
|
46
|
+
fastled-1.4.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|