instaui 0.1.9__py3-none-any.whl → 0.1.10__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.
@@ -7,7 +7,7 @@ instaui/launch_collector.py,sha256=_YmF3hsNWe-ZxMp_amqUBHkhB6fOuTPfX16BVwn25xg,1
7
7
  instaui/page_info.py,sha256=aJtfLp2h05tCuLzxk2pZ6a9ztyxSdI-g3NBRxbqpS6E,269
8
8
  instaui/skip.py,sha256=uqhqusgeChVoivKFMoZd-XePYrlSoLvUzRZDBcUgFmA,149
9
9
  instaui/version.py,sha256=to8l16EjNe4jmzK316s5ZIotjv554tqF0VfwA1tBhQk,87
10
- instaui/_helper/observable_helper.py,sha256=8giJzjf4483pr-LFYnRguXv6-DQtxdYmTtXt0aXOE7g,1105
10
+ instaui/_helper/observable_helper.py,sha256=U30PmA8jZ9q48GI_FMNPRYUTKNdl4SsMTAFoq94eRFs,1447
11
11
  instaui/arco/__init__.py,sha256=_QuzxGbuQKuq9hjem65NKqYwiKDAP_3ZVPHy75Idw_s,6155
12
12
  instaui/arco/_settings.py,sha256=iuWQb-sGNlw4fBxf-Ufj-YGnBXaGVJIDMgPuVg9ZJ38,771
13
13
  instaui/arco/component_types.py,sha256=wAJvOw4SGbf8bcC3QTdJonsWk5SsRVui-imsKdg-Nzo,39397
@@ -68,7 +68,7 @@ instaui/arco/components/radio_group.py,sha256=3LhRaljmD83cR5KAy0492zy62hRde6TTQF
68
68
  instaui/arco/components/rate.py,sha256=GLALtLZ1-1xklnnGKZf02KOLJga-IWVB-l_XSrQoQMs,1163
69
69
  instaui/arco/components/resize_box.py,sha256=imq3YgcLtaeFChZFvC-jflCaJxq0hY_cnK4TCN7s3j4,1678
70
70
  instaui/arco/components/result.py,sha256=QEkQeTujw4P9GtsAziUHDT3UqoRjCcVS2MdZDtT2a8U,382
71
- instaui/arco/components/select.py,sha256=rAEg-VDAkjZrnzUEl-f08xWaVNUr3Uu_-QvaKcg6DZQ,4519
71
+ instaui/arco/components/select.py,sha256=vTCbEPSIuJzt825Bqq9kh7zes5qsVkfPlIG7yL0AkeQ,4598
72
72
  instaui/arco/components/skeleton.py,sha256=08wkK25eBAn5i_j97WcfipJ2Z15ovQ7G0pp92vAbu3s,388
73
73
  instaui/arco/components/slider.py,sha256=A2R9Nj_BBG7rZhfOdD8eeHslyYpFVeiWFNuP4F8zNRI,1037
74
74
  instaui/arco/components/space.py,sha256=Ml-bWxzMYET0TctKRz_SYE9JIuezD0avTE2KqAZLo68,379
@@ -105,8 +105,9 @@ instaui/components/column.py,sha256=t_kDAelb-5_aqx4hv19sOm8zcQpRmn-slTMcwZfMOLk,
105
105
  instaui/components/component.py,sha256=cfKWlhxATdvERSzsVzvLtm61f72_gblhLJXIrXLGQrk,1284
106
106
  instaui/components/content.py,sha256=f6dm0GukYJk4RRNJzuvOGqBrStLWkJQbLkV7M5fJ63k,1094
107
107
  instaui/components/directive.py,sha256=bHSOWXNhzWRVNqLXwhc_hY3R3g-JAQ5DWIqpZkI6_wI,1411
108
- instaui/components/element.py,sha256=7kxQTSx-JbJ1ndSpEjSnUwYXIajxaR5kPYNP3kkDk9U,17698
109
- instaui/components/grid.py,sha256=9agGF1JtMi7k453nSynIAhN4T1ssa7WE7zXHbq9ift4,5569
108
+ instaui/components/element.py,sha256=PYvIRFhfY3gh05vwj_TGB4Cknm8XtVzHwV1DN4gJ1V8,17373
109
+ instaui/components/grid.py,sha256=h9Lzxqiw4HB-8VG2JGHVz-KGn4bHTtsibtUb8UCgHO4,7529
110
+ instaui/components/label.py,sha256=Fp7malMB2i6MjJjZnxdIl2tg6rb33-1PdgxEhGecoTM,118
110
111
  instaui/components/match.py,sha256=B3wV1h-SkvYnX8RiMObdM2tfJb8nW2gjFxXQvNeZWWM,2774
