Skip to main content

No project description provided

Project description

justplotme

justplotme is a library that uses LLMs to perform the AGI level task of creating plots.

Demo

Installation

pip install justplotme

Usage

Open example.ipynb in JupyterLab / Notebook. You'll need an openai api key (only llm currently supported) to use the widget. Export it to an env variable called OPENAI_API_KEY. DO NOT actually put the key in the notebook, you might end up leaking it. In the notebook, you can use justplotme as follows:

import os
from justplotme import PlotMe

OPENAI_KEY = os.getenv("OPENAI_API_KEY")

# df is a pandas DataFrame
PlotMe(df, api_key=OPENAI_KEY)

Development installation

Create a virtual environment and and install justplotme in editable mode with the optional development dependencies:

python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

Changes made in src/justplotme/static/ will be reflected in the notebook.

To Do

  • V0 that works on the browser
  • Release on pypi
  • Make logging work, less painful
  • Make justplotme work in VSCode jupyter notebooks
  • Support more LLMs
  • Support multiline statements, not just expressions
  • Add support to different plotting backends
  • More data exploration modalities? Maps maybe?

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

justplotme-0.0.1.tar.gz (1.7 MB view hashes)

Uploaded Source

Built Distribution

justplotme-0.0.1-py2.py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page