Gremllm is an unusual Python class in which all methods and properties are created dynamically using LLM. You describe, *what kind of object do you want *, and then Gremllm decides what should happen when the methods are called or the fields are addressed.
pip install gremllm
🔧 Example:
from gremllm import Gremllm
counter = Gremllm('counter')
counter.value = 5
counter.increment()
print(counter.value) # → 6?
print(counter.to_roman_numerals()) # → VI?
- dynamic behavior: everything is determined "on the fly" using LLM
- Support Openai, Claude, Gemini, and local models
- Wet Mode: You can build challenges of calls (methods return objects)
- Verbose Mode: Bodes which code was generated
- smart processing of errors and setting through inheritance
#پایتون #Python
Please open Telegram to view this post
VIEW IN TELEGRAM