111
112
  instaui/components/row.py,sha256=c0dxJwt955EF7PXlrFpqIoQNZ59tJm-UvZlx_zjeuBg,570
112
113
  instaui/components/slot.py,sha256=RT0eU7wH7ffFDkl5ucfrNXB1nbsKDq688Hp920TZaoo,2287
@@ -114,8 +115,8 @@ instaui/components/transition_group.py,sha256=H9zx9NTlCoQnBArWfmxmh7CMKb5hZn8vKr
114
115
  instaui/components/value_element.py,sha256=wRIAaR3_Cq9qLNJw2KPhWt7dJmclj1mrttzlGpb01Y0,1412
115
116
  instaui/components/vfor.py,sha256=A6hvCpmY-5oNZLnIs2yvfQ12C1-GggKVAthqhi5E4lY,4031
116
117
  instaui/components/vif.py,sha256=2E62-8J9NIlZDhvgIOuDwz0tLLb6VoJ1ji1K4okrapw,1165
117
- instaui/components/echarts/echarts.js,sha256=dXW6gzrBpzt7ZRy5LDJYxkO4PnP37A1KUAWm9391B1M,2673
118
- instaui/components/echarts/echarts.py,sha256=JX2NXSVqhZYMXIINgO4AFTQOZ2YDIbib1_kYcWRBMGg,5445
118
+ instaui/components/echarts/echarts.js,sha256=pHkcgHJQOS1oHCumDvRNX9FIC55bl67x9NlIKJB5UdE,2734
119
+ instaui/components/echarts/echarts.py,sha256=Up70IWBVLdW0_MZpV4GxM2-YFTe7u5ZWDoXHWaZVcEQ,5457
119
120
  instaui/components/echarts/static/echarts.esm.min.js,sha256=KN8OVRa4kTlat9NIfArzA3rtGcYfyrkcwjFBy_07vu8,1033915
120
121
  instaui/components/html/__init__.py,sha256=9bO1ai0aQCWwj80NKqDeq_3zwMg5gf17mE40a1IESAk,1088
121
122
  instaui/components/html/_mixins.py,sha256=5dcSM9h1PswIKL6_eiqUxqW4H2OCuyNeCuRZq3gDGOc,876
@@ -131,7 +132,7 @@ instaui/components/html/label.py,sha256=HAH0pGhRdyRG3YwTM4qM8lyF8O3yAfmEyPHj0fQn
131
132
  instaui/components/html/li.py,sha256=2IS8eudUX4McHjyxT1SOu91xviC2D1NNdYKLjznZ-IA,416
132
133
  instaui/components/html/link.py,sha256=eNC2f-twFZUhw_rL-Ggff2Lo8NRU33oF8CfWW_9-ktI,670
133
134
  instaui/components/html/number.py,sha256=Y2oIzTMHKWMWpufG55tFz0npEoEFvLhTWpZbMJ8J07s,1069
134
- instaui/components/html/paragraph.py,sha256=U0ePdkQhmt6fdLhLsZ3IVsIBdHBw4mOxhEwfioHzoyY,442
135
+ instaui/components/html/paragraph.py,sha256=TNMtI9dyQb6hYKE5vGAsSXiOiEqkx7BM6CEoJrg6nz8,914
135
136
  instaui/components/html/range.py,sha256=cLGoo3QaARG9YDnh6g3UYtc1yueI5dfMa9-4e-feSn4,1644
136
137
  instaui/components/html/select.py,sha256=Bq6mwyKa1qAk7bZiHK0uOg65W2twz4QkcJQTjvFNDP4,2029
137
138
  instaui/components/html/span.py,sha256=RJnccwnYEh8PUZ36VTBCKzBNV74M3SMohAejb0ck0UI,440
@@ -157,8 +158,9 @@ instaui/components/shiki_code/static/themes/vitesse-light.mjs,sha256=RWgJuEHtO93
157
158
  instaui/dependencies/component_dependency.py,sha256=V9L9YmM0_d1bQFMea3aH8qYG_mvGsAVPhmz0UHZa3PQ,672
