@@@@@@@@@@@@@@@%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@@@@@@@@@@@@@@%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@@@@@@@@@@@@@@@%%%%%%%#*+**%%%%%%%%%%%%%%%%%%%%%@
@@@@@@@@@@@@@@@@@@@%%+=-----.+%%%%%%%%%%%%%@@@@@@@
@@@@@@@@@@@@@@@@@@@@+%#**+*+:=#%%@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@+@@@@#@*-+#@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@*@@@@@@%=+*###%@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@%#*++#%##*+=:.:.*@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@*:.....-=...:.. .+@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@=:......:.....:...::=#@@@@@@@@@@@@@
@@@@@@@@@@@@@@@*+--:.::::::..:---=+--+%@@@@@@@@@@@
@@@@@@@@@@@@@@%-=+#+.........:-*##+----%@@@@@@@@@@
@@@@@@@@@@@@@@=::-++..........:=*%@+=-:=@@@@@@@@@@
@@@@@@@@@@@@@%:..:#+..........:-++%#-::-%@@@@@@@@@
@@@@@@@@@@@@@+ .-%=..........:=+=*@:..:%@@@@@@@@@
@@@@@@@@@@@@@: .*%%#***********=-*@:..-@@@@@@@@@@
@@@@@@@@@@@@@: .=%%=-::-++#*-:.::.*@:.:=@@@@@@@@@@
@@@@@@@@@@@@*. -%%#::...::-:..::-=+@=.:+@@@@@@@@@@
@@@@@@@@@@@@+-=-%%+.....::-::::::=#%-::=%@@@@@@@@@
@@@@@@@%%##**++=%@= .-: ..+%@@%%%@@@@@@@@@@
**+=--:--===+++:#@= :+= .+@@@@@@@@@@@@@@@@
**#%%%@@@@%%%%%:#@= -@+ :*@@@@@@@@@@@@@@@@
@@@@@@@@%%%%%%%:#@= -@* :#@@@@@@@@@@@@@@@@
@@@@@%%%%#**++=:#@# .-@%.....:#@@@@@@@@@@@@@@@@
#*++=-:::---===*%%#. :+@.....:*@%@@@@%%%%@@@@@@
This script is designed for data analysis and visualization using Python. It leverages various libraries such as pandas, matplotlib, seaborn, and an API client for LLM (Large Language Model) interactions to generate insights and visualizations from datasets.
- Python version: >= 3.8
- Required libraries:
requests >= 2.28.0pandas >= 1.5.0matplotlib >= 3.5.0seaborn >= 0.12.0numpy >= 1.21.0rich >= 12.0.0scipy >= 1.9.0scikit-learn >= 1.0.0
-
Install Python: Ensure you have Python 3.8 or higher installed on your machine.
-
Install Required Libraries: You can install the required libraries using pip:
uv pip install requests pandas matplotlib seaborn numpy rich scipy scikit-learn
-
Set Environment Variable: Set the
AIPROXY_TOKENenvironment variable with your API token for the LLM service. This is necessary for the script to function correctly.On Linux/Mac:
export AIPROXY_TOKEN='your_token_here'
On Windows:
set AIPROXY_TOKEN='your_token_here'
To run the script, use the following command in your terminal:
uv run autolysis *.csv