Skip to content

LLMPIC

Natural Language → Production Charts. One line.

GitHub | View on PyPI | 小红书 ADW_AI


Quick Start

pip install llmpic
from llmpic import llmPIC

lp = llmPIC(api_key="sk-...", base_url="https://api.openai.com/v1")

lp.plot("Monthly sales trend, 12 months").show()   # Jupyter inline
lp.bar("Sales by region").data(df).save("bar.png") # Save to file

Documentation

Features

  • 11 chart types (Line, Scatter, Bar, Pie, Histogram, Heatmap, Boxplot, Area, Radar, Subplots, Auto-detect)
  • Natural language input (English, Chinese, Japanese, Korean)
  • Jupyter inline rendering
  • Async batch generation
  • Auto-fix with LLM
  • Multi-format export (PNG, SVG, PDF)
  • Dual-layer security

License MIT | Version 0.2.2 | Python >= 3.10