Skip to main content

interactive-json-tree

Expandable tree view for JSON-like data for Jupyter.

Installation

pip install interactive-json-tree

Example:

from interactive_json_tree import JSON

example = {
    "name": "Acme Corp",
    "employees": [
        {"name": "Ada", "skills": ["CSS", "JS"]},
        {"name": "Bob", "skills": []},
    ],
    "meta": {"founded": 2012, "active": True, "bar": None},
}

JSON(example, expand_depth=2)
{} Object (3)
"name": "Acme Corp"
"employees": [] Array (2)
[0]: {} Object (2)
"name": "Ada"
"skills": [] Array (2)
[0]: "CSS"
[1]: "JS"
[1]: {} Object (2)
"name": "Bob"
"skills": [] Array (0)
"meta": {} Object (3)
"founded": 2012
"active": true
"bar": null

(Github preview will sanitize styles out of the example above. See below for a screenshot)


Screenshot

Example of interactive-json-tree expandable view

Credits / Caveat

Vibe coded with GPT-5-Pro in 30 minutes

Metadata

Release files for interactive-json-tree 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for interactive-json-tree 0.2.0
File Size Uploaded
interactive_json_tree-0.2.0.tar.gz 271.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for interactive-json-tree 0.2.0
File Interpreter ABI Platform
interactive_json_tree-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 277.9 kB

Release files / interactive_json_tree-0.2.0.tar.gz

Download URL interactive_json_tree-0.2.0.tar.gz
Size 271.0 kB
Tags Source
SHA-256 checksum
How to use checksums
65f10ada616e076154ef9491acc3bd1c70a9766faa703894fe9537fb7e5d950c
BLAKE2b-256 checksum
How to use checksums
c7b961ae5ca5ea749f18604d58b509f5471568a75db4036cbb9a63792335e6b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / interactive_json_tree-0.2.0-py3-none-any.whl

Download URL interactive_json_tree-0.2.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f30d1419e97614f8238477cc830c35ab526e96d8a88be7266dacd7543d865fc4
BLAKE2b-256 checksum
How to use checksums
4ce416c6e3955ff6209753b6279110f4d30af9fe49d2018ee7ec7258953ff6d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page