It's React, but in Python
Project description
IDOM ·
![License](https://pypi-camo.freetls.fastly.net/a49f461fc8c1f6b9d30d1ab91e98210f92db2e6f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d707572706c652e737667)
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
Hashes for idom-0.40.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 630912434db2ae087d72c6a1142aba914ce62bd92727efbdeb42b8a03db98d91 |
|
MD5 | ef52efcd637139921ea1b1fcd22daa7f |
|
BLAKE2b-256 | 28c2da188a38581758100dbf397fbff3c1d2a1b1450d11c0b276d23a6824392d |