fastled 1.4.2__tar.gz → 1.4.3__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.4.2 → fastled-1.4.3}/PKG-INFO +2 -2
  2. {fastled-1.4.2 → fastled-1.4.3}/compiler/run.py +1 -2
  3. {fastled-1.4.2 → fastled-1.4.3}/install +1 -1
  4. {fastled-1.4.2 → fastled-1.4.3}/pyproject.toml +8 -1
  5. fastled-1.4.3/requirements.docker.txt +1 -0
  6. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/__init__.py +1 -1
  7. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/__version__.py +1 -1
  8. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/filewatcher.py +4 -5
  9. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/site/build.py +2 -5
  10. {fastled-1.4.2 → fastled-1.4.3}/src/fastled.egg-info/PKG-INFO +2 -2
  11. {fastled-1.4.2 → fastled-1.4.3}/src/fastled.egg-info/requires.txt +1 -1
  12. fastled-1.4.2/requirements.docker.txt +0 -1
  13. {fastled-1.4.2 → fastled-1.4.3}/.aiderignore +0 -0
  14. {fastled-1.4.2 → fastled-1.4.3}/.cursorrules +0 -0
  15. {fastled-1.4.2 → fastled-1.4.3}/.dockerignore +0 -0
  16. {fastled-1.4.2 → fastled-1.4.3}/.github/workflows/build_multi_docker_image.yml +0 -0
  17. {fastled-1.4.2 → fastled-1.4.3}/.github/workflows/build_webpage.yml +0 -0
  18. {fastled-1.4.2 → fastled-1.4.3}/.github/workflows/lint.yml +0 -0
  19. {fastled-1.4.2 → fastled-1.4.3}/.github/workflows/publish_release.yml +0 -0
  20. {fastled-1.4.2 → fastled-1.4.3}/.github/workflows/template_build_docker_image.yml +0 -0
  21. {fastled-1.4.2 → fastled-1.4.3}/.github/workflows/test_build_exe.yml +0 -0
  22. {fastled-1.4.2 → fastled-1.4.3}/.github/workflows/test_macos.yml +0 -0
  23. {fastled-1.4.2 → fastled-1.4.3}/.github/workflows/test_ubuntu.yml +0 -0
  24. {fastled-1.4.2 → fastled-1.4.3}/.github/workflows/test_win.yml +0 -0
  25. {fastled-1.4.2 → fastled-1.4.3}/.gitignore +0 -0
  26. {fastled-1.4.2 → fastled-1.4.3}/.pylintrc +0 -0
  27. {fastled-1.4.2 → fastled-1.4.3}/.vscode/launch.json +0 -0
  28. {fastled-1.4.2 → fastled-1.4.3}/.vscode/settings.json +0 -0
  29. {fastled-1.4.2 → fastled-1.4.3}/.vscode/tasks.json +0 -0
  30. {fastled-1.4.2 → fastled-1.4.3}/DEBUGGER.md +0 -0
  31. {fastled-1.4.2 → fastled-1.4.3}/Dockerfile +0 -0
  32. {fastled-1.4.2 → fastled-1.4.3}/FAQ.md +0 -0
  33. {fastled-1.4.2 → fastled-1.4.3}/LICENSE +0 -0
  34. {fastled-1.4.2 → fastled-1.4.3}/MANIFEST.in +0 -0
  35. {fastled-1.4.2 → fastled-1.4.3}/README.md +0 -0
  36. {fastled-1.4.2 → fastled-1.4.3}/RELEASE.md +0 -0
  37. {fastled-1.4.2 → fastled-1.4.3}/TODO.md +0 -0
  38. {fastled-1.4.2 → fastled-1.4.3}/build_exe.py +0 -0
  39. {fastled-1.4.2 → fastled-1.4.3}/build_local_docker.py +0 -0
  40. {fastled-1.4.2 → fastled-1.4.3}/build_site.py +0 -0
  41. {fastled-1.4.2 → fastled-1.4.3}/clean +0 -0
  42. {fastled-1.4.2 → fastled-1.4.3}/compiler/debug.sh +0 -0
  43. {fastled-1.4.2 → fastled-1.4.3}/demo/100dots.html +0 -0
  44. {fastled-1.4.2 → fastled-1.4.3}/demo/demo_threejs.html +0 -0
  45. {fastled-1.4.2 → fastled-1.4.3}/demo/micdemo.html +0 -0
  46. {fastled-1.4.2 → fastled-1.4.3}/demo/mp3upload.html +0 -0
  47. {fastled-1.4.2 → fastled-1.4.3}/demo/webgl_postprocessing_unreal_bloom.html +0 -0
  48. {fastled-1.4.2 → fastled-1.4.3}/docker-compose.yml +0 -0
  49. {fastled-1.4.2 → fastled-1.4.3}/entrypoint.sh +0 -0
  50. {fastled-1.4.2 → fastled-1.4.3}/install_linux.sh +0 -0
  51. {fastled-1.4.2 → fastled-1.4.3}/lint +0 -0
  52. {fastled-1.4.2 → fastled-1.4.3}/requirements.testing.txt +0 -0
  53. {fastled-1.4.2 → fastled-1.4.3}/setup.cfg +0 -0
  54. {fastled-1.4.2 → fastled-1.4.3}/setup.py +0 -0
  55. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/__main__.py +0 -0
  56. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/app.py +0 -0
  57. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/args.py +0 -0
  58. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/assets/example.txt +0 -0
  59. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/assets/localhost-key.pem +0 -0
  60. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/assets/localhost.pem +0 -0
  61. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/cli.py +0 -0
  62. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/cli_test.py +0 -0
  63. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/cli_test_interactive.py +0 -0
  64. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/client_server.py +0 -0
  65. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/compile_server.py +0 -0
  66. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/compile_server_impl.py +0 -0
  67. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/docker_manager.py +0 -0
  68. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/keyboard.py +0 -0
  69. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/keyz.py +0 -0
  70. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/live_client.py +0 -0
  71. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/open_browser.py +0 -0
  72. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/parse_args.py +0 -0
  73. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/paths.py +0 -0
  74. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/playwright_browser.py +0 -0
  75. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/print_filter.py +0 -0
  76. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/project_init.py +0 -0
  77. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/select_sketch_directory.py +0 -0
  78. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/server_flask.py +0 -0
  79. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/server_start.py +0 -0
  80. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/settings.py +0 -0
  81. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/site/examples.py +0 -0
  82. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/sketch.py +0 -0
  83. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/spinner.py +0 -0
  84. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/string_diff.py +0 -0
  85. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/test/can_run_local_docker_tests.py +0 -0
  86. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/test/examples.py +0 -0
  87. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/types.py +0 -0
  88. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/util.py +0 -0
  89. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/version.py +0 -0
  90. {fastled-1.4.2 → fastled-1.4.3}/src/fastled/web_compile.py +0 -0
  91. {fastled-1.4.2 → fastled-1.4.3}/src/fastled.egg-info/SOURCES.txt +0 -0
  92. {fastled-1.4.2 → fastled-1.4.3}/src/fastled.egg-info/dependency_links.txt +0 -0
  93. {fastled-1.4.2 → fastled-1.4.3}/src/fastled.egg-info/entry_points.txt +0 -0
  94. {fastled-1.4.2 → fastled-1.4.3}/src/fastled.egg-info/top_level.txt +0 -0
  95. {fastled-1.4.2 → fastled-1.4.3}/test +0 -0
  96. {fastled-1.4.2 → fastled-1.4.3}/tests/integration/test_build_examples.py +0 -0
  97. {fastled-1.4.2 → fastled-1.4.3}/tests/integration/test_examples.py +0 -0
  98. {fastled-1.4.2 → fastled-1.4.3}/tests/integration/test_playwright_integration.py +0 -0
  99. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/html/index.html +0 -0
  100. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_api.py +0 -0
  101. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_bad_ino.py +0 -0
  102. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_banner_string.py +0 -0
  103. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_cli.py +0 -0
  104. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_cli_no_platformio.py +0 -0
  105. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_compile_server.py +0 -0
  106. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_debug_fetch_source_files.py +0 -0
  107. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_docker_linux_on_windows.py +0 -0
  108. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_embedded_data.py +0 -0
  109. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_filechanger.py +0 -0
  110. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_flask_headers.py +0 -0
  111. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_http_server.py +0 -0
  112. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_ino/bad/bad.ino +0 -0
  113. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_ino/bad_platformio/bad_platformio.ino +0 -0
  114. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_ino/bad_platformio/platformio.ini +0 -0
  115. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_ino/embedded/data/bigdata.dat +0 -0
  116. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_ino/embedded/wasm.ino +0 -0
  117. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_ino/wasm/wasm.ino +0 -0
  118. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_manual_api_invocation.py +0 -0
  119. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_no_platformio_compile.py +0 -0
  120. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_project_init.py +0 -0
  121. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_server_and_client_seperatly.py +0 -0
  122. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_session_compile.py +0 -0
  123. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_string_diff.py +0 -0
  124. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_string_diff_comprehensive.py +0 -0
  125. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_version.py +0 -0
  126. {fastled-1.4.2 → fastled-1.4.3}/tests/unit/test_webcompile.py +0 -0
  127. {fastled-1.4.2 → fastled-1.4.3}/upload_package.sh +0 -0
  128. {fastled-1.4.2 → fastled-1.4.3}/vscode-plugin/readme +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastled
