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/
6. Contributing
7. Changelog
8. 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
File details
Details for the file dash_json_grid-0.4.2.tar.gz
.
File metadata
- Download URL: dash_json_grid-0.4.2.tar.gz
- Upload date:
- Size: 359.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 | 2c200b2017278aced093b4352739ea8c379fdc966e3f24040378d3c03127c8af |
|
MD5 | 1b7922e1b6b10272cdfc811c65fef2c8 |
|
BLAKE2b-256 | 9c7458b414bb0b8045c7cf8c7487228b47fd7d5bc753ba5c3340c96a5a886a24 |
Provenance
The following attestation bundles were made for dash_json_grid-0.4.2.tar.gz
:
Publisher:
python-publish.yml
on cainmagi/dash-json-grid
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
dash_json_grid-0.4.2.tar.gz
- Subject digest:
2c200b2017278aced093b4352739ea8c379fdc966e3f24040378d3c03127c8af
- Sigstore transparency entry: 148681032
- Sigstore integration time:
- Predicate type:
File details
Details for the file dash_json_grid-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: dash_json_grid-0.4.2-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 | 95f1930a547fcb14955ffe3d91fe0e869a7fdef3a01ee2b6464eae77786106f7 |
|
MD5 | 15666e706463ad42fc2d6ccdc602e1db |
|
BLAKE2b-256 | 9cd70f5a0d7d2fc06c54648ee998d9cca314af38ccefa6acc0d4976074c3bfb0 |
Provenance
The following attestation bundles were made for dash_json_grid-0.4.2-py3-none-any.whl
:
Publisher:
python-publish.yml
on cainmagi/dash-json-grid
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
dash_json_grid-0.4.2-py3-none-any.whl
- Subject digest:
95f1930a547fcb14955ffe3d91fe0e869a7fdef3a01ee2b6464eae77786106f7
- Sigstore transparency entry: 148681033
- Sigstore integration time:
- Predicate type: