Zenaura is an experimental Python library built upon PyScript, designed to empower Python developers to create stateful, component-based Single Page Applications (SPAs). By leveraging a virtual DOM implementation, Zenaura optimizes the performance, reactivity, responsiveness, and interactivity of web applications. This allows developers to build high-performance, dynamic web applications using familiar Python concepts and syntax.
Project description
Zenaura
Zenaura is a Python library built on top Pydide, PyScript, designed to empower Python developers to create stateful, component-based Single Page Applications (SPAs). By leveraging a virtual DOM implementation, Zenaura optimizes the performance, reactivity, responsiveness, and interactivity of web applications. This allows developers to build high-performance, dynamic web applications using familiar Python concepts and syntax.
Quick Example :
testing
- install requirements
pip install -r requirements.txt
- run tests with coverage :
python -m coverage run -m unittest
- run test coverage report :
python -m coverage report -m
- report
-----------------------------------------------------------
zenaura\client\compiler.py 46 5 89% 38-39, 66, 88, 119
zenaura\client\component.py 22 2 91% 24, 34
zenaura\client\dom.py 50 2 96% 68, 71
zenaura\client\tags.py 144 3 98% 9-11
-----------------------------------------------------------
- important note : test coverage must be kept at 95%
run example :
cd to examples folder cd into example folder run
flask --app hello run
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for zenaura-0.9.111-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9577f29b168ec8fc9b8b1f2343f95772fcbecc8f7150c7b64077c20c0a571ade |
|
MD5 | 6c59343db2658ad3d2b501840954a95e |
|
BLAKE2b-256 | 5a8d3b2cb37f98734ab051af028c9955128cb3769e133146ad9a1e25bf6b715c |