158
159
  instaui/dependencies/plugin_dependency.py,sha256=6u562ihKbiL3DE4hBrGjauS2nzYEC2glOVN0fwEVNVc,806
159
160
  instaui/event/event_mixin.py,sha256=cN0Wh95e1wX183mGnGFm8BK_aEHWJ8WNx3Upy75mU_4,286
160
- instaui/event/js_event.py,sha256=C6TS-sgHiUtCSAFpkDDaI1vKzc4F-ZA1zauf3GTiFX4,1780
161
- instaui/event/web_event.py,sha256=ddb91alNOuafYt1xOPVADqCy36_CQN4r8EfgLpsxmBM,3207
161
+ instaui/event/js_event.py,sha256=CGegLXP3QldJp0jN-lNY0XSG8fLuaitFqKkgGEfI7yE,2868
162
+ instaui/event/vue_event.py,sha256=NRwEcAromivjyPtgMq5SEqHqx8GEc1OJZsRL2Nj43RY,2187
163
+ instaui/event/web_event.py,sha256=sojugqfXyF0q4gDCQsVjcfdBcuELVGeucZveFTDno10,3607
162
164
  instaui/experimental/__init__.py,sha256=nKvudMaBaDsxflSZQ00ck8Cc4hmrF0f6Xzs4mhIYa08,75
163
165
  instaui/experimental/debug.py,sha256=UGUWgNZ3ShanpuxfuPdx52TgQrkO9hByABYMnPZEIiE,1325
164
166
  instaui/fastapi_server/_utils.py,sha256=MCqbebS4UkBOV8fp3Oy415Tvxnqi2mnMl5Eqe6yJogg,1177
@@ -171,7 +173,7 @@ instaui/fastapi_server/request_context.py,sha256=EV5ZG4zgI_NPlTxinqO4AIREj6rbb1-
171
173
  instaui/fastapi_server/resource.py,sha256=2788yiuRjE3GRLqyukuL-x6qN0TSUNzNCm6S51ulNTk,887
172
174
  instaui/fastapi_server/server.py,sha256=6NvpWg6CkCjGK21-Pj1WDLI3YjA0nBBNS2v2_vPPiyc,9892
173
175
  instaui/fastapi_server/watch_router.py,sha256=KC8AbGNpH2x11PHQMPgc9N5WOlqW05i6r0PTU5A35rI,1599
174
- instaui/handlers/_utils.py,sha256=EB5mTb6flhMeuwm2Byb5jp18WqMngOuv3jC_PmycrA0,2076
176
+ instaui/handlers/_utils.py,sha256=uO7WgbNhrykJwDwSEXQxsqsuCR37nx8ehL_urXm-Tks,2830
175
177
  instaui/handlers/event_handler.py,sha256=hjxi_nDh0yjk9EmRgew1USXk-Egd4pR8YnUiOcJbbnc,1761
176
178
  instaui/handlers/watch_handler.py,sha256=Ay4lubEdRnZcWSqWLwxQyS_uWiF0gu-E9PrNGCAHvL0,1600
177
179
  instaui/js/__init__.py,sha256=oIYLPskHpQf8a4SWHLX4DyKjrlDrqWaqbNksIQsLBoA,69
@@ -201,10 +203,10 @@ instaui/spa_router/_router_output.py,sha256=Nc6N8yO_9IrUbaYbPZMkOX_9VlwBKzyXMaha
201
203
  instaui/spa_router/_router_param_var.py,sha256=KCy54xBZxGMqLO3Zlbzr6XV8ts-M6jCOKunL2gz5IUc,1455
202
204
  instaui/spa_router/_types.py,sha256=KuGuv5C6qivwllfdmV5qrvM0S_GWJ6u8OOTkCNmJImU,81
203
205
  instaui/spa_router/templates/page_routes,sha256=8VjM_8f6pjFb01QbU9z5HNqpcNRdCiX3X0OqNHLq8fo,1355
