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

157 Commits

Author SHA1 Message Date
Russell Keith-Magee
6ec94a0522 Added SPA for Freedom Units. 2022-04-20 08:14:12 +08:00
Russell Keith-Magee
8fdc28edcc Moved the static folder so it can be shared with the SPA. 2022-04-20 08:04:53 +08:00
Russell Keith-Magee
be57778651 Add support for SPA rendering. 2022-04-20 07:59:39 +08:00
Fabio Pliger
e409f5c166 Merge pull request #30 from anaconda/pys-22/support-pip-in-pyenv
[PYS-22] support pip in pyenv
2022-04-19 15:15:14 -05:00
Fabio Pliger
792db8cd59 update examples 2022-04-19 15:09:46 -05:00
Fabio Pliger
4831c19a06 call micropip installed of loading packages 2022-04-19 14:52:09 -05:00
Fabio Pliger
b5f8ce62d0 Merge pull request #29 from anaconda/toga
Add a Toga web demo
2022-04-19 11:24:19 -05:00
Fabio Pliger
956de2a17c Merge pull request #27 from anaconda/panel_deckgl
Add Panel DeckGL example
2022-04-19 11:11:00 -05:00
Fabio Pliger
556feda319 Merge pull request #26 from anaconda/mattpap/numpy_canvas_example
Add a visualization with NumPy and canvas
2022-04-19 11:08:35 -05:00
Fabio Pliger
a612b64b3b Merge pull request #28 from anaconda/pys-19/allow_out_err_redirect
[PYS-19] allow out err redirect
2022-04-19 11:01:21 -05:00
Fabio Pliger
9e47644238 clean up repl class attrs 2022-04-19 10:58:20 -05:00
Russell Keith-Magee
c60a28af18 Add toga-web demo server. 2022-04-19 14:39:04 +08:00
Russell Keith-Magee
7ce66b54ed Add code for a Freedom Units demo app. 2022-04-19 14:39:03 +08:00
Fabio Pliger
6541c9dc98 change id in exmaples 2022-04-18 23:30:32 -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
392b948db1 rename target with output in the examples 2022-04-18 22:02:56 -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
57d6ae967b add x margin to pybox children 2022-04-18 21:55:03 -05:00
Fabio Pliger
4ba90a9250 rename target attribute to output 2022-04-18 18:56:49 -05:00
Fabio Pliger
00b571d3df change OutputManager to actually have separate contexts for out and err to scripts can manage both in one place 2022-04-18 15:54:59 -05:00
Fabio Pliger
4d890602d9 adapt pyscript to new base class and clean Base 2022-04-18 12:06:30 -05:00
Fabio Pliger
955fb6fd37 fix missing initialization in outputmanager 2022-04-18 12:06:05 -05:00
Fabio Pliger
6525faf162 Merge pull request #25 from anaconda/mattpap/esm_import_module
Allow `import d3` instead of `from esm import d3`
2022-04-18 10:16:32 -05:00
Fabio Pliger
95d50269b7 add base component file with components base classe and adapt pyrepl to new base class 2022-04-18 10:13:59 -05:00
Philipp Rudiger
05dbc2eaf6 Improvements for deckgl demo 2022-04-17 22:33:11 +02:00
Philipp Rudiger
bb1c80c3ab Update existing panel examples 2022-04-17 12:46:35 +02:00
Philipp Rudiger
239b5c1178 Add Panel DeckGL example 2022-04-17 12:46:09 +02:00
Fabio Pliger
df5b4a4293 add module config to allow local imports 2022-04-16 22:28:24 -05:00
Sophia Yang
51c2efd601 Update README.md
fixed two typos
2022-04-16 21:07:44 -05:00
Mateusz Paprocki
69190934ae Factor out palettes, mandelbrot() and julia() 2022-04-16 19:44:05 +02:00
Mateusz Paprocki
c44af91218 Add a visualization with NumPy and canvas 2022-04-16 15:03:49 +02:00
Mateusz Paprocki
0dc3b728c3 Allow import d3 instead of from esm import d3 2022-04-16 10:38:02 +02:00
Fabio Pliger
43ff8ac335 Merge pull request #20 from anaconda/mattpap/allow_pyscript_block_offset
Allow to indent `<py-script>` blocks
2022-04-15 18:47:31 -05:00
Fabio Pliger
ef884689ba Merge branch 'main' into mattpap/allow_pyscript_block_offset 2022-04-15 18:46:42 -05:00
Fabio Pliger
fb54949eb6 Merge branch 'main' into pys-19/allow_out_err_redirect 2022-04-15 18:43:19 -05:00
Fabio Pliger
441a2c6e9e introduce outputmanager to redirect output in repl 2022-04-15 18:42:16 -05:00
Fabio Pliger
e19b95d3a9 Merge pull request #24 from anaconda/mattpap/esm_importmaps
Very rudimentary support for ESM and import maps
2022-04-15 18:29:34 -05:00
Mateusz Paprocki
a80dcf13d3 Use ESM and import maps in d3 example 2022-04-15 14:30:32 +02:00
Mateusz Paprocki
d0f0ebc6c3 Very rudimentary support for ESM and import maps 2022-04-15 14:28:51 +02:00
Fabio Pliger
44c6d51497 Merge pull request #23 from anaconda/paneL_stream_index
Add Panel Streaming demo to index
2022-04-14 10:15:04 -05:00
Philipp Rudiger
8e47dfedb2 Add Panel Stream demo to index 2022-04-14 17:05:57 +02:00
Fabio Pliger
05e2029921 Merge pull request #22 from anaconda/panel_stream
Add Panel streaming example
2022-04-14 10:01:36 -05:00
Philipp Rudiger
d523e24a78 Cleanup 2022-04-14 16:59:48 +02:00
Philipp Rudiger
3524bc32f6 Add Panel streaming example 2022-04-14 16:53:02 +02:00
Fabio Pliger
ab18b37d49 Merge pull request #19 from anaconda/mattpap/d3_example
Add a preliminary d3 example
2022-04-14 08:57:43 -05:00
Fabio Pliger
76b7ea2300 Merge pull request #18 from anaconda/mattpap/empty_py-env
Don't fail on an empty `<py-env></py-env>`
2022-04-14 08:56:42 -05:00
Mateusz Paprocki
c93a98a15f Allow to indent <py-script> blocks 2022-04-14 10:23:03 +02:00
Mateusz Paprocki
9387328916 Add a preliminary d3 example 2022-04-14 09:29:25 +02:00
Mateusz Paprocki
dece4734ba Don't fail on an empty <py-env></py-env> 2022-04-14 08:42:01 +02:00