Skip to content

numan-ai/explainable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Explainable

PyPI version

Explainable is a project for real time visualisation of complex data structures with minimal effort.
This project was created by Numan Team.
Visualisation runs on our website, so you only need install the library and initialise it in your code.

plot

Installation

pip install -U explainable

Usage

  1. Install using pip
  2. Import the library in your code
  3. Add explainable.init() in your code to start the server
  4. Select data to observe with data = explainable.observe("my_view", data)
  5. Go to https://explainable.numan.ai/
import time

import explainable

# start the server
explainable.init()

# create your data
lst = [0, 1, 2]

# start observing
lst = explainable.observe("view1", lst)

# change your data
while True:
  lst[0] += 1
  lst[1] -= 1

  time.sleep(1)

plot

Currently supported data structures:

  • dataclass
  • list
  • dict
  • enums

Requirements

Python 3.7 or higher.