204
- instaui/static/insta-ui.css,sha256=9R3LRWKUiip75STPyqZzabt2vKqrYgmWyBZg8OeF02k,273
205
- instaui/static/insta-ui.esm-browser.prod.js,sha256=em5YZwr72ol2ffwseQ8hITW7-u0l2SCp5qLpoLv-Cx8,108453
206
+ instaui/static/insta-ui.css,sha256=nVwKBfzSg887seRBCa4tkHoj_02rrhZqwNJBdvstI8A,293
207
+ instaui/static/insta-ui.esm-browser.prod.js,sha256=A2y-kesfN4UcumpggMzxnl54yXiqtkHRM6Xl9EhCaOI,108944
206
208
  instaui/static/insta-ui.ico,sha256=08FJg4qWolvOjfodoh8IJLStslrvd8sDyuRcTUDq5ak,1150
207
- instaui/static/insta-ui.js.map,sha256=E0qAoNC50uX6FkepWhmkKTntXqHfa8tNL9yi6YDz1-s,658850
209
+ instaui/static/insta-ui.js.map,sha256=v_YoQ6-ued7aRxRsTlvg9u7WuUD-VZLr-t0q3wt-OhI,659984
208
210
  instaui/static/instaui-tools-browser.js,sha256=cLHKNXYaYMZriMxV-yKGAHTrHSdNRUlDVZmv6uc6mMw,14455
209
211
  instaui/static/vue.esm-browser.prod.js,sha256=vwQkXANuVYQuEFc0VgiokJdhNyMmvxMKyb1FmrYrNb4,162662
210
212
  instaui/static/vue.global.prod.js,sha256=xFm6fMjbZcmCWJ-l1kx_9HiHfo5bD9dWgyB87GpOieg,157924
@@ -214,7 +216,7 @@ instaui/static/templates/webview.html,sha256=9zQB7wkYKSgHh866Dk3xqSYbcWhCMCaVuh9
214
216
  instaui/static/templates/zero.html,sha256=_PHhx6uYD__tlt_bXG4j1WoZGnMBXIs2w2sU6-1zvH4,1684
215
217
  instaui/static/templates/debug/sse.html,sha256=qw5pzfjbU_XM-hA_SJCt2F8Imbvp17tW5l2dwoSZYjY,3391
216
218
  instaui/systems/file_system.py,sha256=q8k_mSHhldkSRYXT73T9s8zvERZZo9HL1U2-4mwau-I,163
217
- instaui/systems/func_system.py,sha256=iEnskq2vE4TUekJhMLc9hvv-iiougkxi1qXbvSEGovs,2806
219
+ instaui/systems/func_system.py,sha256=CER3Qm5luetdskMNVhJslvZK-QKbLe_n1aIGCe_i6Lc,3174
218
220
  instaui/systems/js_system.py,sha256=t_r7SFPmfvTiIrxzuf1YgHyi_Oi_81W0UH_kkC5MwmM,685
219
221
  instaui/systems/module_system.py,sha256=6qeR1K1vxocezBGPX5yecLVygqjzHNeDtlJTwJO9Szs,937
220
222
  instaui/systems/pydantic_system.py,sha256=qibHh4QqjLNPBzyrCkJVJwCk1dC_H8gEDYYf8Sb-5ps,691
@@ -229,13 +231,13 @@ instaui/template/env.py,sha256=ZqVsqpfSY1mupbgpBSkvOJytNui8xfNR5kNNC9rv4Ps,150
229
231
  instaui/template/web_template.py,sha256=BmZY13q4E_ZP4YVgfBKbbXvPHcGZfOl2f54wp_0DjJA,1603
230
232
  instaui/template/webview_template.py,sha256=rd51iPi600QOPQ9PMjgYk61oIxn3L2p3_sJ3eBPG_24,1557
231
233
  instaui/template/zero_template.py,sha256=E88VGsyjb1qbHFJlMW-xmLRFkwUXZA7VDoZ_Jd8YubA,3514
232
- instaui/ui/__init__.py,sha256=giH6uvCsXsHh8TaUiyXI4eROFajVpYJM1NrLgVSQgoo,4173
233
- instaui/ui/__init__.pyi,sha256=NDj1z4wfqbImEAwaBic1115_AtuGLIcsiMkxPn_usA4,4077
234
+ instaui/ui/__init__.py,sha256=G0Zg9hqyO4RQ-izbES_qkYZb6SCv3lLTy4Etewhs8vo,4284
235
+ instaui/ui/__init__.pyi,sha256=qH14avUiYgVNhQ5G8TFc8FT23NNCL6xFpicBKXUJkF8,4188
234
236
  instaui/ui/events.py,sha256=lfhiINwn-Kh0MezsSeLJPttWm6G1aWiwyk3TRo0NrlA,809
