It's React, but in Python
Project description
IDOM ·
IDOM connects your Python web framework of choice to a ReactJS frontend, allowing you to create interactive websites without needing JavaScript!
Following ReactJS styling, web elements are combined into reusable "components". These components can utilize hooks and events to create infinitely complex web pages.
When needed, IDOM can use components directly from NPM. For additional flexibility, components can also be fully developed in JavaScript.
Any Python web framework with Websockets can support IDOM. See below for what frameworks are supported out of the box.
Supported Frameworks | Supported Frameworks (External) |
---|---|
Flask , FastAPI , Sanic , Tornado |
Django , Plotly-Dash , Jupyter |
At a Glance
To get a rough idea of how to write apps in IDOM, take a look at this tiny Hello World application.
from idom import component, html, run
@component
def HelloWorld():
return html.h1("Hello, World!")
run(HelloWorld)
Resources
Follow the links below to find out more about this project.
- Try it Now - check out IDOM in a Jupyter Notebook.
- Documentation - learn how to install, run, and use IDOM.
- Community Forum - ask questions, share ideas, and show off projects.
- Contributor Guide - see how you can help develop this project.
- Code of Conduct - standards for interacting with this community.
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
Built Distribution
File details
Details for the file idom-0.43.0.tar.gz
.
File metadata
- Download URL: idom-0.43.0.tar.gz
- Upload date:
- Size: 76.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5041cf0893e72403cc62fbe9ddd3f22cb14980660ec732c67cfdd05a625a070 |
|
MD5 | 40429b9404aa67ec6731cbc02084cfe6 |
|
BLAKE2b-256 | 57d79d75b3cf20408614195229b4c3c81db0517bfea681d5f543dd2c39d34ef1 |
File details
Details for the file idom-0.43.0-py3-none-any.whl
.
File metadata
- Download URL: idom-0.43.0-py3-none-any.whl
- Upload date:
- Size: 89.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b694146d506de959d34ae43c83aa3bbbd2d397d6c562b952e42d3d0a581fdc0 |
|
MD5 | 97e36fc130b363804f9722b4f6cf9027 |
|
BLAKE2b-256 | 832b01c2ca638a6acaa4ae4541406554626e05bca627d51348a8c49ed93d1971 |