fastled 1.4.20__py3-none-any.whl → 1.4.22__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/client_server.py +2 -3
- fastled/settings.py +1 -0
- fastled/web_compile.py +2 -3
- {fastled-1.4.20.dist-info → fastled-1.4.22.dist-info}/METADATA +1 -1
- {fastled-1.4.20.dist-info → fastled-1.4.22.dist-info}/RECORD +10 -10
- {fastled-1.4.20.dist-info → fastled-1.4.22.dist-info}/WHEEL +0 -0
- {fastled-1.4.20.dist-info → fastled-1.4.22.dist-info}/entry_points.txt +0 -0
- {fastled-1.4.20.dist-info → fastled-1.4.22.dist-info}/licenses/LICENSE +0 -0
- {fastled-1.4.20.dist-info → fastled-1.4.22.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.22"
|
5
5
|
|
6
6
|
__version_url_latest__ = "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/src/fastled/__version__.py"
|
fastled/client_server.py
CHANGED
@@ -494,9 +494,6 @@ def run_client(
|
|
494
494
|
print(f"\nChanges detected in FastLED source code: {changed_files}")
|
495
495
|
print("Press space bar to trigger compile.")
|
496
496
|
|
497
|
-
# Re-evaluate libcompile capability when source code changes
|
498
|
-
allow_libcompile = True
|
499
|
-
|
500
497
|
while True:
|
501
498
|
space_bar_pressed = SpaceBarWatcher.watch_space_bar_pressed(
|
502
499
|
timeout=1.0
|
@@ -510,6 +507,8 @@ def run_client(
|
|
510
507
|
print(
|
511
508
|
f"Changes detected in {file_changes}\nHit the space bar to trigger compile."
|
512
509
|
)
|
510
|
+
# Re-evaluate libcompile capability when source code changes
|
511
|
+
allow_libcompile = True
|
513
512
|
|
514
513
|
if space_bar_pressed or sketch_files_changed:
|
515
514
|
if space_bar_pressed:
|
fastled/settings.py
CHANGED
@@ -51,6 +51,7 @@ def _get_server_port() -> int:
|
|
51
51
|
CONTAINER_NAME = _get_container_name()
|
52
52
|
DEFAULT_URL = str(os.environ.get("FASTLED_URL", "https://fastled.onrender.com"))
|
53
53
|
SERVER_PORT = _get_server_port()
|
54
|
+
AUTH_TOKEN = "oBOT5jbsO4ztgrpNsQwlmFLIKB"
|
54
55
|
|
55
56
|
IMAGE_NAME = "niteris/fastled-wasm"
|
56
57
|
DEFAULT_CONTAINER_NAME = _get_container_name()
|
fastled/web_compile.py
CHANGED
@@ -10,14 +10,13 @@ import httpx
|
|
10
10
|
|
11
11
|
from fastled.find_good_connection import find_good_connection
|
12
12
|
from fastled.interruptible_http import make_interruptible_post_request
|
13
|
-
from fastled.settings import SERVER_PORT
|
13
|
+
from fastled.settings import AUTH_TOKEN, SERVER_PORT
|
14
14
|
from fastled.types import BuildMode, CompileResult
|
15
15
|
from fastled.zip_files import ZipResult, zip_files
|
16
16
|
|
17
17
|
DEFAULT_HOST = "https://fastled.onrender.com"
|
18
18
|
ENDPOINT_COMPILED_WASM = "compile/wasm"
|
19
19
|
_TIMEOUT = 60 * 4 # 4 mins timeout
|
20
|
-
_AUTH_TOKEN = "oBOT5jbsO4ztgrpNsQwlmFLIKB"
|
21
20
|
|
22
21
|
|
23
22
|
def _sanitize_host(host: str) -> str:
|
@@ -277,7 +276,7 @@ def web_compile(
|
|
277
276
|
host = _sanitize_host(host or DEFAULT_HOST)
|
278
277
|
build_mode = build_mode or BuildMode.QUICK
|
279
278
|
_print_banner(f"Compiling on {host}")
|
280
|
-
auth_token = auth_token or
|
279
|
+
auth_token = auth_token or AUTH_TOKEN
|
281
280
|
if not directory.exists():
|
282
281
|
raise FileNotFoundError(f"Directory not found: {directory}")
|
283
282
|
zip_result: ZipResult | Exception = zip_files(directory, build_mode=build_mode)
|
@@ -1,12 +1,12 @@
|
|
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=vmByEff7-8zTLuckGy6BGscKYvZH2hpysfXG0XXprbw,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
|
7
7
|
fastled/cli_test.py,sha256=W-1nODZrip_JU6BEbYhxOa4ckxduOsiX8zIoRkTyxv4,550
|
8
8
|
fastled/cli_test_interactive.py,sha256=BjNhveZOk5aCffHbcrxPQQjWmAuj4ClVKKcKX5eY6yM,542
|
9
|
-
fastled/client_server.py,sha256=
|
9
|
+
fastled/client_server.py,sha256=HI-hUNEKhPPzK4c_CsXaLApA8mDK9oxJmOuTI_TUD_M,23019
|
10
10
|
fastled/compile_server.py,sha256=iGUjteXKp5Dlp7mxAE4eD4s0NWgApRIp4ZjtcAN2iZY,3124
|
11
11
|
fastled/compile_server_impl.py,sha256=iCwNCs7YxypUuVPmY4979mOgoH9OiuAJa1a1bmpG1cc,12567
|
12
12
|
fastled/docker_manager.py,sha256=c0-DBA4_YtCl2XgtohL6uKtW0TK6vkHO0o2vympZShg,41089
|
@@ -24,14 +24,14 @@ fastled/project_init.py,sha256=bBt4DwmW5hZkm9ICt9Qk-0Nr_0JQM7icCgH5Iv-bCQs,3984
|
|
24
24
|
fastled/select_sketch_directory.py,sha256=-eudwCns3AKj4HuHtSkZAFwbnf005SNL07pOzs9VxnE,1383
|
25
25
|
fastled/server_flask.py,sha256=HA0Pqkrr7OZn5TgMjykskXYrB-ACFd9sw7ND1L4RW-Y,17132
|
26
26
|
fastled/server_start.py,sha256=W9yKStkRlRNuXeV6j_6O7HjjFPyVLBHMcF9Uy2QjDWQ,479
|
27
|
-
fastled/settings.py,sha256=
|
27
|
+
fastled/settings.py,sha256=8RLN3S0ZK4DMphr0gKPfwPKfwIzOtHiQsqMTpGnX7Xg,1842
|
28
28
|
fastled/sketch.py,sha256=Ftbh55Nt-p4hmPuPpj8Q9HrMzvnUazhoG_q9FHcxkns,3473
|
29
29
|
fastled/spinner.py,sha256=VHxmvB92P0Z_zYxRajb5HiNmkHHvZ5dG7hKtZltzpcs,867
|
30
30
|
fastled/string_diff.py,sha256=RYygP52WA3uyRw81u2XkMEruY4HX6HQKVY6wl-JlLVg,6167
|
31
31
|
fastled/types.py,sha256=ZDf1TbTT4XgA_pKIwr4JbkDB38_29ogSdDORjoT-zuY,1803
|
32
32
|
fastled/util.py,sha256=TjhXbUNh4p2BGhNAldSeL68B7BBOjsWAXji5gy-vDEQ,1440
|
33
33
|
fastled/version.py,sha256=wWFgKsNXWthcE3YR6AYHNZlEW8VaMSX_CJ1Dl4SsQXc,1250
|
34
|
-
fastled/web_compile.py,sha256=
|
34
|
+
fastled/web_compile.py,sha256=NgRKAcQ_sJLUdg-lrYS7U27VF63nsQipHCd4Pm7ka94,13347
|
35
35
|
fastled/zip_files.py,sha256=BgHFjaLJ7wF6mnzjqOgn76VcKDwhwc_-w_qyUG_-aNs,2815
|
36
36
|
fastled/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54
|
37
37
|
fastled/assets/localhost-key.pem,sha256=Q-CNO_UoOd8fFNN4ljcnqwUeCMhzTplRjLO2x0pYRlU,1704
|
@@ -42,9 +42,9 @@ 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.22.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
|
46
|
+
fastled-1.4.22.dist-info/METADATA,sha256=xVM5Mq2QsJKIUz2qDiQWHc8O4W1YnjDHCI7wEtoKRjs,32441
|
47
|
+
fastled-1.4.22.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
48
|
+
fastled-1.4.22.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
|
49
|
+
fastled-1.4.22.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
|
50
|
+
fastled-1.4.22.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|