3
- Version: 1.4.2
3
+ Version: 1.4.3
4
4
  Summary: FastLED Wasm Compiler
5
5
  Home-page: https://github.com/zackees/fastled-wasm
6
6
  Maintainer: Zachary Vorhies
@@ -10,7 +10,7 @@ Classifier: Programming Language :: Python :: 3
10
10
  Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
- Requires-Dist: httpx>=0.28.1
13
+ Requires-Dist: fastled-wasm-server>=1.1.0
14
14
  Requires-Dist: watchdog>=6.0.0
15
15
  Requires-Dist: docker>=7.1.0
16
16
  Requires-Dist: filelock>=3.16.1
@@ -4,7 +4,6 @@ import subprocess
4
4
  import sys
5
5
  import warnings
6
6
  from pathlib import Path
7
- from typing import Tuple
8
7
 
9
8
  from fastled_wasm_compiler import Compiler
10
9
  from fastled_wasm_compiler.paths import VOLUME_MAPPED_SRC
@@ -16,7 +15,7 @@ _CHOICES = ["compile", "server"]
16
15
  HERE = Path(__file__).parent
17
16
 
18
17
 
19
- def _parse_args() -> Tuple[argparse.Namespace, list[str]]:
18
+ def _parse_args() -> tuple[argparse.Namespace, list[str]]:
20
19
  parser = argparse.ArgumentParser(
21
20
  description="Run compile.py with additional arguments"
22
21
  )
