A magic that displays an object using JupyterLab's rich display JSON renderer
Project description
Welcome to jsonmagic
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:
Acknowledgments
This repository was set up using the SSC Cookiecutter for Python Packages.
Project details
Release history Release notifications | RSS feed
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.3.tar.gz
(3.2 kB
view details)
File details
Details for the file jsonmagic-0.0.3.tar.gz.
File metadata
- Download URL: jsonmagic-0.0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c7d4195fea483bda79b31a4a70f74aa2a132726d8c0ac68045aebbbe37880d2
|
|
| MD5 |
dbec058ac14754f407c909d7d0e127ec
|
|
| BLAKE2b-256 |
04d19c47b89eacfe3312d9d74ff030d8ab00672824da382e50c531aa4f7770b2
|
Provenance
The following attestation bundles were made for jsonmagic-0.0.3.tar.gz:
Publisher:
pypi.yml on ssciwr/jsonmagic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jsonmagic-0.0.3.tar.gz -
Subject digest:
8c7d4195fea483bda79b31a4a70f74aa2a132726d8c0ac68045aebbbe37880d2 - Sigstore transparency entry: 605198257
- Sigstore integration time:
-
Permalink:
ssciwr/jsonmagic@cb92728954d5a837c196e3c6e9e0dd212a421c02 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ssciwr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@cb92728954d5a837c196e3c6e9e0dd212a421c02 -
Trigger Event:
workflow_dispatch
-
Statement type: