html5 is a DOM-abstraction layer and API that is used to create client-side Web-Apps running in the browser and written in Python.
Look here for a short introduction.
This API and framework is used to implement HTML5 web-apps using the Python programming language. The framework is an abstraction layer for a DOM running in Pyodide, a Python 3 interpreter compiled to web-assembly.
It provides
html5.Div()
The most prominent software completely established on this library is ViUR-vi, the visual administration interface for ViUR-based applications.
ViUR is a free software development framework for the Google App Engine.
Warning: This section is incomplete, a working example will follow soon!
import html5
class Game(html5.Div):
def __init__(self):
super().__init__(
"""
<label>
Your Name:
<input [name]="myInput" type="text" placeholder="Name">
</label>
<h1>Hello <span [name]="mySpan" class="name">Enter Name</span>!</h1>
""")
self.sinkEvent("onChange")
def onChange(self, event):
if html5.utils.doesEventHitWidgetOrChildren(event, self.myInput):
self.mySpan.appendChild(self.myInput["value"], replace=True)
Game()
We take a great interest in your opinion about ViUR. We appreciate your feedback and are looking forward to hear about your ideas. Share your visions or questions with us and participate in ongoing discussions.
ViUR is developed and maintained by Mausbrand Informationssysteme GmbH, from Dortmund in Germany. We are a software company consisting of young, enthusiastic software developers, designers and social media experts, working on exciting projects for different kinds of customers. All of our newer projects are implemented with ViUR, from tiny web-pages to huge company intranets with hundreds of users.
Help of any kind to extend and improve or enhance this project in any kind or way is always appreciated.
Copyright (C) 2012-2020 by Mausbrand Informationssysteme GmbH.
Mausbrand and ViUR are registered trademarks of Mausbrand Informationssysteme GmbH.
You may use, modify and distribute this software under the terms and conditions of the GNU Lesser General Public License (LGPL). See the file LICENSE provided within this package for more information.