Skip to main content

Visualise complex data structures in real time

Project description

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. Write a drawing function that returns a Graph object
  4. Add explainable.init(<draw_func>) in your code to start the server
  5. Add context using explainable.add_context() in your code
  6. 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)

plot

Requirements

Python 3.7 or higher.

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

explainable-1.2.0.tar.gz (9.7 MB view details)

Uploaded Source

Built Distribution

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

explainable-1.2.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file explainable-1.2.0.tar.gz.

File metadata

  • Download URL: explainable-1.2.0.tar.gz
  • Upload date:
  • Size: 9.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for explainable-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b326709e9a8802d3b768227958aa66e11d3edc5be785116d7853cef892aeee21
MD5 1d3f6248f4f9d9bd47906d809c47682e
BLAKE2b-256 e2195cac9abec17551f7aa947e48e89a4da772f95b0adab349f20e670bae794d

See more details on using hashes here.

File details

Details for the file explainable-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: explainable-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for explainable-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3f48e7e0c69d702e5f2e07bafb43228d394fa1e5f98947c1b613add4d965097
MD5 709f1481d379faca589143db5a2bc5ac
BLAKE2b-256 9d59ea7f6cc08663f59a733e63031580a3015e2389344e02b85e7aa9cc2ea0b4

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