fastled 1.3.13__py3-none-any.whl → 1.3.14__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/compile_server_impl.py +3 -4
- fastled/util.py +11 -6
- {fastled-1.3.13.dist-info → fastled-1.3.14.dist-info}/METADATA +6 -2
- {fastled-1.3.13.dist-info → fastled-1.3.14.dist-info}/RECORD +9 -9
- {fastled-1.3.13.dist-info → fastled-1.3.14.dist-info}/WHEEL +1 -1
- {fastled-1.3.13.dist-info → fastled-1.3.14.dist-info}/entry_points.txt +0 -0
- {fastled-1.3.13.dist-info → fastled-1.3.14.dist-info}/licenses/LICENSE +0 -0
- {fastled-1.3.13.dist-info → fastled-1.3.14.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.3.
|
4
|
+
__version__ = "1.3.14"
|
5
5
|
|
6
6
|
__version_url_latest__ = "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/src/fastled/__version__.py"
|
fastled/compile_server_impl.py
CHANGED
@@ -18,7 +18,7 @@ from fastled.docker_manager import (
|
|
18
18
|
from fastled.settings import DEFAULT_CONTAINER_NAME, IMAGE_NAME, SERVER_PORT
|
19
19
|
from fastled.sketch import looks_like_fastled_repo
|
20
20
|
from fastled.types import BuildMode, CompileResult, CompileServerError
|
21
|
-
from fastled.util import port_is_free
|
21
|
+
from fastled.util import port_is_free, print_banner
|
22
22
|
|
23
23
|
SERVER_OPTIONS = [
|
24
24
|
"--allow-shutdown", # Allow the server to be shut down without a force kill.
|
@@ -221,9 +221,8 @@ class CompileServerImpl:
|
|
221
221
|
ports = {INTERNAL_DOCKER_PORT: port}
|
222
222
|
volumes = []
|
223
223
|
if self.fastled_src_dir:
|
224
|
-
|
225
|
-
|
226
|
-
)
|
224
|
+
msg = f"FastLED REPO updates enabled!!\n\nMounting FastLED source directory\n{self.fastled_src_dir} into container\n/host/fastled/src"
|
225
|
+
print_banner(msg)
|
227
226
|
volumes.append(
|
228
227
|
Volume(
|
229
228
|
host_path=str(self.fastled_src_dir),
|
fastled/util.py
CHANGED
@@ -11,12 +11,17 @@ def hash_file(file_path: Path) -> str:
|
|
11
11
|
|
12
12
|
|
13
13
|
def banner_string(msg: str) -> str:
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
"""
|
18
|
-
|
19
|
-
return f"\n{border}\n
|
14
|
+
lines = msg.splitlines()
|
15
|
+
max_length = max(len(line) for line in lines)
|
16
|
+
border = "#" * (max_length + 4)
|
17
|
+
bordered_lines = [f"# {line} " + "#" * (max_length - len(line)) for line in lines]
|
18
|
+
bordered_msg = "\n".join(bordered_lines)
|
19
|
+
return f"\n{border}\n{bordered_msg}\n{border}\n"
|
20
|
+
|
21
|
+
|
22
|
+
def print_banner(msg: str) -> None:
|
23
|
+
"""Print a message in a banner format."""
|
24
|
+
print(banner_string(msg))
|
20
25
|
|
21
26
|
|
22
27
|
def port_is_free(port: int) -> bool:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fastled
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.14
|
4
4
|
Summary: FastLED Wasm Compiler
|
5
5
|
Home-page: https://github.com/zackees/fastled-wasm
|
6
6
|
Maintainer: Zachary Vorhies
|
@@ -91,7 +91,11 @@ https://github.com/user-attachments/assets/64ae0e6c-5f8b-4830-ab87-dcc25bc61218
|
|
91
91
|
pip install fastled
|
92
92
|
```
|
93
93
|
|
94
|
-
|
94
|
+
# Debugger
|
95
|
+
|
96
|
+
This tool features full C++ debugging through the browser.
|
97
|
+
|
98
|
+
For instructions on setup see [DEBUGGER.md](DEBUGGER.md)
|
95
99
|
|
96
100
|
# Command Line Use
|
97
101
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
fastled/__init__.py,sha256=YLikXGRWKlKAqj7bpvGmJLejGTFF-FC1lv2z1jwRinA,6852
|
2
|
-
fastled/__version__.py,sha256=
|
2
|
+
fastled/__version__.py,sha256=M0oUDk69AAU2-76u9yycyXwWdRtkMVhGhhHURr83F-E,373
|
3
3
|
fastled/app.py,sha256=zfSipnCZ6w9_aXCynGrqf7OE--mKzbhT0mEfCNW5XjA,5736
|
4
4
|
fastled/args.py,sha256=d9CaarQ1yw7w0REwgrNQ78zOUQSk94fTXwXHtFZPTSY,3281
|
5
5
|
fastled/cli.py,sha256=drgR2AOxVrj3QEz58iiKscYAumbbin2vIV-k91VCOAA,561
|
@@ -7,7 +7,7 @@ fastled/cli_test.py,sha256=qJB9yLRFR3OwOwdIWSQ0fQsWLnA37v5pDccufiP_hTs,512
|
|
7
7
|
fastled/cli_test_interactive.py,sha256=BjNhveZOk5aCffHbcrxPQQjWmAuj4ClVKKcKX5eY6yM,542
|
8
8
|
fastled/client_server.py,sha256=uK-reqTN4umtVm8K3fcLo2Op_P_jFKVFtKFJRpBF1Xs,18598
|
9
9
|
fastled/compile_server.py,sha256=rkXvrvdav5vDG8lv_OlBX3YSCHtnHMt25nXbfeg_r78,2960
|
10
|
-
fastled/compile_server_impl.py,sha256=
|
10
|
+
fastled/compile_server_impl.py,sha256=S9jaAMgaprrjW9oF0J4_H-QJc6OeNRmoFCt07RsXTkI,11644
|
11
11
|
fastled/docker_manager.py,sha256=1TCU_iMWnAeKrMjhB4qxdhq44tPRhpmImzmh_bCNRaM,40232
|
12
12
|
fastled/filewatcher.py,sha256=3qS3L7zMQhFuVrkeGn1djsB_cB6x_E2YGJmmQWVAU_w,10033
|
13
13
|
fastled/keyboard.py,sha256=UTAsqCn1UMYnB8YDzENiLTj4GeL45tYfEcO7_5fLFEg,3556
|
@@ -26,7 +26,7 @@ fastled/sketch.py,sha256=Ftbh55Nt-p4hmPuPpj8Q9HrMzvnUazhoG_q9FHcxkns,3473
|
|
26
26
|
fastled/spinner.py,sha256=VHxmvB92P0Z_zYxRajb5HiNmkHHvZ5dG7hKtZltzpcs,867
|
27
27
|
fastled/string_diff.py,sha256=NbtYxvBFxTUdmTpMLizlgZj2ULJ-7etj72GBdWDTGws,2496
|
28
28
|
fastled/types.py,sha256=m7df4YxPPxl9GcfTAr_Lc9wSCE3fVzpcQf9-X0cMYuQ,1803
|
29
|
-
fastled/util.py,sha256=
|
29
|
+
fastled/util.py,sha256=IhQhN8_RiWhN3BFWhETK1LTlwod8B_2hzOQidcLSdf8,1405
|
30
30
|
fastled/version.py,sha256=TpBMiEVdO3_sUZEu6wmwN8Q4AgX2BiCxStCsnPKh6E0,1209
|
31
31
|
fastled/web_compile.py,sha256=R159Od1VqeXTW6y3rQY0_P9f0CJYbPuBiMLqb-zBCUQ,11526
|
32
32
|
fastled/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54
|
@@ -36,9 +36,9 @@ fastled/site/build.py,sha256=2YKU_UWKlJdGnjdbAbaL0co6kceFMSTVYwH1KCmgPZA,13987
|
|
36
36
|
fastled/site/examples.py,sha256=s6vj2zJc6BfKlnbwXr1QWY1mzuDBMt6j5MEBOWjO_U8,155
|
37
37
|
fastled/test/can_run_local_docker_tests.py,sha256=LEuUbHctRhNNFWcvnz2kEGmjDJeXO4c3kNpizm3yVJs,400
|
38
38
|
fastled/test/examples.py,sha256=GfaHeY1E8izBl6ZqDVjz--RHLyVR4NRnQ5pBesCFJFY,1673
|
39
|
-
fastled-1.3.
|
40
|
-
fastled-1.3.
|
41
|
-
fastled-1.3.
|
42
|
-
fastled-1.3.
|
43
|
-
fastled-1.3.
|
44
|
-
fastled-1.3.
|
39
|
+
fastled-1.3.14.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
|
40
|
+
fastled-1.3.14.dist-info/METADATA,sha256=Gb4uZE0nKKhf70q4Hcf3XshT4JcTRwTPDCOd0rcdpLs,30044
|
41
|
+
fastled-1.3.14.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
42
|
+
fastled-1.3.14.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
|
43
|
+
fastled-1.3.14.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
|
44
|
+
fastled-1.3.14.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|