235
237
  instaui/ui_functions/input_slient_data.py,sha256=0A5DegIt_MqdZgbj1RiVFNmB_RUqgov9FYtkw6VX0DE,511
236
238
  instaui/ui_functions/server.py,sha256=B4w8KwBUMGStY19uUG8E4vRG7-L4cedttLkh35xr698,357
237
239
  instaui/ui_functions/str_format.py,sha256=ECWttA4LlNHlvdT_73wGF_I68soWNEXTP_Hosmxt-m4,1139
238
- instaui/ui_functions/ui_page.py,sha256=2JeBpXJ0xb4OG88l6xagynlE76OzGRzdEthP_Jw4Jbg,363
240
+ instaui/ui_functions/ui_page.py,sha256=WVm1qoQ9IxE3kWKKnAU8WVI8drsqxxlLucYKfEZ712s,367
239
241
  instaui/ui_functions/ui_types.py,sha256=J5tqFFkoZJMuoLeTqU52KNgw3kdB_IfcrhaBmyI6NAA,505
240
242
  instaui/ui_functions/url_location.py,sha256=zyTAJpA-3GBBe7WAiP2IDKQxeQhu0LNgBOxwEzcDaDk,823
241
243
  instaui/vars/_types.py,sha256=wthCk1fcxj1SZ5y6b84W9gFpoi8j2PYnfmaPj4Am72s,308
@@ -243,15 +245,15 @@ instaui/vars/data.py,sha256=uxDN-Xa5wO-_QFZYkiYOACnb9Ve8yODSFNIUs-S_E0I,1768
243
245
  instaui/vars/element_ref.py,sha256=qC-Kb1hBGz_Y6WKjKxRvYR8jdvWW4VeAAGzJ2wSrGgI,1059
244
246
  instaui/vars/event_context.py,sha256=3ML6nyF6Q1hbFvdeu6E2QVOIVcWe1P9FtlCR0dgBGjo,1308
245
247
  instaui/vars/event_extend.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
246
- instaui/vars/js_computed.py,sha256=hZtU7XXmr1GAx118k9QyFWJnxpQPx5P7DWSfif2nfns,2712
248
+ instaui/vars/js_computed.py,sha256=CYCSR21Je1nTKfFh4camDne7TCHol6JHVZySDT4lCrk,3643
247
249
  instaui/vars/path_var.py,sha256=DOgYHoajWKcMHMKYMSBiEOA99mmHIaMH-HRDvAKTZyE,2820
248
250
  instaui/vars/ref.py,sha256=iMwKRYI8ygy2cOpXJgqUYJCpzJCQskDl4lRYTACZWnA,2567
249
251
  instaui/vars/slot_prop.py,sha256=qBVQ0Ze0T8-Wsy__8qEuqVESIrLX69Bmy21Kuxrg_GQ,1198
250
- instaui/vars/state.py,sha256=N6yLcVkiyCpK5oR8C2KbggFmLwpgBgzylp11JgFiab8,2630
252
+ instaui/vars/state.py,sha256=MuiCzR9n348P1J7qdCfFXXratwuOOGELLzg8pu9G6kE,3074
251
253
  instaui/vars/types.py,sha256=K0QTajlzHaDvFoVMCHAhY_rVvrBm3FsC92BFPOgdBog,511
252
254
  instaui/vars/vfor_item.py,sha256=cVrpErh8OrycYjDLm7PTuE2kIcC2M6ThAQlwvTXG8x0,5490
253
255
  instaui/vars/vue_computed.py,sha256=6ZpxCQc2TJfh0vxTxcj6yNPjTVPo3CmsHq028xtiv8Y,2416
254
- instaui/vars/web_computed.py,sha256=AshT-cwAugF_PPEKhgPz_IqtYozkWYQqDQQ6u96olVE,4558
256
+ instaui/vars/web_computed.py,sha256=BlK06i2KOV-KQZYQdiDIY8rwPYTY3rC6ntLQdNlyS3E,6062
255
257
  instaui/vars/web_view_computed.py,sha256=bFFVE9jRKczNy4HhmegWoC6KOL_Nrej-ag37DAIDzaA,36
