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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 2Python 3

File details

Details for the file justplotme-0.0.1.tar.gz.

File metadata

  • Download URL: justplotme-0.0.1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for justplotme-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9ebe2bf03f0a0837bc25a8202ca78def30e33a024405c60df1ac21f3a3444395
MD5 9e46af577b2147da5c4f052482768236
BLAKE2b-256 b67ce63923aa08b779ceedebad26d3409a8ede2cecc0c6a6164642cef2b0b96f

See more details on using hashes here.

File details

Details for the file justplotme-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: justplotme-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for justplotme-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e7084c4305f8c1a79274433a5b33a6950da71f2fdfb64d41435e07ad622b39fb
MD5 ba6297cda126abb67e00e953eed14d92
BLAKE2b-256 39d596ae89d30268cb900d22ab9f3e1066d5e7a2fb3bc37e84ec12acea7ccfe2

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