LLM Python Executor Tool

What's llm-code-executor?
llm-code-executor is a python package works as a tool to support GenAI agents to execute python code and provide answers directly to the user.
Installation:
Ensure you have Python >=3.10 installed on your system, llm_code_executor uses UV for dependency management and package handling.
First Install it
pip install llm-code-executor
Examples:
check this example that uses Qwen2.5-coder-32B text generation to extract, install, and execute the code.
License:
llm-code-executor is under MIT-License
Contribution:
llm-code-executor is open-source and we welcome contributions. If you're looking to contribute, please:
- Fork the repository.
- Create a new branch for your feature.
- Add your feature or improvement.
- Send a pull request.
- We appreciate your input!