funcnodes-react-flow 0.1.8__py3-none-any.whl → 0.1.11__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.
@@ -26,6 +26,10 @@
26
26
  !*** external "react-dom" ***!
27
27
  \****************************/
28
28
 
29
+ /*!*****************************!*\
30
+ !*** ./src/utils/logger.ts ***!
31
+ \*****************************/
32
+
29
33
  /*!******************************!*\
30
34
  !*** ./src/frontend/lib.tsx ***!
31
35
  \******************************/
@@ -46,6 +50,10 @@
46
50
  !*** ./src/states/fnrfzst.ts ***!
47
51
  \*******************************/
48
52
 
53
+ /*!*******************************!*\
54
+ !*** ./src/utils/debugger.ts ***!
55
+ \*******************************/
56
+
49
57
  /*!********************************!*\
50
58
  !*** ./src/frontend/edge.scss ***!
51
59
  \********************************/
@@ -206,6 +214,10 @@
206
214
  !*** ./src/frontend/node/io/nodeinput.tsx ***!
207
215
  \********************************************/
208
216
 
217
+ /*!********************************************!*\
218
+ !*** ./src/frontend/node/nodesettings.tsx ***!
219
+ \********************************************/
220
+
209
221
  /*!********************************************!*\
210
222
  !*** ./src/frontend/utils/colorpicker.tsx ***!
211
223
  \********************************************/
@@ -242,6 +254,10 @@
242
254
  !*** ./src/frontend/node/io/nodeoutput.tsx ***!
243
255
  \*********************************************/
244
256
 
257
+ /*!*********************************************!*\
258
+ !*** ./src/frontend/node/nodesettings.scss ***!
259
+ \*********************************************/
260
+
245
261
  /*!*********************************************!*\
246
262
  !*** ./src/frontend/utils/colorpicker.scss ***!
247
263
  \*********************************************/
@@ -702,6 +718,10 @@
702
718
  !*** ./src/frontend/node/io/default_input_renderer.tsx ***!
703
719
  \*********************************************************/
704
720
 
721
+ /*!**********************************************************!*\
722
+ !*** ../node_modules/@mui/icons-material/ChevronLeft.js ***!
723
+ \**********************************************************/
724
+
705
725
  /*!**********************************************************!*\
706
726
  !*** ../node_modules/@mui/material/ButtonBase/Ripple.js ***!
707
727
  \**********************************************************/
@@ -786,6 +806,10 @@
786
806
  !*** ../node_modules/uuid/dist/esm-browser/stringify.js ***!
787
807
  \**********************************************************/
788
808
 
809
+ /*!***********************************************************!*\
810
+ !*** ../node_modules/@mui/icons-material/ChevronRight.js ***!
811
+ \***********************************************************/
812
+
789
813
  /*!***********************************************************!*\
790
814
  !*** ../node_modules/@mui/material/Table/TableContext.js ***!
791
815
  \***********************************************************/
@@ -7,6 +7,7 @@ import time
7
7
  import threading
8
8
  import asyncio
9
9
  import funcnodes as fn
10
+ import websockets
10
11
 
11
12
  PORT = 8029
12
13
 
@@ -97,6 +98,19 @@ def _open_browser(port, delay=1.0):
97
98
  webbrowser.open(f"http://localhost:{port}")
98
99
 
99
100
 
