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 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.
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.103-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3efa1cd3d986653e1e36a55b0b97a588f03e6b3555fbd4af54df8fdce21524a0 |
|
MD5 | d3000c9a4d9a06820235906ea8d34f4b |
|
BLAKE2b-256 | 0dddafcb97916fe43dfaa08fa719456067429b00b9481d37cb7d59a83d9b0363 |