256
258
  instaui/vars/mixin_types/common_type.py,sha256=4KduANLCUCeGTA1ClEsbFzEzd8Mgve3693Wxf9H7Gmw,176
257
259
  instaui/vars/mixin_types/element_binding.py,sha256=4suqqLT3zn5y7LvqVo2QrEgI1uUFS_5sv8vtTUCzkTc,235
@@ -262,9 +264,9 @@ instaui/vars/mixin_types/str_format_binding.py,sha256=i2jXm1RKddPnGrCxEyz0tkDrBU
262
264
  instaui/vars/mixin_types/var_type.py,sha256=FQj1TEkjT7HopDPztt0-J6eQVGHjem3KBFsjZwvcvYg,57
263
265
  instaui/watch/_types.py,sha256=HJ_eAID0NsEJ_S8PhcYWxpVWhYLjjqKlbNWwqdqS4IU,73
264
266
  instaui/watch/_utils.py,sha256=mTITHG8hp0pyfQXUERQKXMDna5Au02bhuASCV32eXHI,124
265
- instaui/watch/js_watch.py,sha256=k9lgtyUGZ8a549QITcNie2kGbT0BJuYqfouoOex0Dqs,2182
267
+ instaui/watch/js_watch.py,sha256=8lVINBauHBRiDX3-F1V6V5_1CN9j1EMCROjcD9LRCD8,4230
266
268
  instaui/watch/vue_watch.py,sha256=Vd3nsRyf9ufrXLFTjaSvglwnkoWyE32fOV0qOogWPt4,2013
267
- instaui/watch/web_watch.py,sha256=6VOeXPHQM6UcCaOnrsZ-c5AiCNaUqL5nOkw4-G_2frE,3728
269
+ instaui/watch/web_watch.py,sha256=Z0xevG6Zwp-9yPSGBZFlbwtd0yP4j29F0GV-yksZVV0,6031
268
270
  instaui/webview/__init__.py,sha256=_L8B0Ym7i1Q8eonQ81fC54EXn7oZuc6zE1KqeAEPHEg,65
269
271
  instaui/webview/_utils.py,sha256=pqARVv37h-8p7CLOpvqLV8O_az4EV2VD9G-beUVqjD8,172
270
272
  instaui/webview/api.py,sha256=9xuG3EKpmOOy1dvIrS9C9z9ukQDRnIdZLrGFD5FLyvU,2071
@@ -274,7 +276,7 @@ instaui/webview/resource.py,sha256=kFT6N5UZK5GLE0KmW3TrEYDNlViw9DL2OshRh41wBXs,5
274
276
  instaui/zero/__init__.py,sha256=N0LuRUAcaurxHSspcEDuwZg62W2S3qL4VtrMKxOivBE,49
275
277
  instaui/zero/func.py,sha256=8cA_wJMtRmoAARjWY8yY5MmLXDAQ7hyVW6f1Vbejtoc,3576
276
278
  instaui/zero/scope.py,sha256=HGohYOqnpRGVkkoz_gvR6-DgCc48AtJAcDwbOnnGHLM,3753
