A sarcastic and secure GPT-powered Python code roaster.
Project description
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.
Features
- 🔐 Static analysis of security risks (eval, exec, secrets, etc.)
- 🧠 Obfuscation detection (AST + regex)
- 🤖 GPT-powered roasting with tone and verbosity controls
- 🎭 Choose a voice: Colbert, Trump, Clarkson, Bill Burr, etc.
- 🧪 Includes unit tests and redaction logic
- 📤 Output as Markdown or plain text
Usage
code-roast your_script.py --roast-level 7 --voice billburr --verbosity 3
You can also pipe code in via stdin or scan multiple files.
License
BSD 3-Clause License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file code_roast_bot-1.4.0.tar.gz.
File metadata
- Download URL: code_roast_bot-1.4.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f790a122f7097fc3cd91525b6887d105243cd852bedc36d276301850db011af
|
|
| MD5 |
d4121dc6c663c19b7dd9a272cf6a475e
|
|
| BLAKE2b-256 |
7b4fd6820ef6d78b703c9203f2db1fe1ec864a797e0aba2bba26ff682247279b
|
File details
Details for the file code_roast_bot-1.4.0-py3-none-any.whl.
File metadata
- Download URL: code_roast_bot-1.4.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba6ba850c74e24ef8cb23bab1f85a2a388ad6c213c50ff817f6885a16cdcee9a
|
|
| MD5 |
e7948c8147888dc14a937fea3a616b2f
|
|
| BLAKE2b-256 |
9a870d9e97c29c4035d185d5c2a5e570fc6e060cd6873cff971849f492fb1f2d
|