fastled 1.2.63__py3-none-any.whl → 1.2.64__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
@@ -13,7 +13,7 @@ from .types import BuildMode, CompileResult, CompileServerError
13
13
  # IMPORTANT! There's a bug in github which will REJECT any version update
14
14
  # that has any other change in the repo. Please bump the version as the
15
15
  # ONLY change in a commit, or else the pypi update and the release will fail.
16
- __version__ = "1.2.63"
16
+ __version__ = "1.2.64"
17
17
 
18
18
  DOCKER_FILE = (
19
19
  "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/Dockerfile"
fastled/keyz.py CHANGED
@@ -20,11 +20,12 @@ def get_asset_path(filename: str) -> Path | None:
20
20
  return None
21
21
 
22
22
 
23
- def get_ssl_config() -> SslConfig:
23
+ def get_ssl_config() -> SslConfig | None:
24
24
  """Get the keys for the server"""
25
- certfile = get_asset_path("localhost-key.pem")
26
- keyfile = get_asset_path("localhost.pem")
27
- if certfile is None or keyfile is None:
28
- raise ValueError("Could not find keys for server")
29
- # return certfile, keyfile
30
- return SslConfig(certfile=certfile, keyfile=keyfile)
25
+ # certfile = get_asset_path("localhost-key.pem")
26
+ # keyfile = get_asset_path("localhost.pem")
27
+ # if certfile is None or keyfile is None:
28
+ # raise ValueError("Could not find keys for server")
29
+ # # return certfile, keyfile
30
+ # return SslConfig(certfile=certfile, keyfile=keyfile)
31
+ return None
fastled/open_browser.py CHANGED
@@ -32,7 +32,7 @@ def _open_http_server_subprocess(
32
32
  str(port),
33
33
  ]
34
34
  # Pass SSL flags if available
35
- if SSL_CONFIG.certfile and SSL_CONFIG.keyfile:
35
+ if SSL_CONFIG and SSL_CONFIG.certfile and SSL_CONFIG.keyfile:
36
36
  cmd.extend(
37
37
  [
38
38
  "--cert",
@@ -41,9 +41,10 @@ def _open_http_server_subprocess(
41
41
  str(SSL_CONFIG.keyfile),
42
42
  ]
43
43
  )
44
- print(
45
- f"Running server on port {port} with certs: {SSL_CONFIG.certfile}, {SSL_CONFIG.keyfile}"
46
- )
44
+ print(
45
+ f"Running server on port {port} with certs: {SSL_CONFIG.certfile}, {SSL_CONFIG.keyfile}"
46
+ )
47
+ print(f"Running server on port {port}.")
47
48
  print(f"Command: {subprocess.list2cmdline(cmd)}")
48
49
  # Suppress output
49
50
  subprocess.run(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastled
3
- Version: 1.2.63
3
+ Version: 1.2.64
4
4
  Summary: FastLED Wasm Compiler
5
5
  Home-page: https://github.com/zackees/fastled-wasm
6
6
  Maintainer: Zachary Vorhies
@@ -43,7 +43,7 @@ Dynamic: maintainer
43
43
 
44
44
 
45
45
 
46
- ## Compile your FastLED sketch and run it on the Browser!
46
+ ## Compile your FastLED sketch and run it on the Browser!!
47
47
 
48
48
  ![image](https://github.com/user-attachments/assets/243aeb4d-e42f-4cc3-9c31-0af51271f3e0)
49
49
 
@@ -300,6 +300,7 @@ Q: How can I get the compiled size of my FastLED sketch smaller?
300
300
  A: A big chunk of space is being used by unnecessary javascript `emscripten` bundling. The wasm_compiler_settings.py file in the FastLED repo can tweak this.
301
301
 
302
302
 
303
+
303
304
  # Revisions
304
305
  * 1.2.31 - Bunch of fixes and ease of use while compiling code in the repo.
305
306
  * 1.2.22 - Prefer to use `live-server` from npm. If npm exists on the system then do a background install of `live-server` for next run.
@@ -1,4 +1,4 @@
1
- fastled/__init__.py,sha256=5aM7L5rPWOa6f56b-62Ta-VvK4OYGfZ0rAM9U06ffXY,6734
1
+ fastled/__init__.py,sha256=gIy5yGQVv-cH9Fhojxh-frwPzJPxVyXHIFzQgh0Px6U,6734
2
2
  fastled/app.py,sha256=Ozn7OJ0rz3CEHsJKMhFLxV7TisRKo4DuFpVhrf5FQNw,3944
3
3
  fastled/cli.py,sha256=FjVr31ht0UPlAcmX-84NwfAGMQHTkrCe4o744jCAxiw,375
4
4
  fastled/cli_test.py,sha256=qJB9yLRFR3OwOwdIWSQ0fQsWLnA37v5pDccufiP_hTs,512
@@ -9,9 +9,9 @@ fastled/docker_manager.py,sha256=VVyfl4HNsSB95nlENuccZFR0qL3Y0ZJgPCFyHKa9A14,314
9
9
  fastled/filewatcher.py,sha256=3qS3L7zMQhFuVrkeGn1djsB_cB6x_E2YGJmmQWVAU_w,10033
10
10
  fastled/interactive_srcs.py,sha256=F5nHdJc60xsnmOtnKhngE9JytqGn56PmYw_MVSIX1ac,138
11
11
  fastled/keyboard.py,sha256=UTAsqCn1UMYnB8YDzENiLTj4GeL45tYfEcO7_5fLFEg,3556
12
- fastled/keyz.py,sha256=WjfZHtZHEB8wNh1YYZGYwjx1jQV-6wwhCbYn4Zp7xs4,938
12
+ fastled/keyz.py,sha256=7TZUnu0ff8eXpTWRXoEw-WzKqSI_uN3jcXlN210Czjs,973
13
13
  fastled/live_client.py,sha256=MDauol0mxtXggV1Pv9ahC0Jjg_4wnnV6FjGEtdd9cxU,2763
14
- fastled/open_browser.py,sha256=HKiSFGtp182JdZvletrGrG_sit5MSjIpl7z54ceYzXU,4111
14
+ fastled/open_browser.py,sha256=ZwNych2zW7Y75jLRW5AL0Xck-2NC4HxtaOfYP9unmds,4187
15
15
  fastled/parse_args.py,sha256=xgjxirQVX3FQxHZNVJtQQxTOeSJRQdGUNQ7W33Y880Y,8051
16
16
  fastled/paths.py,sha256=VsPmgu0lNSCFOoEC0BsTYzDygXqy15AHUfN-tTuzDZA,99
17
17
  fastled/project_init.py,sha256=bBt4DwmW5hZkm9ICt9Qk-0Nr_0JQM7icCgH5Iv-bCQs,3984
@@ -34,9 +34,9 @@ fastled/site/build.py,sha256=2YKU_UWKlJdGnjdbAbaL0co6kceFMSTVYwH1KCmgPZA,13987
34
34
  fastled/site/examples.py,sha256=s6vj2zJc6BfKlnbwXr1QWY1mzuDBMt6j5MEBOWjO_U8,155
35
35
  fastled/test/can_run_local_docker_tests.py,sha256=LEuUbHctRhNNFWcvnz2kEGmjDJeXO4c3kNpizm3yVJs,400
36
36
  fastled/test/examples.py,sha256=GfaHeY1E8izBl6ZqDVjz--RHLyVR4NRnQ5pBesCFJFY,1673
37
- fastled-1.2.63.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
38
- fastled-1.2.63.dist-info/METADATA,sha256=PlaQvKRqPQmKD0F2sDNNQBu2kGiGZCJwq_vYx-8YSOA,22064
39
- fastled-1.2.63.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
40
- fastled-1.2.63.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
41
- fastled-1.2.63.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
42
- fastled-1.2.63.dist-info/RECORD,,
37
+ fastled-1.2.64.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
38
+ fastled-1.2.64.dist-info/METADATA,sha256=5SN-Xie4EYpR_C_GBzx9RWQ7wrQ4I7sIdiDUaZuDllc,22066
39
+ fastled-1.2.64.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
40
+ fastled-1.2.64.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
41
+ fastled-1.2.64.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
42
+ fastled-1.2.64.dist-info/RECORD,,