@@ -17,7 +17,7 @@ if ! command -v uv &> /dev/null; then
17
17
  fi
18
18
 
19
19
  uv venv --python 3.11 --seed
20
- uv pip install -e .[full]
20
+ uv pip install -e .[full] --refresh
21
21
 
22
22
  uv run pip install -r requirements.testing.txt
23
23
  uv run pip install -r requirements.docker.txt
@@ -11,7 +11,7 @@ keywords = ["template-python-cmd"]
11
11
  license = { text = "BSD 3-Clause License" }
12
12
  classifiers = ["Programming Language :: Python :: 3"]
13
13
  dependencies = [
14
- "httpx>=0.28.1",
14
+ "fastled-wasm-server>=1.1.0", # Just use the Client Code
15
15
  "watchdog>=6.0.0",
16
16
  ########## Begin Docker Manager Dependencies
17
17
  "docker>=7.1.0",
@@ -43,6 +43,13 @@ version = { attr = "fastled.__version__" }
43
43
  [tool.ruff]
44
44
  line-length = 200
45
45
 
46
+ [tool.ruff.lint]
47
+ select = ["F", "E", "W", "UP", "PYI"]
48
+
49
+ [tool.ruff.lint.per-file-ignores]
50
+ "__init__.py" = ["F401"]
51
+ "src/fastled/site/build.py" = ["W291", "W293"] # Ignore whitespace in multi-line strings
52
+
46
53
  [tool.pylint."MESSAGES CONTROL"]
47
54
  good-names = [
48
55
  "c",
@@ -0,0 +1 @@
1
+ fastled-wasm-server[full]>=1.1.0
@@ -1,9 +1,9 @@
1
1
  """FastLED Wasm Compiler package."""
2
2
 
3
+ from collections.abc import Generator
3
4
  from contextlib import contextmanager
4
5
  from multiprocessing import Process
5
6
  from pathlib import Path
6
- from typing import Generator
7
7
 
8
8
  from .__version__ import __version__
9
9
  from .compile_server import CompileServer
@@ -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.2"
4
+ __version__ = "1.4.3"
5
5
 
6
6
  __version_url_latest__ = "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/src/fastled/__version__.py"
@@ -10,7 +10,6 @@ from contextlib import redirect_stdout
10
10
  from multiprocessing import Process, Queue
11
11
  from pathlib import Path
12
12
  from queue import Empty
13
- from typing import Dict, Set
14
13
 
15
14
  from watchdog.events import FileSystemEvent, FileSystemEventHandler
16
15
  from watchdog.observers import Observer
@@ -35,8 +34,8 @@ class MyEventHandler(FileSystemEventHandler):
35
34
  def __init__(
36
35
  self,
37
36
  change_queue: queue.Queue,
38
- excluded_patterns: Set[str],
39
- file_hashes: Dict[str, str],
37
+ excluded_patterns: set[str],
38
+ file_hashes: dict[str, str],
40
39
  ) -> None:
41
40
  super().__init__()
42
41
  self.change_queue = change_queue
@@ -94,8 +93,8 @@ class FileChangedNotifier(threading.Thread):
94
93
  )
95
94
  self.stopped = False
96
95
  self.change_queue: queue.Queue = queue.Queue()
97
- self.last_notification: Dict[str, float] = {}
98
- self.file_hashes: Dict[str, str] = {}
96
+ self.last_notification: dict[str, float] = {}
97
+ self.file_hashes: dict[str, str] = {}
99
98
  self.debounce_seconds = debounce_seconds
100
99
 
101
100
  def stop(self) -> None:
@@ -265,7 +265,6 @@ INDEX_TEMPLATE = """<!DOCTYPE html>
265
265
  checkmark.style.color = '#E0E0E0';
266
266
  link.appendChild(checkmark);
267
267
  }});
268
-
269
268
  // Now load first example and show its checkmark
270
269
  if (links.length > 0) {{
271
270
  // Try to find SdCard example first
@@ -274,7 +273,6 @@ INDEX_TEMPLATE = """<!DOCTYPE html>
274
273
  startLink.classList.add('active');
275
274
  startLink.querySelector('.fa-check').style.display = 'inline-block';
276
275
  }}
