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)
Metadata
Release files for dash-rjsf 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dash_rjsf-0.0.4.tar.gz | 87.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dash_rjsf-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 176.4 kB
Release files / dash_rjsf-0.0.4.tar.gz
| Download URL | dash_rjsf-0.0.4.tar.gz |
|---|---|
| Size | 87.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3244846b5aaf5d51d87e5fc81aeca26df89b52ef8f3727fac9fa6b39eef01c4a
|
|
BLAKE2b-256 checksum How to use checksums |
0ed0771da119fba02ca27efa0974eb2d1f7e2a60e0cdbc97e3cd2e8dff3be738
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / dash_rjsf-0.0.4-py3-none-any.whl
| Download URL | dash_rjsf-0.0.4-py3-none-any.whl |
|---|---|
| Size | 88.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b11511249120d13a26f62ee2376ea210edd092ded37d0aa1b9cd3b1581ccaaca
|
|
BLAKE2b-256 checksum How to use checksums |
0642da467801cf42b55ca32573cf3d4fe6b7fa61f2a91b04c87c2fe412d61b9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|