Skip to main content

A magic that displays an object using JupyterLab's rich display JSON renderer

Project description

Welcome to jsonmagic

License: MIT

Installation

The Python package jsonmagic can be installed from PyPI:

python -m pip install jsonmagic

Usage

Usage is only meaningful within JupyterLab.

You can do:

from jsonmagic import view_json

view_json(obj)

or alternatively use this as a line magic:

%load_ext jsonmagic

Then, inspect any JSON-like data structure (nested dictionary/list etc) with:

%json data

Get a browsable output like this:

Example Output

Acknowledgments

This repository was set up using the SSC Cookiecutter for Python Packages.

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

jsonmagic-0.0.1.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file jsonmagic-0.0.1.tar.gz.

File metadata

  • Download URL: jsonmagic-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jsonmagic-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bb1c7fddec676f8fc7a45de686116a0a363a5019be9669790792f706af054cfb
MD5 cd20b39789a9d67d27f03fd6f69550a6
BLAKE2b-256 79feefc797bcd4c3e7fc3ee2bf57bf1f6452916cdbd763d6419fdd1c74f2e830

See more details on using hashes here.

Provenance

The following attestation bundles were made for jsonmagic-0.0.1.tar.gz:

Publisher: pypi.yml on ssciwr/jsonmagic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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