Skip to main content

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


Download files

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

Source Distribution

ryzom-0.1.1.tar.gz (228.7 kB view details)

Uploaded Source

File details

Details for the file ryzom-0.1.1.tar.gz.

File metadata

  • Download URL: ryzom-0.1.1.tar.gz
  • Upload date:
  • Size: 228.7 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

Hashes for ryzom-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7e918cd31831747f7f46b9e454fdd69767509b1dca615c329d2cb9e68e089822
MD5 64e9fe67a205bfe9bc157bae38bec168
BLAKE2b-256 af650b9892fe239cb73245fd95d979c91ff280ea120d3e13c168923f8289d515

See more details on using hashes here.

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