Skip to main content

Experimental data manager and visualization tools

Project description

ExpView

⚠️ Currently under active development.

Overview

ExpView is a terminal-based analytics and visualization tool inspired by Excel. Designed for developers and data scientists, it displays pandas DataFrames directly in the terminal using the Curses library, with fast navigation, shortcut keys, and instant refresh.

ExpView can integrate with experiment pipelines: pass variable configurations to external programs, collect CSV/TSV/JSON outputs, manage configs, and visualize results with matplotlib to analyze parameter effects and performance trends.

Installation

pip install expview

This installs ExpView and its dependencies.

Quick Start

Example usage:

import random
from expview import experiment, cli

@experiment
def dummy_experiment(run_args, exp_vars, results):
    """Example experiment function."""
    print(f"--- Experiment {run_args['expid']} ---")
    for k, v in exp_vars.items():
        print(f"{k}: {v}")
    results["accuracy"] = round(random.uniform(0.4, 0.99), 2)
    print("accuracy:", results["accuracy"])

if __name__ == "__main__":
    cli()

Exploring Results

Run expview inside a logs directory or any subdirectory containing CSV, TSV, or JSON files. ExpView merges the files and displays results in a navigable terminal table:

expview

Plotting

ExpView supports interactive plotting. Example workflow:

  1. Select a column as x-axis (Shift + X).
  2. Select another column as y-axis (Shift + Y).
  3. Optionally, select a column for legend (Shift + T).
  4. Open the command prompt (:) and type line to generate a plot.

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

expview-0.1.0.tar.gz (77.2 kB view details)

Uploaded Source

Built Distribution

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

expview-0.1.0-py3-none-any.whl (80.1 kB view details)

Uploaded Python 3

File details

Details for the file expview-0.1.0.tar.gz.

File metadata

  • Download URL: expview-0.1.0.tar.gz
  • Upload date:
  • Size: 77.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for expview-0.1.0.tar.gz
Algorithm Hash digest
SHA256 66c7424ad2d0838249f3208448b63c758ded2821c1d3e90fc13980d286fdb454
MD5 fd30472ce8f9b8853270104f1515fb05
BLAKE2b-256 551966be098f26cc1ef4517125fb2f97b8703e88d02f2a72b790140a7f628dcb

See more details on using hashes here.

File details

Details for the file expview-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: expview-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 80.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for expview-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e12a5349b7864ed67225210f4eb00c48d4564c79ab795093b4c3eee48a08c76b
MD5 957b90a6e21ec95179f41a1bb8f14789
BLAKE2b-256 43d51a5b0c57bdea218f3cdf46fd10d04b600f868a90ffbbbf706ee39a0bf937

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