Skip to main content

It's React, but in Python

Project description

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 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.

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

idom-1.0.0a4.tar.gz (84.6 kB view details)

Uploaded Source

Built Distribution

idom-1.0.0a4-py3-none-any.whl (91.5 kB view details)

Uploaded Python 3

File details

Details for the file idom-1.0.0a4.tar.gz.

File metadata

  • Download URL: idom-1.0.0a4.tar.gz
  • Upload date:
  • Size: 84.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for idom-1.0.0a4.tar.gz
Algorithm Hash digest
SHA256 becb527e8763ae36feca3581e2d36240cdfa023f0f901cee8fbffc97b2bd8351
MD5 5940eb7dae0ede01a0cd1385be542db3
BLAKE2b-256 3836bf8fde58952c79f41b2567708a2928c40014c41d323b094f0afb3af095e3

See more details on using hashes here.

File details

Details for the file idom-1.0.0a4-py3-none-any.whl.

File metadata

  • Download URL: idom-1.0.0a4-py3-none-any.whl
  • Upload date:
  • Size: 91.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for idom-1.0.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 d12f83becb8b508577dbbcf014bc5fe2c0743a3bc914549a1a56763fc0a058d6
MD5 ebc4361df695bed951f7b8e4eb57f00c
BLAKE2b-256 74fa7c6d8cfc2593fc9e2ffbef6ac379e192936ff6b611526d9bb154b677163a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page