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 configurations, and visualize results with matplotlib to analyze parameter effects and performance trends.


Installation

pip install expview

This installs ExpView and its dependencies.


Quick Start

To open a dataset, run:

expview data.csv

If you have multiple datasets in a folder, just run:

expview

Using ExpView to Generate Experiment Results

Example usage:

# my_experiment.py
import random
from expview import experiment, cli

@experiment
def my_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()

Then call your program like this:

python my_experiment.py run --var1=val1/val2 --var2=val1/val2

This runs the experiment with all combinations of input variables and creates four test results in logs directory. For full documentation, refer to the GitHub homepage.


Exploring Results

Run expview inside the experiment or logs directory or any subdirectory containing the result 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.

For full documentation, visit the GitHub repository.


License

MIT License © 2025 Ahmad Pouramini


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

Uploaded Python 3

File details

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

File metadata

  • Download URL: expview-0.1.1.tar.gz
  • Upload date:
  • Size: 77.7 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.1.tar.gz
Algorithm Hash digest
SHA256 9d4ce02e78f3d2be41f4734bae8718162008bb1901e8d8161368a02358ee3e7d
MD5 f66d70354aa1348a5d8b96cdb0bcfd1d
BLAKE2b-256 2283e0ab13d75cb7d88255ce914e158a7c8984f9d67d5467b7f7d267a4f83f23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: expview-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 80.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3bfc2b29f4696a0a5350eec072c5c45001758d7ee017d949259886e78c99a7b0
MD5 f7c88ef4dd43fcb571fb833205df2bb6
BLAKE2b-256 53321a4d2dbd2d42491257db553999d4e9f26db4791c5288f278f13f1f61b037

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