fastled 1.2.63__tar.gz → 1.2.64__tar.gz

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.
Files changed (128) hide show
  1. {fastled-1.2.63 → fastled-1.2.64}/PKG-INFO +3 -2
  2. {fastled-1.2.63 → fastled-1.2.64}/README.md +3 -2
  3. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/__init__.py +1 -1
  4. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/keyz.py +8 -7
  5. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/open_browser.py +5 -4
  6. {fastled-1.2.63 → fastled-1.2.64}/src/fastled.egg-info/PKG-INFO +3 -2
  7. {fastled-1.2.63 → fastled-1.2.64}/.aiderignore +0 -0
  8. {fastled-1.2.63 → fastled-1.2.64}/.dockerignore +0 -0
  9. {fastled-1.2.63 → fastled-1.2.64}/.github/workflows/build_multi_docker_image.yml +0 -0
  10. {fastled-1.2.63 → fastled-1.2.64}/.github/workflows/build_webpage.yml +0 -0
  11. {fastled-1.2.63 → fastled-1.2.64}/.github/workflows/lint.yml +0 -0
  12. {fastled-1.2.63 → fastled-1.2.64}/.github/workflows/publish_release.yml +0 -0
  13. {fastled-1.2.63 → fastled-1.2.64}/.github/workflows/template_build_docker_image.yml +0 -0
  14. {fastled-1.2.63 → fastled-1.2.64}/.github/workflows/test_build_exe.yml +0 -0
  15. {fastled-1.2.63 → fastled-1.2.64}/.github/workflows/test_macos.yml +0 -0
  16. {fastled-1.2.63 → fastled-1.2.64}/.github/workflows/test_ubuntu.yml +0 -0
  17. {fastled-1.2.63 → fastled-1.2.64}/.github/workflows/test_win.yml +0 -0
  18. {fastled-1.2.63 → fastled-1.2.64}/.gitignore +0 -0
  19. {fastled-1.2.63 → fastled-1.2.64}/.pylintrc +0 -0
  20. {fastled-1.2.63 → fastled-1.2.64}/.vscode/launch.json +0 -0
  21. {fastled-1.2.63 → fastled-1.2.64}/.vscode/settings.json +0 -0
  22. {fastled-1.2.63 → fastled-1.2.64}/.vscode/tasks.json +0 -0
  23. {fastled-1.2.63 → fastled-1.2.64}/Dockerfile +0 -0
  24. {fastled-1.2.63 → fastled-1.2.64}/LICENSE +0 -0
  25. {fastled-1.2.63 → fastled-1.2.64}/MANIFEST.in +0 -0
  26. {fastled-1.2.63 → fastled-1.2.64}/RELEASE.md +0 -0
  27. {fastled-1.2.63 → fastled-1.2.64}/TODO.md +0 -0
  28. {fastled-1.2.63 → fastled-1.2.64}/build_exe.py +0 -0
  29. {fastled-1.2.63 → fastled-1.2.64}/build_site.py +0 -0
  30. {fastled-1.2.63 → fastled-1.2.64}/clean +0 -0
  31. {fastled-1.2.63 → fastled-1.2.64}/compiler/CMakeLists.txt +0 -0
  32. {fastled-1.2.63 → fastled-1.2.64}/compiler/__init__.py +0 -0
  33. {fastled-1.2.63 → fastled-1.2.64}/compiler/arduino-pre-process.sh +0 -0
  34. {fastled-1.2.63 → fastled-1.2.64}/compiler/build.sh +0 -0
  35. {fastled-1.2.63 → fastled-1.2.64}/compiler/build_archive.sh +0 -0
  36. {fastled-1.2.63 → fastled-1.2.64}/compiler/build_fast.sh +0 -0
  37. {fastled-1.2.63 → fastled-1.2.64}/compiler/code_sync.py +0 -0
  38. {fastled-1.2.63 → fastled-1.2.64}/compiler/compile.py +0 -0
  39. {fastled-1.2.63 → fastled-1.2.64}/compiler/compile_lock.py +0 -0
  40. {fastled-1.2.63 → fastled-1.2.64}/compiler/entrypoint.sh +0 -0
  41. {fastled-1.2.63 → fastled-1.2.64}/compiler/extra/100dots.html +0 -0
  42. {fastled-1.2.63 → fastled-1.2.64}/compiler/extra/demo_threejs.html +0 -0
  43. {fastled-1.2.63 → fastled-1.2.64}/compiler/extra/micdemo.html +0 -0
  44. {fastled-1.2.63 → fastled-1.2.64}/compiler/extra/mp3upload.html +0 -0
  45. {fastled-1.2.63 → fastled-1.2.64}/compiler/extra/webgl_postprocessing_unreal_bloom.html +0 -0
  46. {fastled-1.2.63 → fastled-1.2.64}/compiler/final_prewarm.sh +0 -0
  47. {fastled-1.2.63 → fastled-1.2.64}/compiler/init_runtime.py +0 -0
  48. {fastled-1.2.63 → fastled-1.2.64}/compiler/install-arduino-cli.sh +0 -0
  49. {fastled-1.2.63 → fastled-1.2.64}/compiler/libcompile/CMakeLists.txt +0 -0
  50. {fastled-1.2.63 → fastled-1.2.64}/compiler/paths.py +0 -0
  51. {fastled-1.2.63 → fastled-1.2.64}/compiler/pre-process.sh +0 -0
  52. {fastled-1.2.63 → fastled-1.2.64}/compiler/prewarm.sh +0 -0
  53. {fastled-1.2.63 → fastled-1.2.64}/compiler/process-ino.py +0 -0
  54. {fastled-1.2.63 → fastled-1.2.64}/compiler/process_extended.py +0 -0
  55. {fastled-1.2.63 → fastled-1.2.64}/compiler/pyproject.toml +0 -0
  56. {fastled-1.2.63 → fastled-1.2.64}/compiler/run.py +0 -0
  57. {fastled-1.2.63 → fastled-1.2.64}/compiler/server.py +0 -0
  58. {fastled-1.2.63 → fastled-1.2.64}/compiler/sketch_hasher.py +0 -0
  59. {fastled-1.2.63 → fastled-1.2.64}/compiler/wasm_compiler_flags.py +0 -0
  60. {fastled-1.2.63 → fastled-1.2.64}/docker-compose.yml +0 -0
  61. {fastled-1.2.63 → fastled-1.2.64}/install +0 -0
  62. {fastled-1.2.63 → fastled-1.2.64}/install_linux.sh +0 -0
  63. {fastled-1.2.63 → fastled-1.2.64}/lint +0 -0
  64. {fastled-1.2.63 → fastled-1.2.64}/pyproject.toml +0 -0
  65. {fastled-1.2.63 → fastled-1.2.64}/requirements.testing.txt +0 -0
  66. {fastled-1.2.63 → fastled-1.2.64}/setup.cfg +0 -0
  67. {fastled-1.2.63 → fastled-1.2.64}/setup.py +0 -0
  68. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/app.py +0 -0
  69. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/assets/example.txt +0 -0
  70. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/assets/localhost-key.pem +0 -0
  71. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/assets/localhost.pem +0 -0
  72. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/cli.py +0 -0
  73. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/cli_test.py +0 -0
  74. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/client_server.py +0 -0
  75. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/compile_server.py +0 -0
  76. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/compile_server_impl.py +0 -0
  77. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/docker_manager.py +0 -0
  78. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/filewatcher.py +0 -0
  79. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/interactive_srcs.py +0 -0
  80. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/keyboard.py +0 -0
  81. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/live_client.py +0 -0
  82. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/parse_args.py +0 -0
  83. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/paths.py +0 -0
  84. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/project_init.py +0 -0
  85. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/select_sketch_directory.py +0 -0
  86. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/server_fastapi.py +0 -0
  87. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/server_fastapi_cli.py +0 -0
  88. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/server_flask.py +0 -0
  89. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/server_start.py +0 -0
  90. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/settings.py +0 -0
  91. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/site/build.py +0 -0
  92. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/site/examples.py +0 -0
  93. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/sketch.py +0 -0
  94. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/spinner.py +0 -0
  95. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/string_diff.py +0 -0
  96. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/test/can_run_local_docker_tests.py +0 -0
  97. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/test/examples.py +0 -0
  98. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/types.py +0 -0
  99. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/util.py +0 -0
  100. {fastled-1.2.63 → fastled-1.2.64}/src/fastled/web_compile.py +0 -0
  101. {fastled-1.2.63 → fastled-1.2.64}/src/fastled.egg-info/SOURCES.txt +0 -0
  102. {fastled-1.2.63 → fastled-1.2.64}/src/fastled.egg-info/dependency_links.txt +0 -0
  103. {fastled-1.2.63 → fastled-1.2.64}/src/fastled.egg-info/entry_points.txt +0 -0
  104. {fastled-1.2.63 → fastled-1.2.64}/src/fastled.egg-info/requires.txt +0 -0
  105. {fastled-1.2.63 → fastled-1.2.64}/src/fastled.egg-info/top_level.txt +0 -0
  106. {fastled-1.2.63 → fastled-1.2.64}/test +0 -0
  107. {fastled-1.2.63 → fastled-1.2.64}/tests/integration/test_build_examples.py +0 -0
  108. {fastled-1.2.63 → fastled-1.2.64}/tests/integration/test_examples.py +0 -0
  109. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/html/index.html +0 -0
  110. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_api.py +0 -0
  111. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_bad_ino.py +0 -0
  112. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_cli.py +0 -0
  113. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_compile_server.py +0 -0
  114. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_docker_linux_on_windows.py +0 -0
  115. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_embedded_data.py +0 -0
  116. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_filechanger.py +0 -0
  117. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_http_server.py +0 -0
  118. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_ino/bad/bad.ino +0 -0
  119. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_ino/bad_platformio/bad_platformio.ino +0 -0
  120. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_ino/bad_platformio/platformio.ini +0 -0
  121. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_ino/embedded/data/bigdata.dat +0 -0
  122. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_ino/embedded/wasm.ino +0 -0
  123. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_ino/wasm/wasm.ino +0 -0
  124. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_project_init.py +0 -0
  125. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_server_and_client_seperatly.py +0 -0
  126. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_string_diff.py +0 -0
  127. {fastled-1.2.63 → fastled-1.2.64}/tests/unit/test_webcompile.py +0 -0
  128. {fastled-1.2.63 → fastled-1.2.64}/upload_package.sh +0 -0
