Metadata-Version: 2.1
Name: chartgpt
Version: 0.0.4
Summary: ChartGPT is a library for generating charts from text
Project-URL: Homepage, https://github.com/chatgpt/chart
Author-email: Elie Brosset <eliebrosset@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: openai>=0.2.0
Requires-Dist: pandas>=2.0.0
Requires-Dist: plotly>=4.0.0
Requires-Dist: python-dotenv>=1.0.0
Provides-Extra: dev
Requires-Dist: pre-commit<3.0.0,>=2.17.0; extra == 'dev'
Requires-Dist: ruff==0.0.138; extra == 'dev'
Provides-Extra: doc
Requires-Dist: mdx-include<2.0.0,>=1.4.1; extra == 'doc'
Requires-Dist: mkdocs-markdownextradata-plugin<0.3.0,>=0.1.7; extra == 'doc'
Requires-Dist: mkdocs-material<9.0.0,>=8.1.4; extra == 'doc'
Requires-Dist: mkdocs<2.0.0,>=1.1.2; extra == 'doc'
Requires-Dist: pyyaml<7.0.0,>=5.3.1; extra == 'doc'
Requires-Dist: typer-cli<0.0.14,>=0.0.13; extra == 'doc'
Requires-Dist: typer[all]<0.8.0,>=0.6.1; extra == 'doc'
Provides-Extra: test
Requires-Dist: anyio[trio]<4.0.0,>=3.2.1; extra == 'test'
Requires-Dist: black==23.1.0; extra == 'test'
Requires-Dist: coverage[toml]<8.0,>=6.5.0; extra == 'test'
Requires-Dist: httpx<0.24.0,>=0.23.0; extra == 'test'
Requires-Dist: isort<6.0.0,>=5.0.6; extra == 'test'
Requires-Dist: mypy==0.982; extra == 'test'
Requires-Dist: orjson<4.0.0,>=3.2.1; extra == 'test'
Requires-Dist: pytest<8.0.0,>=7.1.3; extra == 'test'
Requires-Dist: python-multipart<0.0.7,>=0.0.5; extra == 'test'
Requires-Dist: pyyaml<7.0.0,>=5.3.1; extra == 'test'
Requires-Dist: ruff==0.0.138; extra == 'test'
Requires-Dist: types-orjson==3.6.2; extra == 'test'
Requires-Dist: types-ujson==5.7.0.1; extra == 'test'
Requires-Dist: ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0,>=4.0.1; extra == 'test'
Description-Content-Type: text/markdown

# ChartGPT ✨📊

[![Open in Colab](https://camo.githubusercontent.com/84f0493939e0c4de4e6dbe113251b4bfb5353e57134ffd9fcab6b8714514d4d1/68747470733a2f2f636f6c61622e72657365617263682e676f6f676c652e636f6d2f6173736574732f636f6c61622d62616467652e737667)](https://colab.research.google.com/drive/1KvXzl8W_WfmS-_VSG12A9eyT2YAHL1HE?usp=sharing)

ChartGPT is a lightweight and user-friendly tool designed to assist you in visualizing your Pandas dataframes. Whether you are working in a Jupyter notebook or developing a Dash app, ChartGPT makes it effortless to generate stunning charts and plots. 📈

## Features 🌟

- Intuitive integration with Pandas dataframes 🐼
- Supports both Jupyter notebooks and Dash apps 📓🚀
- Simple installation and setup ⚙️

## Installation ⬇️

You can install ChartGPT using pip:

```shell
pip install chartgpt
```

## Example Usage 🎉

### Jupyter Notebook 📔

```python
import chartgpt as cg

df = pd.read_csv('data.csv')
chart = cg.Chart(df, api_key="YOUR_API_KEY")
chart.plot("Pop vs. State")
```

![ChartGPT in a Jupyter notebook](docs/assets/chart.png)

Generated graph after inputting 'Pop vs. State'

### Dash App 🚀

![ChartGPT in a Dash app](docs/assets/dash.png)

See Dash example [here](https://colab.research.google.com/drive/1KvXzl8W_WfmS-_VSG12A9eyT2YAHL1HE?usp=sharing).

## Documentation 📚

For detailed information on how to use ChartGPT, please refer to the [documentation](https://chatgpt.github.io/chart/).

## License 📜

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
