Skip to main content

A python package to create interactive tables with alternative category views from formatted json input.

Project description

interactive-multi-category-table

In many different scenarios, contents are single-categorized and multi-tagged, by which I mean there exist 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. It can both run as a service on the server side based on dash, or generate a static webpage on the client side.

usage

run on the server side

import interactive_multi_category_table as imct

imct.run_dash_app(json_file_path)

and the generated webpage can be accessed at http://127.0.0.1:8050/.

generate a static webpage

import interactive_multi_category_table as imct

imct.json_to_html(json_file_path)

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

interactive_multi_category_table-0.0.4.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for interactive_multi_category_table-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f8f1180fa89f71e2bf12bc929643d82b20d0ec0baba03e59386f43e467662803
MD5 b4c132b5116dde683547251dc2ed15e5
BLAKE2b-256 c612b28c76f6402ecd9b0f9c9d29e34af39c588cc02fa4fbebe8e9daf642d71c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for interactive_multi_category_table-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a884306d6c3002743e67b508f7032e87cab7b9cfd05c5a959f367a34596fd9ee
MD5 7b5113ab26ff30a4fc15515ac722a296
BLAKE2b-256 f837d725345bcd640fe7f6364c25ea3a18e91c54a0830b9be0b1cbd58043ccb2

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