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

180 Commits

Author SHA1 Message Date
Fabio Pliger
0b5004fe31 Merge pull request #33 from anaconda/simplify_panel
Cleaned up Panel examples
2022-04-20 20:42:03 -05:00
Fabio Pliger
d54d268131 Merge pull request #36 from anaconda/pys-18/add-pylist
[PYS-18] Add pylist
2022-04-20 20:29:33 -05:00
Fabio Pliger
4065c13d32 general cleanup before merging 2022-04-20 20:27:13 -05:00
Fabio Pliger
71873b6b50 clean pylist.py and add a very hacky sync between list items and it's rendered versions 2022-04-20 20:03:23 -05:00
Fabio Pliger
7c71ba6fde add margin to widgets and add item template to PyList 2022-04-20 18:17:58 -05:00
Fabio Pliger
40c58c3cf1 simplify example 2022-04-20 18:16:43 -05:00
Fabio Pliger
019b7d145a add timer to register generic widgets 2022-04-20 18:16:26 -05:00
Fabio Pliger
ac64b2aaa3 add handlers to input box as well 2022-04-20 16:32:11 -05:00
Fabio Pliger
44afda7aa8 add inputbox and clearn todo html even more 2022-04-20 16:12:01 -05:00
Fabio Pliger
3aa3ba02be add pybutton and pytitle 2022-04-20 15:41:51 -05:00
Fabio Pliger
f5b168a45e add better support for new widgets 2022-04-20 15:41:28 -05:00
Fabio Pliger
28efe8a1c9 clean html 2022-04-20 13:52:13 -05:00
Fabio Pliger
ea0cddee96 simplify the example 2022-04-20 13:48:11 -05:00
Fabio Pliger
ee1db16bcf move templates to interpreter 2022-04-20 13:30:08 -05:00
Fabio Pliger
a6d00318c3 add PyListTemplate and PyItemTemplate so that classes implementing list and list item widgets can subclass from it and hide complexity to users 2022-04-20 12:48:25 -05:00
Philipp Rudiger
67115635db Cleaned up Panel examples 2022-04-20 13:18:09 +02:00
Fabio Pliger
518471bcbc Merge pull request #32 from anaconda/toga-pyenv
Switch to using pyenv rather than manually invoking micropip
2022-04-19 21:55:23 -05:00
Russell Keith-Magee
645842276b Update some documentation and links. 2022-04-20 10:27:39 +08:00
Russell Keith-Magee
1373333b31 Switch to using py-env for environment setup. 2022-04-20 10:16:04 +08:00
Fabio Pliger
cdc1cc4f82 Merge pull request #31 from anaconda/toga-spa
Add a Toga SPA rendering demo
2022-04-19 19:55:26 -05:00
Fabio Pliger
280fd53aba add example 2022-04-19 19:24:47 -05:00
Fabio Pliger
a702cbdf10 add support for custom widgets registration in Python 2022-04-19 19:24:22 -05:00
Russell Keith-Magee
481553c78e Simplify platform detection. 2022-04-20 08:20:17 +08:00
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