VisualizerAI: natural language to plots with pandas, matplotlib, and Ollama LLM.
Project description
VisualizerAI
visualizerai lets you turn natural language into plots.
It integrates with pandas, matplotlib, and a local Ollama LLM (e.g., LLaMA3.2).
Quickstart
import pandas as pd
import visualizerai as vai
df = pd.DataFrame({
"date": pd.date_range("2022-01-01", periods=10),
"soil_moisture": [0.1,0.15,0.12,0.14,0.13,0.16,0.18,0.20,0.19,0.21],
"rainfall": [2,3,1,0,5,6,3,2,4,5]
})
# Natural language prompt -> automatic plot
vai.prompt_plot("Show soil_moisture and rainfall on the same graph with labels", df)
License
MIT
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
visualizerai-0.2.0.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file visualizerai-0.2.0.tar.gz.
File metadata
- Download URL: visualizerai-0.2.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f83191b530ed4d3b795d1ae0779386ce8d971ccf7ee87b943da2455a6ec8a16
|
|
| MD5 |
6671daccbc13b3483ffa2dea7e34674f
|
|
| BLAKE2b-256 |
1b9a0f817dcbf5ab5b2d1874c42c69c0d13e1683c6deb70e53a228379948f888
|
File details
Details for the file visualizerai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: visualizerai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de4d7b20cfe92bb02226d950410f8b9b9a96f0e017ef52dbc2ce64bb60db8167
|
|
| MD5 |
9276e63603ebe7f85f2c950f72ad316a
|
|
| BLAKE2b-256 |
bf9b67e71c8ba8982cf5c028e2d989eb3b5912f31a97189c3986f62165a5d39d
|