← all repositories

Mattie/cataclysm

A Python library that intercepts undefined function calls and uses GPT-4 to generate code implementations on the fly.

408 stars Python Coding Assistants
cataclysm
Velocity · 7d
+0.3
★ / day
Trend
steady
star history

Cataclysm is a code generation library that leverages OpenAI’s GPT-4 to automatically write function implementations based on descriptive names, arguments, and optional comments. When initialized with consume(globals()), the library intercepts any unrecognized function call and queries the LLM to generate working Python code in real time. It requires an OpenAI API key and supports configuration via environment variables or an init command.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.