Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viur-framework/flare
Python framework to create web-apps on top of Pyodide
https://github.com/viur-framework/flare
pyodide python python-web-development wasm webassembly
Last synced: 6 days ago
JSON representation
Python framework to create web-apps on top of Pyodide
- Host: GitHub
- URL: https://github.com/viur-framework/flare
- Owner: viur-framework
- License: mit
- Created: 2020-07-14T10:58:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T10:44:57.000Z (6 months ago)
- Last Synced: 2024-05-22T11:50:35.181Z (6 months ago)
- Topics: pyodide, python, python-web-development, wasm, webassembly
- Language: Python
- Homepage: https://flare.docs.viur.dev
- Size: 5.27 MB
- Stars: 31
- Watchers: 7
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-viur - ViUR-Flare - The Python library that uses Pyodide to create SPAs with ViUR (Official ViUR Resources / Further Repositories)
README
# Flare
![Flare Logo](assets/img/flare-logo.webp)
[![Documentation Status](https://readthedocs.org/projects/viur-flare/badge/?version=latest)](https://viur-flare.readthedocs.io/en/latest/?badge=latest)Flare is an application development framework for writing software frontends in pure Python.
## About
Flare is an app development framework for Python-based web-apps running on top of [Pyodide](https://github.com/pyodide/pyodide) in the browser.It has integrations to concepts with [ViUR](https://www.viur.dev/), an MVC-framework for the Google App Engine platform, but can also be used stand-alone.
Fire up the tiny [Hello World](https://raw.githack.com/viur-framework/flare/main/hello.html) live demo. More information can be found [in the documentation](https://viur-flare.readthedocs.io/en/stable/).
## History
Flare is the result of a several years experience in writing web-apps in pure Python. Formerly compiled from Python to JavaScript using [PyJS](https://github.com/pyjs/pyjs), it now entirely settles up on Pyodide. Additionally, Flare serves as a toolbox for various projects and solutions developed at [Mausbrand Informationssysteme GmbH](https://www.mausbrand.de/en), a software-company from Dortmund, Germany.## Pyodide
Pyodide is the [CPython](https://github.com/python/cpython/) reference implementation that is compiled using [emscripten](https://github.com/emscripten-core/emscripten) and runs natively inside modern browsers as WebAssembly (WASM). Pyodide itself comes with the full Python scientific-stack.For better load-time optimization, we started to maintain our own fork of Pyodide called [pyodide-nano](https://github.com/mausbrand/pyodide).
## Related projects
- [html5](https://github.com/viur-framework/viur-html5) became an integrated part of Flare, but also exists stand-alone as a HTML5-DOM-object library. It is the core component of Flare and provides an HTML-parser for rapid DOM prototyping.
- [pyodide-html](https://github.com/xhlulu/pyodide-html) is another HTML object library for Pyodide which can be directly installed from within Pyodide.## Docker
docker build . -t flare:1.0.13
docker run -v $(pwd):/workspace -it flare:1.0.13python3 /tools/flare.py
## License
Copyright © 2022 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 MIT license. See the file LICENSE provided within this package for more information.