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

demo

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

interactive_multi_category_table-0.0.5.tar.gz (5.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

File hashes

Hashes for interactive_multi_category_table-0.0.5.tar.gz
Algorithm Hash digest
SHA256 92a2b5b90e142bcbe726bd866a366933c7e053d4777d1539fa3ec353d113e77d
MD5 ec9ae90d9206a7ef1e432b405ce01282
BLAKE2b-256 4b93e6c226a243311f6c09a2e62c109f1a19b56cf068391010947b013a1ec3e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for interactive_multi_category_table-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 68d553ceae01e905849a7c3be0b710f95d9f0fd9bcbaf28bd5fe1e3149b1eda1
MD5 767fc965e398689d68d4177ce5cdc3ab
BLAKE2b-256 08d88219941f233aeedf268369c792cd4b75596afd57454d4391e46173b83d97

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page