Visualise complex data structures in real time
Project description
Explainable
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.
Installation
pip install -U explainable
Usage
- Install using
pip - Import the library in your code
- Write a drawing function that returns a
Graphobject - Add
explainable.init(<draw_func>)in your code to start the server - Add context using
explainable.add_context()in your code - Go to https://explainable.numan.ai/
import time
import explainable
def draw(cm: explainable.ContextManager):
ctx = cm.get("my_var", default=0)
return explainable.Graph([
explainable.TextNode(f"My var: {ctx}"),
], edges=[])
explainable.init(draw)
explainable.add_context()
my_var = 1
while True:
my_var += 1
time.sleep(0.5)
Requirements
Python 3.7 or higher.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file explainable-1.4.0.tar.gz.
File metadata
- Download URL: explainable-1.4.0.tar.gz
- Upload date:
- Size: 11.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d30f62ff87e03ecca10a95bfa4feb0ed75519f17a643739a8e9367e69dd9d377
|
|
| MD5 |
a15e08de012aaa8a8f7b21c219e047ea
|
|
| BLAKE2b-256 |
1b9cf65fd0d75a107b3c59599e49a3e17903f5f218f5e758aa90a64ff96f03d9
|
File details
Details for the file explainable-1.4.0-py3-none-any.whl.
File metadata
- Download URL: explainable-1.4.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c78025638232f5866d330d66af232dab912e9dab44662d0920c336199029df76
|
|
| MD5 |
8008c54020de4cb3e412de941ab4a215
|
|
| BLAKE2b-256 |
7e42babcac38144f5f4af4e5ae0a618fb336d4630c6aa2766d511d5af02aa9e7
|