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.106-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76e3d77214557ad036ff03ed3eba8c643ab3ef8f44972b10ebb51cc26d1b3f25 |
|
MD5 | f18b142abd37e5ec2c8d9269455fe959 |
|
BLAKE2b-256 | 76a5bfa0cc956233f4a860371d7284533152528b407ef10f98ada1b09f0345e0 |