Skip to main content

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

Alt text

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zenaura-0.9.110.tar.gz (56.0 kB view hashes)

Uploaded Source

Built Distribution

zenaura-0.9.110-py3-none-any.whl (59.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page