fastled 1.3.35__py3-none-any.whl → 1.3.36__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 CHANGED
@@ -39,6 +39,7 @@ class Api:
39
39
  host: str | CompileServer | None = None,
40
40
  build_mode: BuildMode = BuildMode.QUICK,
41
41
  profile: bool = False, # When true then profile information will be enabled and included in the zip.
42
+ no_platformio: bool = False,
42
43
  ) -> CompileResult:
43
44
  from fastled.web_compile import web_compile
44
45
 
@@ -47,7 +48,11 @@ class Api:
47
48
  if isinstance(directory, str):
48
49
  directory = Path(directory)
49
50
  out: CompileResult = web_compile(
50
- directory, host, build_mode=build_mode, profile=profile
51
+ directory,
52
+ host,
53
+ build_mode=build_mode,
54
+ profile=profile,
55
+ no_platformio=no_platformio,
51
56
  )
52
57
  return out
53
58
 
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.35"
4
+ __version__ = "1.3.36"
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
@@ -76,12 +76,17 @@ def _run_web_compiler(
76
76
  build_mode: BuildMode,
77
77
  profile: bool,
78
78
  last_hash_value: str | None,
79
+ no_platformio: bool = False,
79
80
  ) -> CompileResult:
80
81
  input_dir = Path(directory)
81
82
  output_dir = input_dir / "fastled_js"
82
83
  start = time.time()
83
84
  web_result = web_compile(
84
- directory=input_dir, host=host, build_mode=build_mode, profile=profile
85
+ directory=input_dir,
86
+ host=host,
87
+ build_mode=build_mode,
88
+ profile=profile,
89
+ no_platformio=no_platformio,
85
90
  )
86
91
  diff = time.time() - start
87
92
  if not web_result.success:
@@ -287,6 +292,7 @@ def run_client(
287
292
  build_mode: BuildMode = build_mode,
288
293
  profile: bool = profile,
289
294
  last_hash_value: str | None = None,
295
+ no_platformio: bool = no_platformio,
290
296
  ) -> CompileResult:
291
297
  TEST_BEFORE_COMPILE(url)
292
298
  return _run_web_compiler(
@@ -295,6 +301,7 @@ def run_client(
295
301
  build_mode=build_mode,
296
302
  profile=profile,
297
303
  last_hash_value=last_hash_value,
304
+ no_platformio=no_platformio,
298
305
  )
299
306
 
300
307
  result: CompileResult = compile_function(last_hash_value=None)
@@ -107,7 +107,11 @@ class CompileServerImpl:
107
107
  if not self.ping():
108
108
  raise RuntimeError("Server is not running")
109
109
  out: CompileResult = web_compile(
110
- directory, host=self.url(), build_mode=build_mode, profile=profile
110
+ directory,
111
+ host=self.url(),
112
+ build_mode=build_mode,
113
+ profile=profile,
114
+ no_platformio=self.no_platformio,
111
115
  )
112
116
  return out
113
117
 
fastled/web_compile.py CHANGED
@@ -195,6 +195,7 @@ def web_compile(
195
195
  auth_token: str | None = None,
196
196
  build_mode: BuildMode | None = None,
197
197
  profile: bool = False,
198
+ no_platformio: bool = False,
198
199
  ) -> CompileResult:
199
200
  start_time = time.time()
200
201
  if isinstance(directory, str):
@@ -249,6 +250,7 @@ def web_compile(
249
250
  else BuildMode.QUICK.value.lower()
250
251
  ),
251
252
  "profile": "true" if profile else "false",
253
+ "no-platformio": "true" if no_platformio else "false",
252
254
  }
253
255
 
254
256
  url = f"{connection_result.host}/{ENDPOINT_COMPILED_WASM}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastled
3
- Version: 1.3.35
3
+ Version: 1.3.36
4
4
  Summary: FastLED Wasm Compiler
5
5
  Home-page: https://github.com/zackees/fastled-wasm
6
6
  Maintainer: Zachary Vorhies
@@ -1,13 +1,13 @@
1
- fastled/__init__.py,sha256=QbQGFxPGTjlf4poTh-NiGuyyzSiO7qqz0KKfJn4M-Vw,7086
2
- fastled/__version__.py,sha256=-15zyEprr1jMh8Ah0BOI61VommdW3bUa79iSN98eN9Q,373
1
+ fastled/__init__.py,sha256=NBk5Ef65nIe0F_rvBrSGeoyouFOKFeQXqHrTCJQheeI,7201
2
+ fastled/__version__.py,sha256=hB1zQ1-Sl4c_Khm-2c5WAIFPSBC3V2WrR8ZKi34k3vM,373
3
3
  fastled/app.py,sha256=TFVn4qIRdt7dYbpDWudEHrhvD9pwyj9sIGXs4F26nhk,5880
