Dash porting version of the react project React JSON Grid. Provide structured and nested grid table view of complicated JSON objects/arrays.
Project description
Dash JSON Grid
Dash JSON Grid is a Dash component library.
Dash porting version of the react project React JSON Grid :link:. Provide structured and nested grid table view of complicated JSON objects/arrays.
The following two figures compare the demos of the original React version and the ported Dash version. Since this project is just a dash component wrapper on the original React component, the performance is the same.
| React JSON Grid | Dash JSON Grid |
|---|---|
1. Install
Intall the latest released version of this package by using the PyPI source:
python -m pip install dash-json-grid
Or use the following commands to install the developing version from the GitHub Source when you have already installed Git :hammer:, NodeJS :hammer:, and Yarn :hammer::
git clone https://github.com/cainmagi/dash-json-grid
cd dash-json-grid
python -m pip install -r requirements-dev.txt
yarn install
yarn build
python -m pip install .
2. Usages
The following codes provide a minimal example of using this component:
import dash
import dash_json_grid as djg
app = dash.Dash("demo")
app.layout = djg.DashJsonGrid(
data={
"id": "0001",
"type": "donut",
"name": "Cake",
"ppu": 1111.55,
"batters": {
"batter": [
{"id": "1001", "type": "Regular"},
{"id": "1002", "type": "Chocolate"},
{"id": "1003", "type": "Blueberry"},
{"id": "1004", "type": "Devil's Food"},
]
},
"topping": [
{"id": "5001", "type": "None"},
{"id": "5002", "type": "Glazed"},
{"id": "5005", "type": "Sugar"},
{"id": "5007", "type": "Powdered Sugar"},
{"id": "5006", "type": "Chocolate with Sprinkles"},
{"id": "5003", "type": "Chocolate"},
{"id": "5004", "type": "Maple"},
],
}
)
if __name__ == "__main__":
app.run()
3. Documentation
Check the documentation to find more details about the examples and APIs.
https://cainmagi.github.io/dash-json-grid/
4. Contributing
5. Changelog
6. Acknowledgements
- RedHeadphone/react-json-grid :link:: The original React component implementation of this project.
- jsongrid.com :link:: Grid design and styles.
- kevincobain2000/json-to-html-table :link:: React Component and project structure
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dash_json_grid-0.5.0.tar.gz.
File metadata
- Download URL: dash_json_grid-0.5.0.tar.gz
- Upload date:
- Size: 362.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a849e9befb0390913263bf0486e2674a35d0f24cac8e99fb16cb111958130ff
|
|
| MD5 |
f5945c4f5ed22639bc6686767d02e4e0
|
|
| BLAKE2b-256 |
c5814ff4728b6059f0d4dadfb3cded04e2fc3825b1183aecabe43d69e7692085
|
Provenance
The following attestation bundles were made for dash_json_grid-0.5.0.tar.gz:
Publisher:
python-publish.yml on cainmagi/dash-json-grid
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dash_json_grid-0.5.0.tar.gz -
Subject digest:
3a849e9befb0390913263bf0486e2674a35d0f24cac8e99fb16cb111958130ff - Sigstore transparency entry: 152159707
- Sigstore integration time:
-
Permalink:
cainmagi/dash-json-grid@4c1543a59fc06f351c77452cf20fc47c63382237 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/cainmagi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@4c1543a59fc06f351c77452cf20fc47c63382237 -
Trigger Event:
release
-
Statement type:
File details
Details for the file dash_json_grid-0.5.0-py3-none-any.whl.
File metadata
- Download URL: dash_json_grid-0.5.0-py3-none-any.whl
- Upload date:
- Size: 58.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9204bc1092dd24e662fc4930f90c6460736f27485b96741fe77aebd29d8f462
|
|
| MD5 |
cf224ab754240cb7917c8c1409a82bae
|
|
| BLAKE2b-256 |
8526c596e1d36e2340dfe5652f5bdc65f2b2f0ca79f9e094ee5c4746cbba9f00
|
Provenance
The following attestation bundles were made for dash_json_grid-0.5.0-py3-none-any.whl:
Publisher:
python-publish.yml on cainmagi/dash-json-grid
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dash_json_grid-0.5.0-py3-none-any.whl -
Subject digest:
e9204bc1092dd24e662fc4930f90c6460736f27485b96741fe77aebd29d8f462 - Sigstore transparency entry: 152159708
- Sigstore integration time:
-
Permalink:
cainmagi/dash-json-grid@4c1543a59fc06f351c77452cf20fc47c63382237 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/cainmagi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@4c1543a59fc06f351c77452cf20fc47c63382237 -
Trigger Event:
release
-
Statement type: