fastled 1.3.29__py3-none-any.whl → 1.3.30__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/server_flask.py +17 -0
- {fastled-1.3.29.dist-info → fastled-1.3.30.dist-info}/METADATA +5 -1
- {fastled-1.3.29.dist-info → fastled-1.3.30.dist-info}/RECORD +8 -8
- {fastled-1.3.29.dist-info → fastled-1.3.30.dist-info}/WHEEL +0 -0
- {fastled-1.3.29.dist-info → fastled-1.3.30.dist-info}/entry_points.txt +0 -0
- {fastled-1.3.29.dist-info → fastled-1.3.30.dist-info}/licenses/LICENSE +0 -0
- {fastled-1.3.29.dist-info → fastled-1.3.30.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.3.
|
4
|
+
__version__ = "1.3.30"
|
5
5
|
|
6
6
|
__version_url_latest__ = "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/src/fastled/__version__.py"
|
fastled/server_flask.py
CHANGED
@@ -60,9 +60,26 @@ def _run_flask_server(
|
|
60
60
|
"""
|
61
61
|
try:
|
62
62
|
from flask import Flask, Response, request, send_from_directory
|
63
|
+
from flask_cors import CORS
|
63
64
|
|
64
65
|
app = Flask(__name__)
|
65
66
|
|
67
|
+
# Enable CORS for all domains on all routes
|
68
|
+
CORS(
|
69
|
+
app,
|
70
|
+
resources={
|
71
|
+
r"/*": {
|
72
|
+
"origins": "*",
|
73
|
+
"methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
|
74
|
+
"allow_headers": [
|
75
|
+
"Content-Type",
|
76
|
+
"Authorization",
|
77
|
+
"X-Requested-With",
|
78
|
+
],
|
79
|
+
}
|
80
|
+
},
|
81
|
+
)
|
82
|
+
|
66
83
|
# Must be a full path or flask will fail to find the file.
|
67
84
|
fastled_js = fastled_js.resolve()
|
68
85
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fastled
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.30
|
4
4
|
Summary: FastLED Wasm Compiler
|
5
5
|
Home-page: https://github.com/zackees/fastled-wasm
|
6
6
|
Maintainer: Zachary Vorhies
|
@@ -19,6 +19,7 @@ Requires-Dist: rapidfuzz>=3.10.1
|
|
19
19
|
Requires-Dist: progress>=1.6
|
20
20
|
Requires-Dist: watchfiles>=1.0.5
|
21
21
|
Requires-Dist: Flask>=3.0.0
|
22
|
+
Requires-Dist: flask-cors>=4.0.0
|
22
23
|
Requires-Dist: livereload
|
23
24
|
Requires-Dist: disklru>=2.0.4
|
24
25
|
Dynamic: home-page
|
@@ -55,8 +56,10 @@ Compile times are extremely fast, thanks to aggressive object caching for C++ an
|
|
55
56
|
|
56
57
|
If you have docker installed, the compiler will download the docker image and run a private local server on your machine. If you don't have Docker installed then the app will fall back to using the public web compiler.
|
57
58
|
|
59
|
+
|
58
60
|
In every conceivable way, the local compiler will be much faster than the web version.
|
59
61
|
|
62
|
+
|
60
63
|
# Run
|
61
64
|
|
62
65
|
Once `fastled` is installed you'll just navigate to your sketch directory and run it.
|
@@ -69,6 +72,7 @@ $ fastled
|
|
69
72
|
```
|
70
73
|
|
71
74
|
|
75
|
+
|
72
76
|
# Install
|
73
77
|
|
74
78
|
This is a python app, so any python package manager will work. We also provide python compiled binaries for Windows, MacOS, and Linux.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
fastled/__init__.py,sha256=YLikXGRWKlKAqj7bpvGmJLejGTFF-FC1lv2z1jwRinA,6852
|
2
|
-
fastled/__version__.py,sha256=
|
2
|
+
fastled/__version__.py,sha256=XksOhvusTJbSELTOyAU0ChrxuXl8VCstAzfCOc2zn4A,373
|
3
3
|
fastled/app.py,sha256=zfSipnCZ6w9_aXCynGrqf7OE--mKzbhT0mEfCNW5XjA,5736
|
4
4
|
fastled/args.py,sha256=d9CaarQ1yw7w0REwgrNQ78zOUQSk94fTXwXHtFZPTSY,3281
|
5
5
|
fastled/cli.py,sha256=drgR2AOxVrj3QEz58iiKscYAumbbin2vIV-k91VCOAA,561
|
@@ -19,7 +19,7 @@ fastled/paths.py,sha256=VsPmgu0lNSCFOoEC0BsTYzDygXqy15AHUfN-tTuzDZA,99
|
|
19
19
|
fastled/print_filter.py,sha256=nc_rqYYdCUPinFycaK7fiQF5PG1up51pmJptR__QyAs,1499
|
20
20
|
fastled/project_init.py,sha256=bBt4DwmW5hZkm9ICt9Qk-0Nr_0JQM7icCgH5Iv-bCQs,3984
|
21
21
|
fastled/select_sketch_directory.py,sha256=-eudwCns3AKj4HuHtSkZAFwbnf005SNL07pOzs9VxnE,1383
|
22
|
-
fastled/server_flask.py,sha256=
|
22
|
+
fastled/server_flask.py,sha256=nItcm_7Ifr6RrLWFWu0xuxBffoEtXUsLA-_Qx8AAWRE,16719
|
23
23
|
fastled/server_start.py,sha256=W9yKStkRlRNuXeV6j_6O7HjjFPyVLBHMcF9Uy2QjDWQ,479
|
24
24
|
fastled/settings.py,sha256=dUVyJ8Mtprg0RwaS6oMWP8jBhr4C3R8fu4Hdx_Z1lCM,577
|
25
25
|
fastled/sketch.py,sha256=Ftbh55Nt-p4hmPuPpj8Q9HrMzvnUazhoG_q9FHcxkns,3473
|
@@ -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.
|
40
|
-
fastled-1.3.
|
41
|
-
fastled-1.3.
|
42
|
-
fastled-1.3.
|
43
|
-
fastled-1.3.
|
44
|
-
fastled-1.3.
|
39
|
+
fastled-1.3.30.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
|
40
|
+
fastled-1.3.30.dist-info/METADATA,sha256=EXdoaFqRgk1YtJHOa-otHCAEpgJ9TNkcs7m4zbSxryM,30847
|
41
|
+
fastled-1.3.30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
42
|
+
fastled-1.3.30.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
|
43
|
+
fastled-1.3.30.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
|
44
|
+
fastled-1.3.30.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|