1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00
Commit Graph

101 Commits

Author SHA1 Message Date
Philipp Rudiger
60232bf91b Ensure env is created before executing scripts 2022-04-08 18:51:10 +02:00
Fabio Pliger
9d64a9f126 add pyenv and allow to load packages to the loaded pyodide runtime 2022-04-06 14:45:34 -05:00
Fabio Pliger
1484aadb7a add js-yaml dependency 2022-04-06 13:44:15 -05:00
Fabio Pliger
2ff193eafd add mario example with camera capture 2022-04-05 16:47:48 -05:00
Fabio Pliger
2b3d1eb897 Merge branch 'main' of github.com:anaconda/pyscript 2022-04-05 09:59:49 -05:00
Fabio Pliger
c005784dc5 add bokeh example 2022-04-05 09:59:37 -05:00
Fabio Pliger
957b155bd0 Merge branch 'main' into out-of-box 2022-04-01 10:53:30 -05:00
Fabio Pliger
11c3a26411 Merge pull request #3 from anaconda/add-gitignore
Update gitignores
2022-04-01 10:49:23 -05:00
Fabio Pliger
073138b023 Merge pull request #2 from anaconda/default-port
Force the use of port 8080.
2022-04-01 10:48:21 -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
Russell Keith-Magee
2966002e44 Add some docs a links to improve the out-of-box experience. 2022-04-01 14:30:15 +08:00
Russell Keith-Magee
3f50a8d451 Add gitignore and package-lock file to version control. 2022-04-01 13:30:02 +08:00
Russell Keith-Magee
0f269062af Force the use of port 8080. 2022-04-01 13:22:48 +08:00
Fabio Pliger
be0037b5aa rename bundle.js and css to pyscript.js 2022-03-29 14:51:17 -05:00
Fabio Pliger
5edf76f3d2 point stdout and stderr to console.log 2022-03-29 14:22:08 -05:00
Fabio Pliger
03da071a63 redirect default output to console.log 2022-03-28 17:59:19 -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
3d613b8904 add files in public folder 2022-03-24 13:31:45 -05:00
Fabio Pliger
00060b2376 add py-repl and scripts queue to stores 2022-03-24 11:45:24 -05:00
Fabio Pliger
c5846615e9 add convenience Elemenet, Pyscript classes and pyscript namespaced function in the global python namespace 2022-03-24 11:41:31 -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
72be1aa13e if mode is play, execute all scripts scheduled for execution, when the page loads 2022-03-24 11:22:35 -05:00
Fabio Pliger
0fc46d2220 fix table of details navbar 2022-03-20 10:53:53 -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
79c2658186 add referece to main in stores and clean main contents 2022-03-15 20:00:17 -05:00
Fabio Pliger
c6a99e816c Add visibility css for pyscript dev buttons and support for opening/close component details nav 2022-03-15 19:55:12 -05:00
Fabio Pliger
2f019d317b fix left side navbar and add button to add componente to the page 2022-03-10 17:28:39 -06:00
Fabio Pliger
87c396adaf reorganize UI so with header, footer and left side navbar 2022-03-10 15:01:34 -06:00
Fabio Pliger
bcb9eb94a1 reorganize UI so with header, footer and left side navbar 2022-03-10 14:55:55 -06:00
Fabio Pliger
9554f5b1fd add new initialized runtime to global runtimes in store 2022-03-09 11:55:34 -06:00
Fabio Pliger
b00180a123 Add new runtimes in stores to Header and add a variable to show envs 2022-03-09 11:53:45 -06:00
Fabio Pliger
944b3fe202 add initial global runtimes to stores 2022-03-09 11:51:51 -06:00
Fabio Pliger
92db010f08 add initial global runtimes to App 2022-03-09 11:51:23 -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
50b632555c replace bell with settings icon 2022-03-08 11:31:35 -06:00
Fabio Pliger
9758765f90 add svelte-fa and fontawesome dependencies 2022-03-08 11:30:48 -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
Fabio Pliger
0a636118be initialize and connect pyodide to a py-script tag 2022-03-04 09:46:26 -06:00
Fabio Pliger
86110615ac add svelte promise stores 2022-03-03 19:43:16 -06:00
Fabio Pliger
5d7570adea add editor, context dev buttons and output text area to pyscript element when rendered 2022-03-03 17:37:44 -06:00
Fabio Pliger
88d9ecb342 add mode toggle to header 2022-03-03 11:09:43 -06:00
Fabio Pliger
e91c2d2ee4 add codemirror dependencies 2022-03-03 11:09:15 -06:00
Fabio Pliger
e619288555 add new pyscript project files 2022-02-28 16:05:19 -06:00
Fabio Pliger
cb4bec30bf remove first js try 2022-02-28 14:10:24 -06:00
Fabio Pliger
ce551ed6c3 experimental... probably broken 2022-02-24 11:14:28 -06:00
Fabio Pliger
f65a6ec5c9 add interpreter 2022-02-23 12:11:44 -06:00
Fabio Pliger
7f4053bc42 clean code draft 2022-02-23 11:53:55 -06:00
Fabio Pliger
1589838d63 change config 2022-02-23 11:53:41 -06:00
Fabio Pliger
323f02e7dd add new deps 2022-02-23 11:51:56 -06:00