diff --git a/integrations/brython/ReadMe.md b/integrations/brython/ReadMe.md new file mode 100755 index 00000000..a8d86913 --- /dev/null +++ b/integrations/brython/ReadMe.md @@ -0,0 +1,21 @@ +## Getting Started with Brython + +* Brython was designed for replacing JavaScript with Python. +* This tutorial will show you how to get started quickly. + +### 1. Get a web server up and running: + +```bash +python -m http.server +``` +(You can always stop the server by using ``CTRL-C``.) + +### 2. Navigate to [http://localhost:8000/](http://localhost:8000/) + +Now click on the examples to see Brython in action. + +### 3. For more info, see the following: + +* https://brython.info/ +* https://pypi.org/project/brython/ +* https://github.com/brython-dev/brython diff --git a/integrations/brython/index.html b/integrations/brython/index.html new file mode 100644 index 00000000..52241c94 --- /dev/null +++ b/integrations/brython/index.html @@ -0,0 +1,44 @@ + + + + + + + + + + + +

+ + + +
+ +

+ Library / Indexed DB Example +

+
+ + + \ No newline at end of file diff --git a/integrations/brython/index.py b/integrations/brython/index.py new file mode 100644 index 00000000..2e147e6d --- /dev/null +++ b/integrations/brython/index.py @@ -0,0 +1,5 @@ +from browser import document + + +def setup_page(): + document['topHeader'].textContent = "Brython Examples:" diff --git a/integrations/brython/library.html b/integrations/brython/library.html new file mode 100644 index 00000000..822c15e9 --- /dev/null +++ b/integrations/brython/library.html @@ -0,0 +1,203 @@ + + + + + + + + + + +

Library

+ +
TitleAuthorISBNActions
+ + + + \ No newline at end of file