Meteorish Python responsive frontend
Project description
Ryzom: Replace HTML Templates with Python Components
Why?
Because while frameworks like Django claim that "templates include a restricted language to avoid for the HTML coder to shoot themself in the foot", the GoF on the other hand states that Decorator is the pattern that is most efficient for designing GUIs, which is actually a big part of the success encountered by frameworks such as React.
What?
Ryzom basically offers Python Components, with extra sauce of bleeding edge features such as "compiling Python code to JS", and "data binding" (DOM refreshes itself when data changes in the DB) if you enable websockets.
State
Currently in Beta stage, we are brushing up for a production release in an Open Source project for an NGO defending democracy, with an online voting platform secured with homomorphic encryption, basically a Django project built on top of microsoft/electionguard-python.
It's not ready for general use, but should hopefully be pretty soon... after all, this project has been under R&D sponsored by YourLabs for years now.
Usage
See the supported usage patterns in src/ryzom_django_example/urls.py
which
provides commented code using supported Ryzom APIs.
Demo
git clone https://yourlabs.io/oss/ryzom.git
sudo -u postgres createdb -O $UTF -E UTF8 ryzom_django_example
cd ryzom
pip install -e .
./manage.py migrate
./manage.py runserver
# to run tests:
py.test
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
File details
Details for the file ryzom-0.1.2.tar.gz
.
File metadata
- Download URL: ryzom-0.1.2.tar.gz
- Upload date:
- Size: 228.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 803911dbf59a7743db4916312738125638f3433b2d234c5b8da5f516a652db26 |
|
MD5 | 7b6b0ace6480cb82204352adba3f5671 |
|
BLAKE2b-256 | e2f17923841afb122c0880f8d7d98f07a0bc6f079bb50f1da7e366d018a9a3fd |