Skip to main content

Zenaura

[!WARNING] This library is under development, it's going to change a lot from now on; breaking changes may occur. Please keep an eye on release notes.

[!NOTE] Contribution is open , awesome features in the backlog so if you are intrested my email is linked to this profile.

Alt text

Zenaura is a Python library built on top Pydide, PyScript, designed to empower Python developers to create light-weight, performant, 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.

Documentation

Zenaura documentation and API reference

note: hot-reloading is still under-development, it works, however working with cli, zenaura build after every change is better.

Installing zenaura

prerequisits:

  • Python 3.11 or above.
  • pip
  • devolopment server requirements:
    • flask==2.3.3
    • watchdog==4.0.1
    • flask-sock==0.7.0
pip install zenaura flask==2.3.3 watchdog==4.0.1 flask-sock==0.7.0

This command will install zenaura library, client and server, CLI.

Creating your first zenaura app

In this example we will go over creating your first zenaura application, go over basic concepts as well.

Once you installed the library, the library, it comes with simple CLI tool.

CLI Commands:

- init: Will create simple zenaura application
- build : Will build the application
- run : Will run the development server

First let's initials a basic zenaura application:

zenaura init

This command will auto generate basic zenaura application with the needed files auto generated for you, so you can get up to speed with the library.

Auto generated files from init command:

  • build.py : used for building zenaura application.
  • index.py : simple zenaura server.
  • public/components.py: single zenaura component.
  • public/presentational.py: few zenaura presentational components created using builder interface.
  • public/main.py : main file where we import components, create pages and configure the client router.
  • public/routes.py : where your client side routes lives.
  • public/main.css : the main css file.
  • public/config.json: pyscript pydide configuration.

Building zenaura

zenaura build

This command will build index.html.

Running zenaura

zenaura run

This command will run the development server. Now open browser tab and go to localhost:5000.

Metadata

Release files for zenaura 0.15.46

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zenaura 0.15.46
File Size Uploaded Provenance
zenaura-0.15.46.tar.gz 76.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for zenaura 0.15.46
File Interpreter ABI Platform
zenaura-0.15.46-py3-none-any.whl Python 3 none any Details

Total release size: 159.8 kB

Release files / zenaura-0.15.46.tar.gz

Download URL zenaura-0.15.46.tar.gz
Size 76.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c44966f25ac85026986a0c96e5c34584b0831147fdfb2157f0f0091e1bff941a
BLAKE2b-256 checksum
How to use checksums
dd926486278f08031fcbba2aca2cf7d7bd93c64e021ab4d973ab39ed045d3e1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release files / zenaura-0.15.46-py3-none-any.whl

Download URL zenaura-0.15.46-py3-none-any.whl
Size 83.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5efb8249f05303d773b1b5eaa48565352bc0c33ca98aa756a5abb9a251bd233
BLAKE2b-256 checksum
How to use checksums
65813b323ab5241200164b1eef37bb1a655e315731b279e07383e95c105366e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Security for zenaura 0.15.46

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.15.46 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page