Skip to main content

Dash component based on the react-jsonschema-form

Project description

Dash component to make input forms from json schema

Usage

import dash_rjsf
import dash
from dash.dependencies import Input, Output
import dash_html_components as html

app = dash.Dash(__name__)
schema = {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "Hello form",
        "description": "Demo hello form",
        "type": "object",
        "properties": {
            "hello": { "type": "string", "description": "hello value"}
        }
    }
app.layout = html.Div([
    dash_rjsf.DashRjsf(
        id='input',
        schema=schema,
    ),
    html.Div(id='output')
])


@app.callback(Output('output', 'children'), [Input('input', 'value')])
def display_output(value):
    return 'You have entered {}'.format(value)


if __name__ == '__main__':
    app.run_server(debug=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dash_rjsf-0.0.4.tar.gz (87.8 kB view details)

Uploaded Source

Built Distribution

dash_rjsf-0.0.4-py3-none-any.whl (88.6 kB view details)

Uploaded Python 3

File details

Details for the file dash_rjsf-0.0.4.tar.gz.

File metadata

  • Download URL: dash_rjsf-0.0.4.tar.gz
  • Upload date:
  • Size: 87.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for dash_rjsf-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3244846b5aaf5d51d87e5fc81aeca26df89b52ef8f3727fac9fa6b39eef01c4a
MD5 96419143f5f182b2a28139a509ad1e73
BLAKE2b-256 0ed0771da119fba02ca27efa0974eb2d1f7e2a60e0cdbc97e3cd2e8dff3be738

See more details on using hashes here.

File details

Details for the file dash_rjsf-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: dash_rjsf-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 88.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for dash_rjsf-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b11511249120d13a26f62ee2376ea210edd092ded37d0aa1b9cd3b1581ccaaca
MD5 7aaf140e97a8df40810d7afd1258ce4f
BLAKE2b-256 0642da467801cf42b55ca32573cf3d4fe6b7fa61f2a91b04c87c2fe412d61b9e

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