Commit Graph

70 Commits

Author SHA1 Message Date
Fabio Pliger
a702cbdf10 add support for custom widgets registration in Python 2022-04-19 19:24:22 -05:00
Fabio Pliger
9e47644238 clean up repl class attrs 2022-04-19 10:58:20 -05:00
Fabio Pliger
3c2ca6d68c fix error when trying to output to non existing element 2022-04-18 23:10:41 -05:00
Fabio Pliger
a6955b170a Merge branch 'main' into pys-19/allow_out_err_redirect 2022-04-18 22:21:47 -05:00
Fabio Pliger
b38d2e5df1 add support for std-out and std-err attributes in py-repl and py-script 2022-04-18 21:55:29 -05:00
Fabio Pliger
4ba90a9250 rename target attribute to output 2022-04-18 18:56:49 -05:00
Fabio Pliger
4d890602d9 adapt pyscript to new base class and clean Base 2022-04-18 12:06:30 -05:00
Mateusz Paprocki
0dc3b728c3 Allow import d3 instead of from esm import d3 2022-04-16 10:38:02 +02:00
Fabio Pliger
ef884689ba Merge branch 'main' into mattpap/allow_pyscript_block_offset 2022-04-15 18:46:42 -05:00
Mateusz Paprocki
d0f0ebc6c3 Very rudimentary support for ESM and import maps 2022-04-15 14:28:51 +02:00
Mateusz Paprocki
c93a98a15f Allow to indent <py-script> blocks 2022-04-14 10:23:03 +02:00
Fabio Pliger
973a14baea allow pyscript to specify source and try loading pyscript python injections from file 2022-04-11 23:13:06 -05:00
Fabio Pliger
5ec85695b9 add initializers that run before py-script scripts run and post initializers that run after. Also add function to unescape some of the characters when read form html tags 2022-04-01 10:45:52 -05:00
Fabio Pliger
2b7cbe0129 add array of initializers, to run after the python runtime has loaded 2022-03-25 16:57:54 -05:00
Fabio Pliger
b5680bd34e add mode and minimal very rudimentary support for async exec in pyscript 2022-03-24 11:26:20 -05:00
Fabio Pliger
9df0974b4c add right side nav bar for components and components details 2022-03-15 20:01:34 -05:00
Fabio Pliger
9554f5b1fd add new initialized runtime to global runtimes in store 2022-03-09 11:55:34 -06:00
Fabio Pliger
5831f9a99f replace text with gears and play icons. Also add potential new py-reple tag and possible attributes 2022-03-08 11:36:13 -06:00
Fabio Pliger
45c0dbe416 add codemirror cmd to capture ctrl+enter and shift+enter to call evaluate function 2022-03-07 17:16:32 -06:00
Fabio Pliger
6f5ffc7360 add stores, move pyscript component in it's own file add method to add new scripts to page 2022-03-04 14:13:32 -06:00