Metadata-Version: 2.4
Name: code_roast_bot
Version: 1.6.0
Summary: A sarcastic and secure GPT-powered Python code roaster.
Home-page: https://github.com/yourusername/code-roast-bot
Author: Benjamin Lyon
Author-email: blyon@mindtunnel.net
License: BSD-3-Clause
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: BSD License
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Security
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openai==1.78.1
Requires-Dist: python-dotenv==1.0.1
Requires-Dist: tiktoken==0.9.0
Requires-Dist: tenacity==9.1.2
Requires-Dist: colorama==0.4.6
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

![Python](https://img.shields.io/badge/python-3.8%2B-blue)
![License](https://img.shields.io/badge/license-BSD--3--Clause-green)
![Security Audited](https://img.shields.io/badge/security-a%2B-brightgreen)

# Code Roast Bot

Code Roast Bot is a terminal tool that humorously and securely roasts your Python code using GPT-4. It detects security red flags, hardcoded secrets, and code crimes — then flames them with sarcasm and style.


# 🔐 Environment Configuration (`.env`)

To authenticate with the OpenAI API, `code-roast-bot` uses a `.env` file to load your API key securely.

## 📄 `.env` File Format

Create a file named `.env` in the root of your project directory and add the following line:

```
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```

Replace `sk-xxxxxxxx...` with your actual API key from https://platform.openai.com/account/api-keys.

## 🔒 Important Notes

- **Do not commit your `.env` file** to version control (this project includes a `.gitignore` that ignores it).
- **Never share your API key** publicly — it grants access to your account's usage and billing.


## 📦 Global Configuration

You may place your `.env` file in your **home directory** to apply it globally:
```
~/.env        # macOS/Linux
C:\Users\yourname\.env  # Windows
```
This is supported by default in the latest version of Code Roast Bot.
