Skip to main content

An interactive JSON viewer for Jupyter Notebooks

Project description

╔══════════════════════════════════════════════════════════════╗
║ JUPYTER JSON VIEWER v1.0                                     ║
║ >_INTERACTIVE JSON VISUALIZATION SYSTEM                      ║
║ >>DOCUMENTATION INITIALIZED                                  ║
╚══════════════════════════════════════════════════════════════╝

>_SYSTEM OVERVIEW
---------------
An interactive JSON viewer for Jupyter Notebooks that provides clear and interactive visualization of complex data structures. The viewer supports both light and dark color schemes and offers distinct visual hierarchy for improved data comprehension.

>_CORE FEATURES
------------
[■] VISUALIZATION
    > Interactive collapsible sections for managing complex structures
    > Clear visual hierarchy with structural markers (┌├└)
    > Syntax highlighting for different data types

[■] INTERFACE
    > Light and dark mode support
    > Monospace font optimization for readability
    > Responsive hover effects

[■] CUSTOMIZATION
    > Configurable display depth
    > Adjustable indentation
    > Optional title support

>_INITIALIZATION
------------
# Import the viewer
from viewer import display_json

# Sample data
data = {
    "name": "example",
    "values": [1, 2, 3],
    "options": {
        "active": True,
        "mode": "standard"
    }
}

# Basic usage
display_json(data)

# Advanced configuration
display_json(
    data,
    title="Data Structure",   # Optional title
    dark_mode=True,          # Enables dark mode
    collapsed=True,          # Starts collapsed
    max_depth=3,            # Maximum display depth
    indent_size=24          # Indentation in pixels
)
>_PARAMETERS
---------
AVAILABLE CONFIGURATION OPTIONS:

[DATA]      The JSON-compatible data structure to visualize (required)
[TITLE]     Optional heading above the visualization
[MAX_DEPTH] Maximum nesting depth to display (optional)
[COLLAPSED] State of collapsible elements (default: False)
[INDENT]    Indentation size in pixels (default: 24)
[DARK_MODE] Dark color scheme (default: False)

>_TECHNICAL SPECIFICATIONS
---------------------
SYSTEM REQUIREMENTS:
- Python 3.6 or higher
- IPython 7.0.0 or higher
- Jupyter Notebook/Lab

IMPLEMENTED TECHNOLOGIES:
- HTML5 for structural representation
- CSS3 for styling and animations
- JavaScript for interactivity
- IPython display system integration

>_COLOR SCHEMES
-----------
LIGHT MODE:
- Background: #f8f9fa
- Text: #2c3e50
- Strings: #28a745
- Numbers: #0066cc
- Boolean values: #e83e8c

DARK MODE:
- Background: #1e1e1e
- Text: #d4d4d4
- Strings: #6A9955
- Numbers: #569CD6
- Boolean values: #C586C0

>_LICENSE
------

╔════════════════════════════════════════════════╗
║ GNU General Public License v3.0                ║
║ Copyright (c) 2024                             ║
║ Developed by Johannes Kaindl                   ║
╚════════════════════════════════════════════════╝

>>END OF DOCUMENTATION

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

jupyter_json_viewer-0.1.2.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

jupyter_json_viewer-0.1.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_json_viewer-0.1.2.tar.gz.

File metadata

  • Download URL: jupyter_json_viewer-0.1.2.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for jupyter_json_viewer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 778032af6aaecd4f3c93871c6a5fe86c712e307d0d0efac7ad75700b72c02025
MD5 84025aff26e4ef2f80a1018e4b416c36
BLAKE2b-256 45feb4e66e710536b5f4213f8f75a305aaee88b6e8a4116ae87b79739c1bd019

See more details on using hashes here.

File details

Details for the file jupyter_json_viewer-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_json_viewer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 17223d9693589ca7669654849aa969ee8ec5b7f552912bd18a925a882d19bc53
MD5 55dd3f2afc156e7d15877576f5a6b369
BLAKE2b-256 df60c51e6ed9840193206db60b6bc962ff1473f1c06c984892a9ac561569b0e1

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