setta 0.0.6.dev0__py3-none-any.whl → 0.0.7__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.
Potentially problematic release.
This version of setta might be problematic. Click here for more details.
- setta/__init__.py +1 -1
- setta/code_gen/export_selected.py +30 -4
- setta/code_gen/python/generate_code.py +10 -5
- setta/database/db/projects/save.py +3 -2
- setta/database/db/sections/load.py +3 -0
- setta/database/export_db/export_readable.py +3 -3
- setta/database/seed.py +1 -1
- setta/static/constants/BaseUITypes.json +8 -1
- setta/static/constants/Settings.json +5 -3
- setta/static/constants/constants.json +4 -2
- setta/static/constants/defaultValues.json +2 -1
- setta/static/frontend/assets/index-3a6274db.css +32 -0
- setta/static/frontend/assets/{index-105d4b9e.js → index-c90491bb.js} +177 -176
- setta/static/frontend/index.html +2 -2
- setta/utils/constants.py +1 -0
- {setta-0.0.6.dev0.dist-info → setta-0.0.7.dist-info}/METADATA +23 -9
- {setta-0.0.6.dev0.dist-info → setta-0.0.7.dist-info}/RECORD +21 -21
- setta/static/frontend/assets/index-a5bd0f52.css +0 -32
- {setta-0.0.6.dev0.dist-info → setta-0.0.7.dist-info}/LICENSE +0 -0
- {setta-0.0.6.dev0.dist-info → setta-0.0.7.dist-info}/WHEEL +0 -0
- {setta-0.0.6.dev0.dist-info → setta-0.0.7.dist-info}/entry_points.txt +0 -0
- {setta-0.0.6.dev0.dist-info → setta-0.0.7.dist-info}/top_level.txt +0 -0
setta/static/frontend/index.html
CHANGED
@@ -15,8 +15,8 @@
|
|
15
15
|
|
16
16
|
|
17
17
|
<title>setta.dev</title>
|
18
|
-
<script type="module" crossorigin src="/static/assets/index-
|
19
|
-
<link rel="stylesheet" href="/static/assets/index-
|
18
|
+
<script type="module" crossorigin src="/static/assets/index-c90491bb.js"></script>
|
19
|
+
<link rel="stylesheet" href="/static/assets/index-3a6274db.css">
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
setta/utils/constants.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: setta
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.7
|
4
4
|
Summary: Python without the donkeywork.
|
5
5
|
Home-page: https://setta.dev
|
6
6
|
Author: Kevin Musgrave, Jeff Musgrave
|
@@ -42,15 +42,14 @@ Requires-Dist: flake8==6.1.0; extra == "dev"
|
|
42
42
|
|
43
43
|
## News
|
44
44
|
|
45
|
-
**February
|
46
|
-
-
|
47
|
-
|
48
|
-
**February 20**: [v0.0.4](https://github.com/settadev/setta/releases/tag/v0.0.4)
|
49
|
-
- Improvements to subprocesses and param sweeps.
|
45
|
+
**February 23**: [v0.0.7](https://github.com/settadev/setta/releases/tag/v0.0.7)
|
46
|
+
- New `CHAT` section type, and some bug fixes.
|
50
47
|
|
51
|
-
**February
|
52
|
-
-
|
48
|
+
**February 22**: [v0.0.6](https://github.com/settadev/setta/releases/tag/v0.0.6)
|
49
|
+
- Fixed bug where the language server URIs weren't created properly on Windows.
|
53
50
|
|
51
|
+
**February 21**: [v0.0.5](https://github.com/settadev/setta/releases/tag/v0.0.5)
|
52
|
+
- Mostly styling updates.
|
54
53
|
|
55
54
|
## What does Setta do?
|
56
55
|
|
@@ -117,7 +116,7 @@ my_project/
|
|
117
116
|
│ └── temp_folder/
|
118
117
|
```
|
119
118
|
|
120
|
-
|
119
|
+
### Create and run your first Setta project
|
121
120
|
|
122
121
|
On the home page click `New Config`. This will load a brand new, empty project.
|
123
122
|
|
@@ -159,6 +158,21 @@ Click Run in the nav bar. A terminal will appear and it should print 3.162277660
|
|
159
158
|
|
160
159
|
Congratulations! You've successfully run your first Setta project!
|
161
160
|
|
161
|
+
### What happens under the hood
|
162
|
+
|
163
|
+
When you click the Run button, Setta replaces `$SETTA_GENERATED_PYTHON` with:
|
164
|
+
|
165
|
+
```python
|
166
|
+
import math
|
167
|
+
|
168
|
+
x = 10
|
169
|
+
special_val = math.sqrt(x)
|
170
|
+
```
|
171
|
+
|
172
|
+
Notice how it:
|
173
|
+
- Imports the Python `math` library.
|
174
|
+
- Converts your `special_val` section into a variable, equal to `math.sqrt(10)`.
|
175
|
+
|
162
176
|
|
163
177
|
## Documentation
|
164
178
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
setta/__init__.py,sha256=
|
1
|
+
setta/__init__.py,sha256=R9xOYoYrWKcfO5zvTeGC3m_eDNOvxMd8CocQs2tLufo,22
|
2
2
|
setta/server.py,sha256=P78BMFvcCokVhjnVlNIKcmpCSvmzSqt-33bx4bhOe6Y,4626
|
3
3
|
setta/start.py,sha256=jEeSiocLeBitvg48fa6k1CpLnPI63JHkQ8O-WVM6ch8,3078
|
4
4
|
setta/cli/__init__.py,sha256=UxZG_VOMuF6lEBT3teUgTS9ulsK3wt3Gu3BbAQiAmt8,47
|
@@ -6,13 +6,13 @@ setta/cli/connect.py,sha256=Pj2Ten7CQcLQGNnyi5Y-vYslQDN3J8csPcWetlvu_J0,1273
|
|
6
6
|
setta/cli/logger.py,sha256=M-gGOcYt8Xj7ldNGBAUfA9yL1nX4UpBuQR1lkg_qiSs,6130
|
7
7
|
setta/code_gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
setta/code_gen/create_runnable_scripts.py,sha256=LXRu8ErO3_e5HCNomnlgfsyxKp2h-Pmm2VFXzBgDDhA,17444
|
9
|
-
setta/code_gen/export_selected.py,sha256=
|
9
|
+
setta/code_gen/export_selected.py,sha256=GiXvW9GAR5ibtQW5Ju-WyBtONZ5O9nRAYbCxlX7IjbA,28225
|
10
10
|
setta/code_gen/find_placeholders.py,sha256=aTdSSGoh44J2YFZXH9eZJv0D5mvnIMfG2fHSHCn69Ws,575
|
11
11
|
setta/code_gen/utils.py,sha256=ArBPYA__ekeHjZVUDXanlMEnqCX5-Z_R1rMM-1UbEV0,4088
|
12
12
|
setta/code_gen/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
setta/code_gen/python/ast_utils.py,sha256=DaZ0D5M9xdkJLpNzFZiUxHYw-Oq2D_KSomPzPcH2LJ0,6697
|
14
14
|
setta/code_gen/python/check_scope.py,sha256=L4-PcmAWjV5sWDzfLvfZiJ2vtvtIHma61T_1bzjlDmM,6048
|
15
|
-
setta/code_gen/python/generate_code.py,sha256=
|
15
|
+
setta/code_gen/python/generate_code.py,sha256=CuemiJvYdZ6KZoJt2gvnfFSISActVfYzGFB4QKSqabo,10646
|
16
16
|
setta/code_gen/python/make_parseable.py,sha256=K-8YKLz-05C9qEggrUpfNQ7ImARpXKSKvzoK7kYHBuM,2724
|
17
17
|
setta/code_gen/python/position_line_col.py,sha256=LzLtnU0F40zcOnmCPA0Gc8ZseF0U84PVHK5skS3jy8U,1015
|
18
18
|
setta/code_gen/python/validate_imports.py,sha256=qp7Z76NJAEEdoTTLOda1aO1x1E2T0gznl-iZnkeMgVU,3209
|
@@ -24,7 +24,7 @@ setta/database/backup.py,sha256=PA99MVeZ6csoH17YebKzXPgei6_OUW6uSdpqw_a471A,2442
|
|
24
24
|
setta/database/db_init.py,sha256=vjC2ED52L3Ezb50qfhXjasQR5oEZe_xhTBsLJiXQpJU,1037
|
25
25
|
setta/database/db_objs.py,sha256=2Bv-d0BP9u3Dtaq1yzYk2gBiVL6e6rs0TXOg8rrrKeE,2676
|
26
26
|
setta/database/import_db.py,sha256=zegQU7f0gq03lXOtR2DvBy2eTHAbGG2TWhpybIA2QaQ,868
|
27
|
-
setta/database/seed.py,sha256=
|
27
|
+
setta/database/seed.py,sha256=Iqis6OvY5RCjjELu0jtI5AJSZ2o8LEFOizoNgwKw93I,1235
|
28
28
|
setta/database/settings_file.py,sha256=Dcvp-O2ZgcgHjEqUURdlMKNMF4x_Zqwt71iYsAXqjaw,4199
|
29
29
|
setta/database/utils.py,sha256=ewbC0_SYZZSNeBZiKK_UZEt4QSMTT5kwZiBjsutsIvg,706
|
30
30
|
setta/database/db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -45,7 +45,7 @@ setta/database/db/projects/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
45
45
|
setta/database/db/projects/copy.py,sha256=zFy_VFNb6Cav9ZobyULADvtMm5IG5-wan6ZLKlSiIyE,1044
|
46
46
|
setta/database/db/projects/delete.py,sha256=zJs3BIFIb8WXH-awKG3ww0iHhOhvzUjG7BO1gRTPzNE,208
|
47
47
|
setta/database/db/projects/load.py,sha256=XzhpY58ge2RiD-a7t-z5wB7PVMIqo9ktc6VqBLnZZco,5147
|
48
|
-
setta/database/db/projects/save.py,sha256=
|
48
|
+
setta/database/db/projects/save.py,sha256=OD_kBN6GzIba2UC41kPd37nzrFGD_AAdKp3Uq_mOKD0,9122
|
49
49
|
setta/database/db/projects/saveAs.py,sha256=FYjjXlZw8lzJ006S-OqCbD_2RSdZtvq93WTeU_x-sI4,1242
|
50
50
|
setta/database/db/projects/utils.py,sha256=eYSKPcCfaKsqDl4cYPuJSgDfJpjNEXpLb_KB5XpvGcw,4745
|
51
51
|
setta/database/db/sectionVariants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -56,7 +56,7 @@ setta/database/db/sectionVariants/utils.py,sha256=ywVU5wnESkmxdt0IUN5fM1k9NfIMHa
|
|
56
56
|
setta/database/db/sections/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
57
57
|
setta/database/db/sections/copy.py,sha256=JLXqV6nMYWBpFAf5KUuw6Oa8RgVcNeS-WAHQP1f6EjY,2494
|
58
58
|
setta/database/db/sections/jsonSource.py,sha256=vupK044AFbg_5_cikIP9hAZzIJFs8jYW3jyqscswSu4,4309
|
59
|
-
setta/database/db/sections/load.py,sha256=
|
59
|
+
setta/database/db/sections/load.py,sha256=dsErr2KhTDu5iWNPlrKHdgztVJs5VLR6lqp_xUESW0c,11822
|
60
60
|
setta/database/db/sections/save.py,sha256=GNz6QlfMh7zbH6edjqcMrfsQ1oVGuhCW8DDc0vmYUZg,6484
|
61
61
|
setta/database/db/sections/utils.py,sha256=sLuTjeAHv5UfWVkhsu0tl-EkiNME1PY8mClcfHRBf9k,359
|
62
62
|
setta/database/db/uiTypes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -67,7 +67,7 @@ setta/database/db/uiTypes/utils.py,sha256=H-19aXlhna1oxNmlBGY0RdGCoBFYAv0f0x_x86
|
|
67
67
|
setta/database/export_db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
68
68
|
setta/database/export_db/export_db.py,sha256=kDUX-qK1-AokmPmivh9l9uKsUu-jkXnqd-855claGWU,1235
|
69
69
|
setta/database/export_db/export_raw.py,sha256=exRPZXOzPXUgZhcG6d4zolOOnsWuV25TtZAA5ZgoBYc,1811
|
70
|
-
setta/database/export_db/export_readable.py,sha256=
|
70
|
+
setta/database/export_db/export_readable.py,sha256=Ri3YpVX19UQBZCV3wR_oC_D-4hwyUg9CToXhphcy9Bo,8683
|
71
71
|
setta/database/export_db/utils.py,sha256=wJBkZUEjMsf_Qu4tRZYeU-CRujsuoWSzMmQZsje8LU8,495
|
72
72
|
setta/lsp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
73
73
|
setta/lsp/file_watcher.py,sha256=9g1x9XUkCNsV4JQXbYGm9xAFMNXXJcYBs-vBnp_RS8g,3661
|
@@ -95,11 +95,11 @@ setta/routers/sections.py,sha256=nEI5QkyfW0jyABO6qGRSgk41uG_qMj5EGV4GNNODdjY,497
|
|
95
95
|
setta/routers/settings.py,sha256=1S7Epj4O7jElixjNaNlRplBGiYdkj9mFeNQeeOrtQw4,1032
|
96
96
|
setta/routers/terminals.py,sha256=91I3tVUPJtLyCD_-E_qBQ_k8uuNUrcXl5P7sCTQuDQE,2435
|
97
97
|
setta/routers/websocket.py,sha256=6fSROv9C5PobPXppUWwNLDDO0p8VADYaf2KcgIuTQp4,1121
|
98
|
-
setta/static/constants/BaseUITypes.json,sha256=
|
99
|
-
setta/static/constants/Settings.json,sha256=
|
100
|
-
setta/static/constants/constants.json,sha256=
|
98
|
+
setta/static/constants/BaseUITypes.json,sha256=WQUgvN4eq9uU6ifhDBhtyEIoQFsAC022DSEut-E-4bA,4057
|
99
|
+
setta/static/constants/Settings.json,sha256=VJFMO1iq61Euws5QjD5iaBgGh33YRy8GB7MokuEI4IA,3482
|
100
|
+
setta/static/constants/constants.json,sha256=QwzxnhBFS7YjoWeH8ELqLoEN9tGIf4SZWb2Y4FHF_V4,5210
|
101
101
|
setta/static/constants/db_init.sql,sha256=rdc0C5Hx_6d-QWEEbSqscArTyc77w9cMj8vbIVS8ZBw,8436
|
102
|
-
setta/static/constants/defaultValues.json,sha256=
|
102
|
+
setta/static/constants/defaultValues.json,sha256=aSEw0xsGyayxCbsqAHQ9zf3NXj_hah9M0POxkiDUpbs,3020
|
103
103
|
setta/static/constants/settingsProject.json,sha256=yfSIQpu2zUcFnUp2JimAkZ0ispvMv8lMPUUTx4AWSi4,10006
|
104
104
|
setta/static/frontend/android-chrome-192x192.png,sha256=v4139zj56AAgR2JCm32ecRwaEu8RDiqnxfMb4VLW-KM,5575
|
105
105
|
setta/static/frontend/android-chrome-512x512.png,sha256=A_4VOJ6FvQd9TM7MogJWxQ7svo0oXX9_81117lef7UQ,15222
|
@@ -108,7 +108,7 @@ setta/static/frontend/browserconfig.xml,sha256=w0iw1t89kA7-965LTfyLYrFzewTQnUWE_
|
|
108
108
|
setta/static/frontend/favicon-16x16.png,sha256=q67Crpy8s3wryu7Y3kffPeysN99Lt4XeFygXhPKize8,740
|
109
109
|
setta/static/frontend/favicon-32x32.png,sha256=4NKXYticYdMrRHmVveHjxqnBU1HWgBT5JyJG8lx3BNE,1027
|
110
110
|
setta/static/frontend/favicon.ico,sha256=02qhEBLsvsgBTZX6dcZElMyivlvrR7Yr6wB8ItEZFsc,15086
|
111
|
-
setta/static/frontend/index.html,sha256=
|
111
|
+
setta/static/frontend/index.html,sha256=AeYYTX_ZjtKEjRwNXsTSQ0Ky-MAuj9Xot8aPeTw45bk,1296
|
112
112
|
setta/static/frontend/manifest.json,sha256=ULPYw5A68_eNhxuUVXqxT045yhkurKPSz6hjyGcnmhQ,492
|
113
113
|
setta/static/frontend/mstile-144x144.png,sha256=wQqckmRWre2NCCevevI3rv4j0tcduVMkpYr2tPj73cs,2692
|
114
114
|
setta/static/frontend/mstile-150x150.png,sha256=FUwy6PipTofnhmJB5CdXWYgwy-2inq_sIOdOwdDklcY,2674
|
@@ -184,8 +184,8 @@ setta/static/frontend/assets/cormorant-garamond-latin-700-italic-0bc53e12.woff2,
|
|
184
184
|
setta/static/frontend/assets/cormorant-garamond-latin-ext-700-italic-525738e0.woff2,sha256=Ulc44CPXdUiI5dY86W76HLk7801Fm9_QywCV-8GRtFU,17240
|
185
185
|
setta/static/frontend/assets/cormorant-garamond-vietnamese-700-italic-99563037.woff2,sha256=mVYwN54qI0RLXqyrDGPUNpBHWSJDKjgUyBRWa2FJ_ao,5248
|
186
186
|
setta/static/frontend/assets/erase-5e0448ea.svg,sha256=XgRI6pChr392LJ-pGbwqqkN8OWcJMEtRGX-Gv-90qjw,872
|
187
|
-
setta/static/frontend/assets/index-
|
188
|
-
setta/static/frontend/assets/index-
|
187
|
+
setta/static/frontend/assets/index-3a6274db.css,sha256=OmJ02xeBX441nW5utl9a9UVY81zkKmBUJ68u0G8YmvY,235506
|
188
|
+
setta/static/frontend/assets/index-c90491bb.js,sha256=VkVqKJjbtCPp-rdLeRzLfq-LV16trQGaOT7jAJkRHT0,2854696
|
189
189
|
setta/static/frontend/assets/inter-all-400-normal-054f12d0.woff,sha256=BU8S0GmcIMyYte4ESEdQJO-WvL2Rb-38m1n0ujdbYxI,128624
|
190
190
|
setta/static/frontend/assets/inter-all-600-normal-c03769e5.woff,sha256=wDdp5VNyQL_IbxcPThD2qI-ETg_QKj7AmCwMCjqDfLE,139072
|
191
191
|
setta/static/frontend/assets/inter-all-800-normal-15dc6e4b.woff,sha256=FdxuS9xuVumB5nbVcCXyt3IWqzS4Z75qiRz_0FV5al0,139120
|
@@ -248,15 +248,15 @@ setta/terminals/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
248
248
|
setta/terminals/terminals.py,sha256=p16VrSXKjD6l5o902RR95Yffg9q-MfKfsezXPXTIJUE,9116
|
249
249
|
setta/terminals/utils.py,sha256=Yh_AsBE4h2rWqgHvg2UNlZnhE6yAIFAN6DnfnJvEIZ8,1281
|
250
250
|
setta/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
251
|
-
setta/utils/constants.py,sha256=
|
251
|
+
setta/utils/constants.py,sha256=KCFIbfcvjttREKZ1VOdFqF-vsfM9z6IKjGb6ELYiU4k,3833
|
252
252
|
setta/utils/generate_memorable_string.py,sha256=ZIn8gQm3cpMuqTCRgAPXAm5VdbWW7O3fUVLmoQVuzLY,7713
|
253
253
|
setta/utils/generate_new_filename.py,sha256=KBLX6paDmTvXR-027TpqQkfijIXc7mCfhen-u1WZARA,3067
|
254
254
|
setta/utils/section_contents.py,sha256=V2HQPik6DfSXw4j7IalbP5AZ3OEGCbtL5ub3xL-Q_Qo,4141
|
255
255
|
setta/utils/utils.py,sha256=KjzcvgM3Ab3IcE8vaWYtgBpwzPLKg0LmblnHLoYZJHM,9164
|
256
256
|
setta/utils/websocket_manager.py,sha256=S2lEGZsc2OhW0yKLW9VEcH7wi7ppzTfDMQa_hxf3ovc,3772
|
257
|
-
setta-0.0.
|
258
|
-
setta-0.0.
|
259
|
-
setta-0.0.
|
260
|
-
setta-0.0.
|
261
|
-
setta-0.0.
|
262
|
-
setta-0.0.
|
257
|
+
setta-0.0.7.dist-info/LICENSE,sha256=us9fuCq9wmiZVzayjKxNZ2iJYF6dROe0Qp57ToCO7XU,11361
|
258
|
+
setta-0.0.7.dist-info/METADATA,sha256=65PA-XzfKhVqw_T_XIMZYFG3WBZLoY9iSffBLWiQcUo,6563
|
259
|
+
setta-0.0.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
260
|
+
setta-0.0.7.dist-info/entry_points.txt,sha256=P0qCESy9fWF2q1EQ9JufGldCSnPHplDPn8J6Bgk5hB0,42
|
261
|
+
setta-0.0.7.dist-info/top_level.txt,sha256=8G4lmRzVOnJ11_DescPVHE6MQZH-o06A0nGsDDV2ngY,6
|
262
|
+
setta-0.0.7.dist-info/RECORD,,
|