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

182 Commits

Author SHA1 Message Date
Fabio Pliger
d309a6c974 Merge branch 'main' into rb/prettier 2022-04-25 22:03:37 -05:00
Philipp Rudiger
41716f8cee Removed console.log 2022-04-25 21:06:52 +02:00
Philipp Rudiger
dcac055f43 Add antigravity demo 2022-04-25 21:05:51 +02:00
Ross Bermudez
27deee3f86 [PYS-12] Format and lint 2022-04-25 15:00:14 +02:00
Ross Bermudez
6f8f978ef7 [PYS-12] Add eslint and prettier 2022-04-25 15:00:14 +02:00
Philipp Rudiger
3eb41d73ed Handle strings 2022-04-23 00:02:04 +02:00
Philipp Rudiger
4e022e37b4 Cleanup whitespace 2022-04-22 23:50:30 +02:00
Philipp Rudiger
cbf74c7572 Add altair, matplotlib and folium examples 2022-04-22 23:50:30 +02:00
Philipp Rudiger
0b6fe08663 Various mime rendering fixes 2022-04-22 23:50:30 +02:00
Philipp Rudiger
b5bfffe912 Abort rendering if no element found 2022-04-22 23:50:30 +02:00
Philipp Rudiger
ec968a6081 Fix typo 2022-04-22 23:50:30 +02:00
Philipp Rudiger
ca92e58c37 Clean up 2022-04-22 23:50:30 +02:00
Philipp Rudiger
97aa4513f7 Add MIME renderer support 2022-04-22 23:50:30 +02:00
Fabio Pliger
45d68f5701 move check id out of constructor 2022-04-22 12:55:06 -05:00
Fabio Pliger
1be8aa3a28 move guidGenerator to utils to make it more available 2022-04-22 12:03:04 -05:00
Fabio Pliger
9d0837abec remove unecessary check for id since the base class is making sure that it always has an ID 2022-04-22 11:55:18 -05:00
Philipp Rudiger
190ae39690 Auto-generate element ID to ensure output is rendered 2022-04-21 20:40:24 +02:00
Fabio Pliger
7884127534 remove debug print 2022-04-21 12:27:17 -05:00
Fabio Pliger
c698f29634 update simple script to reduce verbosity 2022-04-21 12:26:12 -05:00
Fabio Pliger
cad87e6616 fix pyscript output when nothing is specified 2022-04-21 12:25:09 -05:00
Fabio Pliger
4a2057b34c Merge pull request #35 from anaconda/webgl-box
Webgl icosahedron demo
2022-04-20 20:55:39 -05:00
Fabio Pliger
08aadbe248 add line at eof 2022-04-20 20:54:28 -05:00
Fabio Pliger
69f39713e0 move code from pylist.py to the example directly to make pylist reusable and show more of the example potential 2022-04-20 20:53:31 -05:00
Michael Verhulst
f889c70ec7 moved camera.lookAt func call out of animate loop for better fps 2022-04-20 20:47:32 -05:00
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
Michael Verhulst
1155d1b2ee fixed typo: "woudl" 2022-04-20 13:08:46 -05:00
Michael Verhulst
3faf406d1e removed some code for the boxes demo 2022-04-20 13:05:33 -05:00
Michael Verhulst
028e108be6 updated the main examples index.html file to have the icosahedron demo 2022-04-20 13:03:10 -05:00
Michael Verhulst
31ff939f8f now raycaster is pure python 2022-04-20 13:00:21 -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
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
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