setta 0.0.14.dev9__py3-none-any.whl → 0.0.15.dev1__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.
- setta/__init__.py +1 -1
- setta/static/frontend/assets/{index-DwOB3E_D.js → index-DodsVsiZ.js} +170 -170
- setta/static/frontend/index.html +1 -1
- setta/tasks/tasks.py +19 -5
- {setta-0.0.14.dev9.dist-info → setta-0.0.15.dev1.dist-info}/METADATA +6 -16
- {setta-0.0.14.dev9.dist-info → setta-0.0.15.dev1.dist-info}/RECORD +10 -10
- {setta-0.0.14.dev9.dist-info → setta-0.0.15.dev1.dist-info}/LICENSE +0 -0
- {setta-0.0.14.dev9.dist-info → setta-0.0.15.dev1.dist-info}/WHEEL +0 -0
- {setta-0.0.14.dev9.dist-info → setta-0.0.15.dev1.dist-info}/entry_points.txt +0 -0
- {setta-0.0.14.dev9.dist-info → setta-0.0.15.dev1.dist-info}/top_level.txt +0 -0
setta/static/frontend/index.html
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
<meta name="description" content="setta" />
|
15
15
|
|
16
16
|
<title>setta.dev</title>
|
17
|
-
<script type="module" crossorigin src="/static/assets/index-
|
17
|
+
<script type="module" crossorigin src="/static/assets/index-DodsVsiZ.js"></script>
|
18
18
|
<link rel="stylesheet" crossorigin href="/static/assets/index-DG_u-B1j.css">
|
19
19
|
</head>
|
20
20
|
<body>
|
setta/tasks/tasks.py
CHANGED
@@ -64,6 +64,7 @@ class Tasks:
|
|
64
64
|
message: TaskMessage,
|
65
65
|
websocket_manager=None,
|
66
66
|
call_all=False,
|
67
|
+
call_fns_with_empty_dependency_array=False,
|
67
68
|
subprocess_key=None,
|
68
69
|
project_config_id=None,
|
69
70
|
section_id=None,
|
@@ -87,11 +88,10 @@ class Tasks:
|
|
87
88
|
# For each matching subprocess, collect all functions that need to be called
|
88
89
|
fns_to_call = []
|
89
90
|
for fn_name, fnInfo in sp_info["fnInfo"].items():
|
90
|
-
if (
|
91
|
-
call_all
|
92
|
-
or None in fnInfo["dependencies"]
|
93
|
-
or any(k in fnInfo["dependencies"] for k in message.content.keys())
|
91
|
+
if call_fn_condition(
|
92
|
+
call_all, call_fns_with_empty_dependency_array, fnInfo, message
|
94
93
|
):
|
94
|
+
print('fnInfo["dependencies"]', fnInfo["dependencies"], flush=True)
|
95
95
|
fns_to_call.append(fn_name)
|
96
96
|
|
97
97
|
if fns_to_call:
|
@@ -231,7 +231,7 @@ class Tasks:
|
|
231
231
|
):
|
232
232
|
initial_result = await self.call_in_memory_subprocess_fn(
|
233
233
|
TaskMessage(id=create_new_id(), content={}),
|
234
|
-
|
234
|
+
call_fns_with_empty_dependency_array=True,
|
235
235
|
project_config_id=project_config_id,
|
236
236
|
idx=idx,
|
237
237
|
call_type="call_with_new_exporter_obj",
|
@@ -305,3 +305,17 @@ def match_subprocess_key(
|
|
305
305
|
return False
|
306
306
|
|
307
307
|
return True
|
308
|
+
|
309
|
+
|
310
|
+
def call_fn_condition(call_all, call_fns_with_empty_dependency_array, fnInfo, message):
|
311
|
+
return (
|
312
|
+
call_all
|
313
|
+
or (call_fns_with_empty_dependency_array and not fnInfo["dependencies"])
|
314
|
+
or (
|
315
|
+
not call_fns_with_empty_dependency_array
|
316
|
+
and (
|
317
|
+
None in fnInfo["dependencies"]
|
318
|
+
or any(k in fnInfo["dependencies"] for k in message.content)
|
319
|
+
)
|
320
|
+
)
|
321
|
+
)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: setta
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.15.dev1
|
4
4
|
Summary: Python without the donkeywork.
|
5
5
|
Home-page: https://setta.dev
|
6
6
|
Author: Kevin Musgrave, Jeff Musgrave
|
@@ -42,6 +42,11 @@ Requires-Dist: flake8==6.1.0; extra == "dev"
|
|
42
42
|
|
43
43
|
## News
|
44
44
|
|
45
|
+
**March 5**: [v0.0.14](https://github.com/settadev/setta/releases/tag/v0.0.14)
|
46
|
+
- Allow access to individual layers of Drawing sections, as well as the combined output.
|
47
|
+
- Added button + shortcut for sending current full project state to in-memory functions.
|
48
|
+
|
49
|
+
|
45
50
|
**March 4**: [v0.0.13](https://github.com/settadev/setta/releases/tag/v0.0.13)
|
46
51
|
- Updated frontend javascript dependencies.
|
47
52
|
|
@@ -61,21 +66,6 @@ Requires-Dist: flake8==6.1.0; extra == "dev"
|
|
61
66
|
</table>
|
62
67
|
|
63
68
|
|
64
|
-
**March 2**: [v0.0.11](https://github.com/settadev/setta/releases/tag/v0.0.11)
|
65
|
-
- Added User View mode. This allows you to quickly create a simplified version of your UI.
|
66
|
-
Here's an example of what Developer View and User View look like:
|
67
|
-
|
68
|
-
<table>
|
69
|
-
<tr>
|
70
|
-
<th width="50%">Developer View</th>
|
71
|
-
<th width="50%">User View</th>
|
72
|
-
</tr>
|
73
|
-
<tr>
|
74
|
-
<td><img src="https://github.com/user-attachments/assets/4ecbb85a-1857-413c-b768-9ac17f226b6f" /></td>
|
75
|
-
<td><img src="https://github.com/user-attachments/assets/1126649e-7559-4785-80b9-7eda6466c2e0" /></td>
|
76
|
-
</tr>
|
77
|
-
</table>
|
78
|
-
|
79
69
|
## What does Setta do?
|
80
70
|
|
81
71
|
Setta is a general-purpose developer tool that streamlines Python coding, configuration, UI creation, and onboarding.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
setta/__init__.py,sha256=
|
1
|
+
setta/__init__.py,sha256=PPyGPEl5RHRcrbQDPQNFXA758s8ZEaqDN9JKrrazFDE,28
|
2
2
|
setta/server.py,sha256=q4w9WG7SuLxwYtgXUCQyLt7t_HLmQV4y5abqvm7-uEA,4861
|
3
3
|
setta/start.py,sha256=5sMZ7WH3KV9Q0v186PsaYqsWOz7hebyrpXbBOp9wQww,3589
|
4
4
|
setta/cli/__init__.py,sha256=UxZG_VOMuF6lEBT3teUgTS9ulsK3wt3Gu3BbAQiAmt8,47
|
@@ -109,7 +109,7 @@ setta/static/frontend/browserconfig.xml,sha256=w0iw1t89kA7-965LTfyLYrFzewTQnUWE_
|
|
109
109
|
setta/static/frontend/favicon-16x16.png,sha256=q67Crpy8s3wryu7Y3kffPeysN99Lt4XeFygXhPKize8,740
|
110
110
|
setta/static/frontend/favicon-32x32.png,sha256=4NKXYticYdMrRHmVveHjxqnBU1HWgBT5JyJG8lx3BNE,1027
|
111
111
|
setta/static/frontend/favicon.ico,sha256=02qhEBLsvsgBTZX6dcZElMyivlvrR7Yr6wB8ItEZFsc,15086
|
112
|
-
setta/static/frontend/index.html,sha256=
|
112
|
+
setta/static/frontend/index.html,sha256=Mb8qed9rOq2YfIa_rQ5rF6caSJXZYZC1z9C5RJb4fWA,1298
|
113
113
|
setta/static/frontend/manifest.json,sha256=ULPYw5A68_eNhxuUVXqxT045yhkurKPSz6hjyGcnmhQ,492
|
114
114
|
setta/static/frontend/mstile-144x144.png,sha256=wQqckmRWre2NCCevevI3rv4j0tcduVMkpYr2tPj73cs,2692
|
115
115
|
setta/static/frontend/mstile-150x150.png,sha256=FUwy6PipTofnhmJB5CdXWYgwy-2inq_sIOdOwdDklcY,2674
|
@@ -185,7 +185,7 @@ setta/static/frontend/assets/cormorant-garamond-latin-700-italic-BQbwEFjx.woff2,
|
|
185
185
|
setta/static/frontend/assets/cormorant-garamond-latin-ext-700-italic-DnnS5iSC.woff2,sha256=Ulc44CPXdUiI5dY86W76HLk7801Fm9_QywCV-8GRtFU,17240
|
186
186
|
setta/static/frontend/assets/cormorant-garamond-vietnamese-700-italic-2_nTgjbG.woff2,sha256=mVYwN54qI0RLXqyrDGPUNpBHWSJDKjgUyBRWa2FJ_ao,5248
|
187
187
|
setta/static/frontend/assets/index-DG_u-B1j.css,sha256=p4Gqww92nEx28I_kek53IZqFoHhzWcpbVL0O4oOP6R4,238489
|
188
|
-
setta/static/frontend/assets/index-
|
188
|
+
setta/static/frontend/assets/index-DodsVsiZ.js,sha256=ZODZXJ-CPAk4neKZgmGLdCtZ_nLqZKY0CpHUQaiJ0fM,3083095
|
189
189
|
setta/static/frontend/assets/inter-all-400-normal-ByZ5TkcW.woff,sha256=BU8S0GmcIMyYte4ESEdQJO-WvL2Rb-38m1n0ujdbYxI,128624
|
190
190
|
setta/static/frontend/assets/inter-all-600-normal-BQl_S1BW.woff,sha256=wDdp5VNyQL_IbxcPThD2qI-ETg_QKj7AmCwMCjqDfLE,139072
|
191
191
|
setta/static/frontend/assets/inter-all-800-normal-BdAoPad8.woff,sha256=FdxuS9xuVumB5nbVcCXyt3IWqzS4Z75qiRz_0FV5al0,139120
|
@@ -230,7 +230,7 @@ setta/static/seed/.DS_Store,sha256=ENxJvDQd7Te_U8gExcXtHE-mAeBUYOHELRfDWgN1NmA,6
|
|
230
230
|
setta/static/seed/examples/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
231
231
|
setta/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
232
232
|
setta/tasks/task_runner.py,sha256=gMXpfZWFMQbix2MfrHVCKB7BxQCjO8JH2P8cxUmt1ms,849
|
233
|
-
setta/tasks/tasks.py,sha256=
|
233
|
+
setta/tasks/tasks.py,sha256=dME1fs6uQ6MMEgQOwmMWNgPNW0lQiNmyceC3VPZBkcU,11530
|
234
234
|
setta/tasks/utils.py,sha256=iqbsLYBcu4Qd-MAHd0SWK9wPaJezgEh1Yg5YC9goOLU,10631
|
235
235
|
setta/tasks/fns/__init__.py,sha256=JhGzzQGaT9BWtF3pOmguh6pzIF9kdG3jdDNLyYZ2w7g,461
|
236
236
|
setta/tasks/fns/codeAreaAutocomplete.py,sha256=gJ5JbjkWDyTothr-UF-YlOxrbVzj2iyOVK7XD3lfhSQ,6416
|
@@ -252,9 +252,9 @@ setta/utils/generate_new_filename.py,sha256=KBLX6paDmTvXR-027TpqQkfijIXc7mCfhen-
|
|
252
252
|
setta/utils/section_contents.py,sha256=V2HQPik6DfSXw4j7IalbP5AZ3OEGCbtL5ub3xL-Q_Qo,4141
|
253
253
|
setta/utils/utils.py,sha256=KjzcvgM3Ab3IcE8vaWYtgBpwzPLKg0LmblnHLoYZJHM,9164
|
254
254
|
setta/utils/websocket_manager.py,sha256=MBIMI8xxOFQF4lT3on4pupi1ttEWXdWPV4fI2YP_UJU,3925
|
255
|
-
setta-0.0.
|
256
|
-
setta-0.0.
|
257
|
-
setta-0.0.
|
258
|
-
setta-0.0.
|
259
|
-
setta-0.0.
|
260
|
-
setta-0.0.
|
255
|
+
setta-0.0.15.dev1.dist-info/LICENSE,sha256=us9fuCq9wmiZVzayjKxNZ2iJYF6dROe0Qp57ToCO7XU,11361
|
256
|
+
setta-0.0.15.dev1.dist-info/METADATA,sha256=ZfIcUxJDTl16yCJif1lfxqUBhXi0IMwRy3_BrJpocRw,7202
|
257
|
+
setta-0.0.15.dev1.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
258
|
+
setta-0.0.15.dev1.dist-info/entry_points.txt,sha256=P0qCESy9fWF2q1EQ9JufGldCSnPHplDPn8J6Bgk5hB0,42
|
259
|
+
setta-0.0.15.dev1.dist-info/top_level.txt,sha256=8G4lmRzVOnJ11_DescPVHE6MQZH-o06A0nGsDDV2ngY,6
|
260
|
+
setta-0.0.15.dev1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|