https://github.com/enzodevs/aiarena-draw
https://github.com/enzodevs/aiarena-draw
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/enzodevs/aiarena-draw
- Owner: enzodevs
- Created: 2025-03-01T22:28:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-01T22:51:17.000Z (over 1 year ago)
- Last Synced: 2025-03-01T23:26:01.567Z (over 1 year ago)
- Language: Python
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aiarena-draw
## Overview
This project uses the DeepSeek API to generate a winner from a list of usernames stored in a CSV file.
## Features
* Reads usernames from `followers/`.
* Utilizes the DeepSeek API to select a winner.
* Outputs the selected winner.
## Setup
1. **Clone the repository:**
```bash
git clone
```
2. **Install dependencies:**
```bash
pip install openai python-dotenv pandas
```
3. **Set up your environment variables:**
* Create a `.env` file in the project root.
* Create a `followers/` folder in the project root and add your data csv files.
* Add your DeepSeek API key:
```
DEEPSEEK_API_KEY=YOUR_API_KEY
```
## Usage
1. **Ensure `followers/data.csv` exists and contains a `username` column.**
2. **Run the `main.py` script:**
```bash
python main.py
```
## Author
Enzo Cambraia