🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

idom

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idom

It's React, but in Python

1.0.0
PyPI
Maintainers
1

IDOM · Tests PyPI Version License

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 FrameworksSupported Frameworks (External)
Flask, FastAPI, Sanic, TornadoDjango, 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.

Keywords

interactive

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts