A python package to create interactive tables with alternative category views from formatted json input.
Project description
interactive-multi-category-table
In many scenarios, contents are single-categorized and multi-tagged, by which I mean there are multiple tags but one single (though maybe hierarchical) category system, e.g., file systems, blogs, etc. However, sometimes contents can be categorized from different category views. For storage or lookup, one category system is OK; but for visualization and analysis, flexibly organizing the contents with different category views will be very handy.
This repo targets addressing such demand by creating interactive tables with alternative category views from formatted json input.
usage
generate a static webpage
Run command
python -c "from interactive_multi_category_table import json_to_html; json_to_html('your_json_file.json')"
and you will get the generated webpage in the same folder.
input json file format
Refer to the provided examples for the json file format.
Note that:
- There have to be at least two category trees.
- Leaf category items in the same category tree cannot be the same.
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
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 interactive_multi_category_table-0.0.5.tar.gz.
File metadata
- Download URL: interactive_multi_category_table-0.0.5.tar.gz
- Upload date:
- Size: 5.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92a2b5b90e142bcbe726bd866a366933c7e053d4777d1539fa3ec353d113e77d
|
|
| MD5 |
ec9ae90d9206a7ef1e432b405ce01282
|
|
| BLAKE2b-256 |
4b93e6c226a243311f6c09a2e62c109f1a19b56cf068391010947b013a1ec3e2
|
File details
Details for the file interactive_multi_category_table-0.0.5-py3-none-any.whl.
File metadata
- Download URL: interactive_multi_category_table-0.0.5-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68d553ceae01e905849a7c3be0b710f95d9f0fd9bcbaf28bd5fe1e3149b1eda1
|
|
| MD5 |
767fc965e398689d68d4177ce5cdc3ab
|
|
| BLAKE2b-256 |
08d88219941f233aeedf268369c792cd4b75596afd57454d4391e46173b83d97
|