@@ -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.
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- ## Compile your FastLED sketch and run it on the Browser!
15
+ ## Compile your FastLED sketch and run it on the Browser!!
16
16
 
17
17
  ![image](https://github.com/user-attachments/assets/243aeb4d-e42f-4cc3-9c31-0af51271f3e0)
18
18
 
@@ -269,6 +269,7 @@ Q: How can I get the compiled size of my FastLED sketch smaller?
269
269
  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.
270
270
 
271
271
 
272
+
272
273
  # Revisions
273
274
  * 1.2.31 - Bunch of fixes and ease of use while compiling code in the repo.
274
275
  * 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.
@@ -366,4 +367,4 @@ A: A big chunk of space is being used by unnecessary javascript `emscripten` bun
366
367
  live-server --https --port=8416 --host=localhost . --cert=C:/Users/niteris/dev/fastled-wasm/src/fastled/assets/localhost-key.pem --key=C:/Users/niteris/dev/fastled-wasm/src/fastled/assets/localhost.pem --no-browser
367
368
 
368
369
 
369
- live-server --https --cert=src/fastled/assets/localhost.pem --key=src/fastled/assets/localhost-key.pem --port=5500
370
+ live-server --https --cert=src/fastled/assets/localhost.pem --key=src/fastled/assets/localhost-key.pem --port=5500
@@ -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"
@@ -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
@@ -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.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes