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.1.tar.gz (11.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.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for explainable-1.2.1.tar.gz
Algorithm Hash digest
SHA256 c12ef6c94acd355e0e71005317cec9996d0288ef9f4a797e6530d7e776d56063
MD5 dc132f95f2e828515df4c58e3a09597c
BLAKE2b-256 6cf0270f27070eaa6e0d92bc6b271e13f9965f38757cff1cfcaa416da3f13e41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: explainable-1.2.1-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

Hashes for explainable-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 07c8c7a0b35c9e6adcb5342b81f9f79fc75dc9114a95c2243481763c5a12c257
MD5 81aea28c1c9321b4ed3cb682a077287c
BLAKE2b-256 157f92d09878fe22db726f67bec8214bc67186d17a99bdc24e943c373842da67

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