101
+ async def websocket_handler(websocket, path):
102
+ async for message in websocket:
103
+ print(f"Received WebSocket message: {message}")
104
+ await websocket.send(f"Echo: {message}")
105
+
106
+
107
+ def start_websocket_server(port):
108
+ asyncio.set_event_loop(asyncio.new_event_loop())
109
+ start_server = websockets.serve(websocket_handler, "localhost", port)
110
+ asyncio.get_event_loop().run_until_complete(start_server)
111
+ asyncio.get_event_loop().run_forever()
112
+
113
+
100
114
  def run_server(
101
115
  port=PORT,
102
116
  open_browser=True,
@@ -136,3 +150,7 @@ def run_server(
136
150
  raise
137
151
  except OSError as e:
138
152
  print(f"Could not start server at port {port}: {e}")
153
+
154
+
155
+
156
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Linkdlab GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ Metadata-Version: 2.1
2
+ Name: funcnodes-react-flow
3
+ Version: 0.1.11
4
+ Summary: funcnodes frontend for react flow
5
+ License: MIT
6
+ Author: Julian Kimmig
7
+ Author-email: julian.kimmig@linkdlab.de
8
+ Requires-Python: >=3.11
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Requires-Dist: funcnodes (>=0.4.11)
14
+ Project-URL: download, https://pypi.org/project/funcnodes-react-flow/#files
15
+ Project-URL: homepage, https://github.com/Linkdlab/funcnodes_react_flow
16
+ Project-URL: source, https://github.com/Linkdlab/funcnodes_react_flow
17
+ Project-URL: tracker, https://github.com/Linkdlab/funcnodes_react_flow/issues
18
+ Description-Content-Type: text/markdown
19
+
20
+ # funcnodes_react_flow
21
+
@@ -4,22 +4,23 @@ funcnodes_react_flow/android-chrome-192x192.png,sha256=h4hbdDXDtvScWqUT58h4E7HHU
4
4
  funcnodes_react_flow/android-chrome-512x512.png,sha256=DrT8R6pyDlXCY8s3xK7XoI7kA9B_tauSHDvAEOGuhhs,109112
5
5
  funcnodes_react_flow/apple-touch-icon.png,sha256=eFhCNPRIaVm5byHgky0qyd3Qm26bqVCKoNmYTDkf3K4,19738
6
6
  funcnodes_react_flow/asset-manifest.json,sha256=OyWboBO20GB-kn07e4rMSDd1d6744Px6oomS98f82Ik,965
7
- funcnodes_react_flow/css/style.css,sha256=QQ4BNQ84oP-D5FRhgqPnfajY_oa1xv8cQKMO8JWQoCQ,31856
7
+ funcnodes_react_flow/css/style.css,sha256=jNHLeSmtTsidhhk6OqUs1mqgYTh2mB2dio6UbmxQVNM,33073
8
8
  funcnodes_react_flow/favicon-16x16.png,sha256=Y6YE3ZUFODMTX-isM-40-TWZfK4-qJPBk1w_KcNwiSo,483
9
9
  funcnodes_react_flow/favicon-32x32.png,sha256=WdE9uZZjcQu0EQIHarS1RJeXv-dEB6eHE7WS8X_c-1w,1289
10
10
  funcnodes_react_flow/favicon.ico,sha256=Pk8lVbI7hfFz5QXYE2KdTUe1ZYUGWab0AvmUEmkoENw,15406
11
11
  funcnodes_react_flow/index.html,sha256=YHIVeG9iBmcdLIi7XIkmbPogCC5Yz5bixu2ZojJq2b0,658
12
12
  funcnodes_react_flow/js/830.js,sha256=Up3fVX5PKUFoflJaQInArDTS2koph6c35ZwZZtaKkys,146451
13
13
  funcnodes_react_flow/js/830.js.LICENSE.txt,sha256=e5p1o8nk5I59O2lYb59lVhS16o36RTqkziIaZ9X8TZA,721
14
- funcnodes_react_flow/js/main.js,sha256=0aBlnmMS0xYTalaMz6QT_qDHvYCWW1TAUcUvEoRwpRA,2125392
15
- funcnodes_react_flow/js/main.js.LICENSE.txt,sha256=Muy20mLKV5ackzmSSaw1Q8bT2jcQGiRoD331JUb3q1E,89306
14
+ funcnodes_react_flow/js/main.js,sha256=5cdUkczhA688mPZL1yonjyd_D_yErXevqsMmjb7OTUI,2151075
15
+ funcnodes_react_flow/js/main.js.LICENSE.txt,sha256=Il-ALBDeiXmFo2SB0SGwzAJLy2UvDz0SlH74MSb9zlc,90212
16
16
  funcnodes_react_flow/logo.png,sha256=VPvWfSSqRW-Jv7qiVsE6dxcyaB2vJp1JL60x6IA8Sbk,96855
17
17
  funcnodes_react_flow/logo192.png,sha256=XAIrH5_B6T77mW4eEP2emYcTkprrwuokSWKoy27v6uU,19826
18
18
  funcnodes_react_flow/logo512.png,sha256=9SEEPsgJusj_-fxvDf11ea2YpUKXOdLhSPT3DNRw9e8,65653
19
19
  funcnodes_react_flow/manifest.json,sha256=ULPYw5A68_eNhxuUVXqxT045yhkurKPSz6hjyGcnmhQ,492
20
20
  funcnodes_react_flow/robots.txt,sha256=kNJLw79pisHhc3OVAimMzKcq3x9WT6sF9IS4xI0crdI,67
21
- funcnodes_react_flow/run.py,sha256=saoMHKSm7LpzsXCEJMpvloJU2dHqkI7jtXLRJdiygH4,4424
22
- funcnodes_react_flow-0.1.8.dist-info/METADATA,sha256=OSVj43_THWb42tVT5Ed0iaDLJREv_fkQb7wWY8JI_9Y,433
23
- funcnodes_react_flow-0.1.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
24
- funcnodes_react_flow-0.1.8.dist-info/entry_points.txt,sha256=FbrfqRLScFuNXaVpoyfz7lPcSjTlRf4G06ZUZhTgJMM,75
25
- funcnodes_react_flow-0.1.8.dist-info/RECORD,,
21
+ funcnodes_react_flow/run.py,sha256=aJvMLAfpDXmapsYwsh8sR7EpwuC5TDYm-vQ_hrLvgBc,4903
22
+ funcnodes_react_flow-0.1.11.dist-info/LICENSE,sha256=VcvnA4LohgMs8yTDTS1sS3aZbSFa3Ei9YeJogeosE7Y,1070
23
+ funcnodes_react_flow-0.1.11.dist-info/METADATA,sha256=wKI9gDpRdhBBV9GuBJeT8H8_tLp28pwS1nj9FWQocz4,805
24
+ funcnodes_react_flow-0.1.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
25
+ funcnodes_react_flow-0.1.11.dist-info/entry_points.txt,sha256=FbrfqRLScFuNXaVpoyfz7lPcSjTlRf4G06ZUZhTgJMM,75
26
+ funcnodes_react_flow-0.1.11.dist-info/RECORD,,
@@ -1,15 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: funcnodes_react_flow
3
- Version: 0.1.8
4
- Summary: funcnodes frontend for react flow
5
- Author: Julian Kimmig
6
- Author-email: julian.kimmig@linkdlab.de
7
- Requires-Python: >=3.11
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.11
10
- Classifier: Programming Language :: Python :: 3.12
11
- Requires-Dist: funcnodes
12
- Description-Content-Type: text/markdown
13
-
14
- # funcnodes_react_flow
15
-