277
- instaui-0.1.9.dist-info/METADATA,sha256=H__7zKHpdSdcVnoo2stzox5GGrrhFnrAGx6VNIV3p8M,3399
278
- instaui-0.1.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
279
- instaui-0.1.9.dist-info/licenses/LICENSE,sha256=_JjnAWrikJ6qkwT7PazeFNRlcIu8q_RH3mYcHTxEF5c,1094
280
- instaui-0.1.9.dist-info/RECORD,,
279
+ instaui-0.1.10.dist-info/METADATA,sha256=lb1uK1JEJfD0Lw_TOI2I0sKQMlC4ndT3lz7NzNZU5zo,3591
280
+ instaui-0.1.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
281
+ instaui-0.1.10.dist-info/licenses/LICENSE,sha256=_JjnAWrikJ6qkwT7PazeFNRlcIu8q_RH3mYcHTxEF5c,1094
282
+ instaui-0.1.10.dist-info/RECORD,,
@@ -1,153 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: instaui
3
- Version: 0.1.9
4
- Summary: insta-ui is a Python-based UI library for rapidly building user interfaces.
5
- Author-email: CrystalWindSnake <568166495@qq.com>
6
- License-Expression: MIT
7
- License-File: LICENSE
8
- Keywords: gui,ui,web
9
- Requires-Python: <3.13,>=3.8
10
- Requires-Dist: jinja2>=3.1.6
11
- Requires-Dist: orjson>=3.10.15
12
- Requires-Dist: pydantic>=2.10.6
13
- Requires-Dist: typing-extensions>=4.13.2
14
- Provides-Extra: all
15
- Requires-Dist: fastapi[standard]; extra == 'all'
16
- Requires-Dist: pywebview; extra == 'all'
17
- Requires-Dist: uvicorn; extra == 'all'
18
- Provides-Extra: web
19
- Requires-Dist: fastapi[standard]; extra == 'web'
20
- Requires-Dist: pydantic<3.0.0,>=2.10.6; extra == 'web'
21
- Requires-Dist: uvicorn; extra == 'web'
22
- Provides-Extra: webview
23
- Requires-Dist: pydantic<3.0.0,>=2.10.6; extra == 'webview'
24
- Requires-Dist: pywebview; extra == 'webview'
25
- Description-Content-Type: text/markdown
26
-
27
- # insta-ui
28
-
29
- <div align="center">
30
-
31
- English| [简体中文](./README.md)
32
-
33
- </div>
34
-
35
-
36
- ## 📖 Introduction
37
- insta-ui is a Python-based UI library for rapidly building user interfaces.
38
-
39
-
40
- ## ⚙️ Features
41
-
42
- Three modes are provided:
43
-
44
- - Zero mode: Generates pure HTML files, requiring no dependencies. Simply open in a browser to run.
45
- - Web mode: Generates web applications.
46
- - Web view mode: Generates web view applications that can be packaged into local applications (without needing to start a web server).
47
-
48
-
49
- ## 📦 Installation
50
-
51
- For zero mode:
52
-
53
- ```
54
- pip install instaui -U
55
- ```
56
-
57
- For web mode:
58
-
59
- ```
60
- pip install instaui[web] -U
61
- ```
62
-
63
- For web view mode:
64
- ```
65
- pip install instaui[webview] -U
66
- ```
67
-
68
-
69
-
70
- ## 🖥️ Quick Start
71
-
72
- Here's a Counter example where clicking the button will display the current count value on the button text.
73
-
74
- zore mode:
75
-
76
- ```python
77
- from instaui import ui, html, zero
78
-
79
- with zero():
80
- count = ui.ref(0)
81
- text = ui.str_format("Count: {}", count)
82
-
83
- html.button(text).on_click(
84
- "()=> count.value++", bindings={"count": count}
85
- )
86
-
87
- ui.to_html("./test.html")
88
-
89
- ```
90
-
91
- Running the above code will generate a test.html file, which you can open in a browser to see the effect.
92
-
93
-
94
-
95
- Web mode:
96
-
97
- ```python
98
- from instaui import ui, html
99
-
100
- @ui.page("/")
101
- def counter():
102
- count = ui.ref(0)
103
- text = ui.str_format("Count: {}", count)
104
-
105
- html.button(text).on_click("()=> count.value++", bindings={"count": count})
106
-
107
-
108
- ui.server().run()
109
- ```
110
-
111
- In web mode, we can define interaction functions for complex computations.
112
-
113
- ```python
114
- from instaui import ui, html
115
-
116
- @ui.page("/")
117
- def counter():
118
- count = ui.ref(0)
119
- # text = ui.str_format("Count: {}", count)
120
-
121
- @ui.computed(inputs=[count])
122
- def text(count: int):
123
- # Any Python operation
124
- return f"Current Count: {count}"
125
-
126
-
127
- html.button(text).on_click("()=> count.value++", bindings={"count": count})
128
-
129
-
130
- ui.server().run()
131
- ```
132
-
133
- - The computation of `text` will generate network requests.
134
- - Button clicks, due to using JS binding, do not require network requests.
135
-
136
- You can choose to handle any computation with either Python or JavaScript. Below is an example of handling the button click event using Python.
137
-
138
- ```python
139
- @ui.page("/")
140
- def counter():
141
- count = ui.ref(0)
142
-
143
- @ui.computed(inputs=[count])
144
- def text(count: int):
145
- return f"Current Count: {count}"
146
-
147
- @ui.event(inputs=[count], outputs=[count])
148
- def add_count(count: int):
149
- return count + 1
150
-
151
- html.button(text).on_click(add_count)
152
-
153
- ```