277
-
278
276
  // Add click handlers
279
277
  links.forEach(link => {{
280
278
  link.addEventListener('click', function(e) {{
@@ -313,11 +311,10 @@ INDEX_TEMPLATE = """<!DOCTYPE html>
313
311
  showNav();
314
312
  }}
315
313
  }});
316
-
317
314
  // Close menu when clicking anywhere in the document
318
315
  document.addEventListener('click', (e) => {{
319
- if (navPane.classList.contains('visible') &&
320
- !navPane.contains(e.target) &&
316
+ if (navPane.classList.contains('visible') &&
317
+ !navPane.contains(e.target) &&
321
318
  !navTrigger.contains(e.target)) {{
322
319
  hideNav();
323
320
  }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastled
3
- Version: 1.4.2
3
+ Version: 1.4.3
4
4
  Summary: FastLED Wasm Compiler
5
5
  Home-page: https://github.com/zackees/fastled-wasm
6
6
  Maintainer: Zachary Vorhies
@@ -10,7 +10,7 @@ Classifier: Programming Language :: Python :: 3
10
10
  Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
- Requires-Dist: httpx>=0.28.1
13
+ Requires-Dist: fastled-wasm-server>=1.1.0
14
14
  Requires-Dist: watchdog>=6.0.0
15
15
  Requires-Dist: docker>=7.1.0
16
16
  Requires-Dist: filelock>=3.16.1
@@ -1,4 +1,4 @@
1
- httpx>=0.28.1
1
+ fastled-wasm-server>=1.1.0
2
2
  watchdog>=6.0.0
3
3
  docker>=7.1.0
4
4
  filelock>=3.16.1
@@ -1 +0,0 @@
1
- fastled-wasm-server>=1.0.97
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
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