Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

reactive-python/reactpy

Repository files navigation

IDOM · Tests PyPI Version License

IDOM is a Python micro-framework that links your 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 JavaScript components directly from NPM. Components can also be developed in JavaScript for additional flexibility.

IDOM's ecosystem independent design allows components to be reused across a variety of web frameworks. Pre-existing support is included for many popular Python frameworks, however, any framework with WebSocket support can be adapted to utilize IDOM.

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 App():
    return html.h1("Hello, World!")

run(App)

Resources

Follow the links below to find out more about this project.

About

It's React, but in Python

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Contributors 24

Morty Proxy This is a proxified and sanitized view of the page, visit original site.