Skip to main content

Simple and fast way to create reactive web application in PyPython

Project description

Fast UI

Fastest way to make User Interfaces in Python

Design

All events from HTML will be forwarded from HTML to Python via JS. Python will perform all the required operations and pass the information back to JS, which will update its store. A reactive framework in JS will take the data in store and update the UI. Simple :) All the communication will happen over standard websocket.

I know it's not the fastest and most performant way of doing things. But it works! And requires least amount of knowledge to get started. So why not!

Tasks

  1. HTML Components
  2. Forwarding events
  3. Calling Python code
  4. Updating JS store
  5. Reactively updating the UI

Goal

Make a simple click to increment app using this construct.

Draft 1

  1. Make a function in JS that sends a message over websocket to execute a particular piece of Python code
  2. Call this function for any event handling that needs to be performed
  3. Execute the python function and make required chnages to the store
  4. Send back a msg to the frontend to update it's store
  5. Assuming the application is reactive, it'll automatically re render the UI to show items.

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

fastui-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastui-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file fastui-0.1.0.tar.gz.

File metadata

  • Download URL: fastui-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Darwin/21.5.0

File hashes

Hashes for fastui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e22d1a358563b674c3714016f6902ead6dad756d524cd5878d3648526cfea47d
MD5 2b472f64c1fbc8e1b2f6128cc7920ff4
BLAKE2b-256 fc366da3f3232eebc7d3a04a14e1b1f2094eccf6fe0f3530ffcc77fdc8b375fd

See more details on using hashes here.

File details

Details for the file fastui-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fastui-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Darwin/21.5.0

File hashes

Hashes for fastui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 896b92c220084a5cbf49f40831892f927db4fb85ec26c4814dd86f976a9ba703
MD5 89b7a0f8ccc3c8f537dc3b4303861170
BLAKE2b-256 ec71774ea17a85e6260b9f85cded127af8dee615fff542b1f14322aa7d3fdac9

See more details on using hashes here.

Supported by

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