4
4
  fastled/args.py,sha256=kucRGYpff_YKfmMpwWsJh6WIrvW_UPcNlZNFdw15z-Y,3475
5
5
  fastled/cli.py,sha256=drgR2AOxVrj3QEz58iiKscYAumbbin2vIV-k91VCOAA,561
6
6
  fastled/cli_test.py,sha256=W-1nODZrip_JU6BEbYhxOa4ckxduOsiX8zIoRkTyxv4,550
7
7
  fastled/cli_test_interactive.py,sha256=BjNhveZOk5aCffHbcrxPQQjWmAuj4ClVKKcKX5eY6yM,542
8
- fastled/client_server.py,sha256=YID7O7e8dAhpFRGwRburfSuMOw5h7MJpsjzgbDY9xKg,19511
8
+ fastled/client_server.py,sha256=ATK0GCem9iJXC7zPkFofaR4Df6yWsgAcqf_clwpSZe0,19700
9
9
  fastled/compile_server.py,sha256=yQtwLOSKINO1CKD0NWxf-7YQKSatf9sF9RuqaWGOkCs,3038
10
- fastled/compile_server_impl.py,sha256=EzNWAy501beDiiysuUXW5bgySnpqzqoTeLzMUVy3ZzE,11899
10
+ fastled/compile_server_impl.py,sha256=9vTGaDQ0W_g9Xsfy0gC3nJEc2g_pnXcF4VO2U3GLOVg,11982
11
11
  fastled/docker_manager.py,sha256=rkq39ZKrU6NHIyDa3mzs0Unb6o9oMeAwxhqiuHJU_RY,40291
12
12
  fastled/filewatcher.py,sha256=gEcJJHTDJ1X3gKJzltmEBhixWGbZj2eJD7a4vwSvITQ,10036
13
13
  fastled/keyboard.py,sha256=UTAsqCn1UMYnB8YDzENiLTj4GeL45tYfEcO7_5fLFEg,3556
@@ -28,7 +28,7 @@ fastled/string_diff.py,sha256=dlhJCFHSiqW9GMByS2DFnguZ28387VNcFwR6zGVlKeU,3729
28
28
  fastled/types.py,sha256=ZDf1TbTT4XgA_pKIwr4JbkDB38_29ogSdDORjoT-zuY,1803
29
29
  fastled/util.py,sha256=TjhXbUNh4p2BGhNAldSeL68B7BBOjsWAXji5gy-vDEQ,1440
30
30
  fastled/version.py,sha256=TpBMiEVdO3_sUZEu6wmwN8Q4AgX2BiCxStCsnPKh6E0,1209
31
- fastled/web_compile.py,sha256=JYxhZBhbv2Rq2SvN2_pl_p9ewgskfKghQ8UJllC-T4I,11535
31
+ fastled/web_compile.py,sha256=ef6RwF3xOCbxX568FmRlhS0lMimd1eHVDB1iOpBZsx4,11639
32
32
  fastled/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54
33
33
  fastled/assets/localhost-key.pem,sha256=Q-CNO_UoOd8fFNN4ljcnqwUeCMhzTplRjLO2x0pYRlU,1704
34
34
  fastled/assets/localhost.pem,sha256=QTwUtTwjYWbm9m3pHW2IlK2nFZJ8b0pppxPjhgVZqQo,1619
@@ -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.35.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
40
- fastled-1.3.35.dist-info/METADATA,sha256=p78fly8dbXf0skn_cwXTmwpwAF9NUvf7wtCxTPFx1jM,30847
41
- fastled-1.3.35.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
42
- fastled-1.3.35.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
43
- fastled-1.3.35.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
44
- fastled-1.3.35.dist-info/RECORD,,
39
+ fastled-1.3.36.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
40
+ fastled-1.3.36.dist-info/METADATA,sha256=VHWBI1poAVpyHB2paf-eZXSjl0JpKFTK2vP0P1QBeMc,30847
41
+ fastled-1.3.36.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
42
+ fastled-1.3.36.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
43
+ fastled-1.3.36.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
44
+ fastled-1.3.36.dist-info/RECORD,,