u1234x1234 / ovipy

Interactive visualizer of python objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ovipy - Interactive visualizer of python objects.

Usage

from ovipy import show_gui
import requests
show_gui(requests.get("https://en.wikipedia.org/"))

import numpy as np # Another example
import pandas as pd
import torch

complex_object = {
    "list_with_strings": ["a"*5, "b"*20, "c"*3] * 5,
    "12": np.random.uniform(size=(1000, 20)),
    "nested_dicts": {"dict_key": ["some_data"] * 10, "nested": {1: 3}, "data": [1] * 10},
    "df": pd.DataFrame(np.random.uniform(size=(1000, 20))),
    "t_t": torch.rand(20, 5),
}
show_gui(complex_object)

Installation

pip install PyQt5 PyQtWebEngine
pip install git+https://github.com/u1234x1234/ovipy.git@0.0.3

About

Interactive visualizer of python objects

License:MIT License


Languages

Language:Python 99.3%Language:Shell 0.7%