setta 0.0.5.dev3__py3-none-any.whl → 0.0.6.dev0__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/lsp/writer.py +9 -9
- setta/static/frontend/assets/{index-a780ff4e.js → index-105d4b9e.js} +2 -2
- setta/static/frontend/assets/index-a5bd0f52.css +32 -0
- setta/static/frontend/index.html +2 -2
- setta-0.0.6.dev0.dist-info/METADATA +176 -0
- {setta-0.0.5.dev3.dist-info → setta-0.0.6.dev0.dist-info}/RECORD +11 -11
- setta/static/frontend/assets/index-cc7772be.css +0 -32
- setta-0.0.5.dev3.dist-info/METADATA +0 -105
- {setta-0.0.5.dev3.dist-info → setta-0.0.6.dev0.dist-info}/LICENSE +0 -0
- {setta-0.0.5.dev3.dist-info → setta-0.0.6.dev0.dist-info}/WHEEL +0 -0
- {setta-0.0.5.dev3.dist-info → setta-0.0.6.dev0.dist-info}/entry_points.txt +0 -0
- {setta-0.0.5.dev3.dist-info → setta-0.0.6.dev0.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-105d4b9e.js"></script>
|
19
|
+
<link rel="stylesheet" href="/static/assets/index-a5bd0f52.css">
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
@@ -0,0 +1,176 @@
|
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: setta
|
3
|
+
Version: 0.0.6.dev0
|
4
|
+
Summary: Python without the donkeywork.
|
5
|
+
Home-page: https://setta.dev
|
6
|
+
Author: Kevin Musgrave, Jeff Musgrave
|
7
|
+
License: Apache-2.0
|
8
|
+
Project-URL: GitHub, https://github.com/settadev/setta
|
9
|
+
Description-Content-Type: text/markdown
|
10
|
+
License-File: LICENSE
|
11
|
+
Requires-Dist: click>=8.1.8
|
12
|
+
Requires-Dist: requests>=2.32.3
|
13
|
+
Requires-Dist: PyYAML>=6.0.2
|
14
|
+
Requires-Dist: websockets>=15.0
|
15
|
+
Requires-Dist: fastapi>=0.115.8
|
16
|
+
Requires-Dist: uvicorn>=0.34.0
|
17
|
+
Requires-Dist: docstring_parser>=0.16
|
18
|
+
Requires-Dist: pywinpty>=2.0.15; platform_system == "Windows"
|
19
|
+
Requires-Dist: ptyprocess>=0.7.0; platform_system != "Windows"
|
20
|
+
Requires-Dist: psutil>=7.0.0
|
21
|
+
Requires-Dist: basedpyright>=1.27.1
|
22
|
+
Requires-Dist: docstring-to-markdown>=0.15
|
23
|
+
Requires-Dist: black>=23.7.0
|
24
|
+
Requires-Dist: watchdog>=6.0.0
|
25
|
+
Provides-Extra: dev
|
26
|
+
Requires-Dist: black==23.7.0; extra == "dev"
|
27
|
+
Requires-Dist: build==1.0.3; extra == "dev"
|
28
|
+
Requires-Dist: isort==5.12.0; extra == "dev"
|
29
|
+
Requires-Dist: flake8==6.1.0; extra == "dev"
|
30
|
+
|
31
|
+

|
32
|
+

|
33
|
+
|
34
|
+
|
35
|
+
<div align="center">
|
36
|
+
|
37
|
+
[](https://pypi.org/project/setta)
|
38
|
+
[](https://github.com/settadev/setta/blob/main/LICENSE)
|
39
|
+
[](https://discord.gg/MmHJz75bZ5)
|
40
|
+
|
41
|
+
</div>
|
42
|
+
|
43
|
+
## News
|
44
|
+
|
45
|
+
**February 21**: [v0.0.5](https://github.com/settadev/setta/releases/tag/v0.0.5)
|
46
|
+
- Mostly styling updates.
|
47
|
+
|
48
|
+
**February 20**: [v0.0.4](https://github.com/settadev/setta/releases/tag/v0.0.4)
|
49
|
+
- Improvements to subprocesses and param sweeps.
|
50
|
+
|
51
|
+
**February 18**: [v0.0.3](https://github.com/settadev/setta/releases/tag/v0.0.3)
|
52
|
+
- Big improvements to charts and in-memory functions.
|
53
|
+
|
54
|
+
|
55
|
+
## What does Setta do?
|
56
|
+
|
57
|
+
Setta is a general-purpose developer tool that streamlines Python coding, configuration, UI creation, and onboarding.
|
58
|
+
|
59
|
+
It enables you to:
|
60
|
+
- Skip the boilerplate parsers and frontend.
|
61
|
+
- Effortlessly expose your Python functions as a flexible UI.
|
62
|
+
- Configure, interact, and share with ease.
|
63
|
+
|
64
|
+
So whether you are fine tuning large AI models, or writing a small Python script, Setta can turn it into a useable interface. No special integrations required!
|
65
|
+
|
66
|
+
Here's a short intro video:
|
67
|
+
|
68
|
+
https://github.com/user-attachments/assets/0599b754-1fbc-470b-ad6f-ac44b01da761
|
69
|
+
|
70
|
+
|
71
|
+
## Examples
|
72
|
+
|
73
|
+
Trying out Setta is the best way to see what it can do, and we have a bunch of easy-to-run examples here: https://github.com/settadev/examples
|
74
|
+
|
75
|
+
Or click on one of the images below to go directly to that example:
|
76
|
+
|
77
|
+
<table>
|
78
|
+
<tr>
|
79
|
+
<td><a href="https://github.com/settadev/examples/tree/main/stream_diffusion_img_to_img"><img src="https://github.com/user-attachments/assets/2a063779-ed61-4103-90a5-bf127f3ea012" /></a></td>
|
80
|
+
<td><a href="https://github.com/settadev/examples/tree/main/trl_language_model_finetuning"><img src="https://github.com/user-attachments/assets/96775341-4b6d-4d3c-8bc2-743eafce458a" /></a></td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td><a href="https://github.com/settadev/examples/tree/main/transformers_trainer"><img src="https://github.com/user-attachments/assets/1f6554f8-8d49-4ba8-af48-f5dc6bc5d845" /></a></td>
|
84
|
+
<td><a href="https://github.com/settadev/examples/tree/main/pytorch_metric_learning_trainer"><img src="https://github.com/user-attachments/assets/45ae2047-9dbd-4057-9191-9a3460357ccc" /></a></td>
|
85
|
+
</tr>
|
86
|
+
</table>
|
87
|
+
|
88
|
+
We also have [tutorial videos](https://www.youtube.com/@settadev).
|
89
|
+
|
90
|
+
## Getting started
|
91
|
+
|
92
|
+
Activate your Python environment, and run:
|
93
|
+
|
94
|
+
```
|
95
|
+
pip install setta
|
96
|
+
```
|
97
|
+
|
98
|
+
Let's say you've created a new, empty git repo in a folder called `my_project`.
|
99
|
+
|
100
|
+
Move into that folder and run:
|
101
|
+
|
102
|
+
```
|
103
|
+
setta
|
104
|
+
```
|
105
|
+
|
106
|
+
The Setta UI will now be available in your web browser at http://127.0.0.1:8000/.
|
107
|
+
|
108
|
+
You'll also notice that Setta has created a few files. Here's what the structure of your `my_project` folder will look like:
|
109
|
+
|
110
|
+
```
|
111
|
+
my_project/
|
112
|
+
├── setta_files/
|
113
|
+
│ ├── setta.db
|
114
|
+
│ ├── setta-settings.json
|
115
|
+
│ ├── setta-meta-settings.json
|
116
|
+
│ └── code/
|
117
|
+
│ └── temp_folder/
|
118
|
+
```
|
119
|
+
|
120
|
+
## Create and run your first Setta project
|
121
|
+
|
122
|
+
On the home page click `New Config`. This will load a brand new, empty project.
|
123
|
+
|
124
|
+
<p align="center">
|
125
|
+
<img src="https://github.com/user-attachments/assets/674c0aa2-bfa0-4c40-91cd-957cbdda0aa6" width="75%" alt="first_setta_project_1"/>
|
126
|
+
</p>
|
127
|
+
|
128
|
+
Right click to open the context menu, and click `Section` to create your first section.
|
129
|
+
|
130
|
+
<p align="center">
|
131
|
+
<img src="https://github.com/user-attachments/assets/74f7c74d-2833-45e3-ad11-2a203cfd360d" width="75%" alt="first_setta_project_2"/>
|
132
|
+
</p>
|
133
|
+
|
134
|
+
Double click on the section name, and rename it to `special_val`. Type `math.sqrt` in the callable field, and press the tab key. An `x` parameter should appear in the parameters area. Enter `10` in the text field next to `x`.
|
135
|
+
|
136
|
+
<p align="center">
|
137
|
+
<img src="https://github.com/user-attachments/assets/7f5b9781-9229-43aa-86a1-7675a699a6d5" width="75%" alt="first_setta_project_3"/>
|
138
|
+
</p>
|
139
|
+
|
140
|
+
Right click to open the context menu, and click `Python Code` to create a code block.
|
141
|
+
|
142
|
+
<p align="center">
|
143
|
+
<img src="https://github.com/user-attachments/assets/87cdffa8-5844-4530-a549-0dfc1baedfe7" width="75%" alt="first_setta_project_4"/>
|
144
|
+
</p>
|
145
|
+
|
146
|
+
Paste the following into this code block:
|
147
|
+
|
148
|
+
```python
|
149
|
+
$SETTA_GENERATED_PYTHON
|
150
|
+
|
151
|
+
print(special_val)
|
152
|
+
```
|
153
|
+
|
154
|
+
Click Run in the nav bar. A terminal will appear and it should print 3.1622776601683795.
|
155
|
+
|
156
|
+
<p align="center">
|
157
|
+
<img src="https://github.com/user-attachments/assets/3a621fc4-fe07-45d4-a7ca-51b5271318d5" width="75%" alt="first_setta_project_5"/>
|
158
|
+
</p>
|
159
|
+
|
160
|
+
Congratulations! You've successfully run your first Setta project!
|
161
|
+
|
162
|
+
|
163
|
+
## Documentation
|
164
|
+
|
165
|
+
Documentation is in progress: https://docs.setta.dev/
|
166
|
+
|
167
|
+
|
168
|
+
## Features
|
169
|
+
|
170
|
+
See our [Features](FEATURES.md) document for an overview of what Setta can do.
|
171
|
+
|
172
|
+
|
173
|
+
## Contributors
|
174
|
+
|
175
|
+
- [Kevin Musgrave](https://github.com/KevinMusgrave): co-creator & full-stack developer.
|
176
|
+
- [Jeff Musgrave](https://github.com/JeffMusgrave): co-creator, UI/UX developer, frontend developer, and designer.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
setta/__init__.py,sha256=
|
1
|
+
setta/__init__.py,sha256=3srfG0nIZoBTaYJUktGNSdvDcnXDxap1iLyPfOR3Tj8,27
|
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
|
@@ -74,7 +74,7 @@ setta/lsp/file_watcher.py,sha256=9g1x9XUkCNsV4JQXbYGm9xAFMNXXJcYBs-vBnp_RS8g,366
|
|
74
74
|
setta/lsp/reader.py,sha256=MD7pJfsTKUGwDarzmig6s8GvrIcRerr_OweO28EZS0s,7123
|
75
75
|
setta/lsp/server.py,sha256=jgPTsei2-ZbIFm1oP3OwBUjqmKc-rl2NUz1c0aY0EgM,4480
|
76
76
|
setta/lsp/utils.py,sha256=H0y2HaU9i6mliKYjsieb556Il0p0ynmjxQV7FnZ9cqo,1648
|
77
|
-
setta/lsp/writer.py,sha256=
|
77
|
+
setta/lsp/writer.py,sha256=35yt6VW3I7uyWDAsvGhGGndZnbzUWQC_V-1a6o3WfX4,10338
|
78
78
|
setta/lsp/reader_fns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
79
79
|
setta/lsp/reader_fns/completion.py,sha256=aozup-q0B0hWdNERZdsu_7dHYl0Ec8_hwfGczMiqXVA,2312
|
80
80
|
setta/lsp/reader_fns/definition.py,sha256=NDnRQGj-HrRCo0fMtEfbsQr2koWK-G45K2zoSfIkTN0,79
|
@@ -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=gqWlCcCJKuICx85vMuk2mwa7mi_Z1slqZfWTnnbsQng,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-105d4b9e.js,sha256=RzSUgDg-68hVa7VmUrq7SroGLtHKMGXfpFH8_oXXjmE,2849568
|
188
|
+
setta/static/frontend/assets/index-a5bd0f52.css,sha256=pb0PUtl2tvx2kldXH9xTpp-KIee4HA-9pAmzwIA76AM,233872
|
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
|
@@ -254,9 +254,9 @@ setta/utils/generate_new_filename.py,sha256=KBLX6paDmTvXR-027TpqQkfijIXc7mCfhen-
|
|
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.6.dev0.dist-info/LICENSE,sha256=us9fuCq9wmiZVzayjKxNZ2iJYF6dROe0Qp57ToCO7XU,11361
|
258
|
+
setta-0.0.6.dev0.dist-info/METADATA,sha256=Rtbrwv1CeTNS6G-sYAGwIuFXCZpiMsUjftIyHIEr0HU,6235
|
259
|
+
setta-0.0.6.dev0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
260
|
+
setta-0.0.6.dev0.dist-info/entry_points.txt,sha256=P0qCESy9fWF2q1EQ9JufGldCSnPHplDPn8J6Bgk5hB0,42
|
261
|
+
setta-0.0.6.dev0.dist-info/top_level.txt,sha256=8G4lmRzVOnJ11_DescPVHE6MQZH-o06A0nGsDDV2ngY,6
|
262
|
+
setta-0.0.6.dev0.dist-info/RECORD,,
|