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-1.0.0.tar.gz
.
File metadata
- Download URL: idom-1.0.0.tar.gz
- Upload date:
- Size: 84.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80980ed6655862f5c0e07af49e44a7f7488695a2ccefd335aac93210b5e30e8d |
|
MD5 | 5db9af1ba17816e37b23b5caafceb6fb |
|
BLAKE2b-256 | c613cea4d931be8ac4e8fe58de55ce49f84ac5a19558e6d123eeb0840f9d02f7 |
File details
Details for the file idom-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: idom-1.0.0-py3-none-any.whl
- Upload date:
- Size: 91.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab867e2440cabd0a1773a075082394a6824249b3236ad2f17769dc207180134 |
|
MD5 | c32ab22fc0c3462934068c96541ed400 |
|
BLAKE2b-256 | af90da9e0e45bf7f0a6cc7ae5fba364134dbe93765de4ca60a01f7dbaf20af9b |