No project description provided
Project description
justplotme
justplotme is a library that uses LLMs to perform the AGI level task of creating plots.
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
Release history Release notifications | RSS feed
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.0.tar.gz
(1.7 MB
view hashes)
Built Distribution
Close
Hashes for justplotme-0.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5d399984b2053430bab40dc0e973162517004281fce421ebde69d4aad03066a |
|
MD5 | 87d1ad3e61b3bf778c207577c21717d4 |
|
BLAKE2b-256 | 7b02c4cf875ca5fd62d85dd2c703a4656f3272e2d61bdd6981647f015aa0f2a1 |