Metadata-Version: 2.1
Name: llm-code-executor
Version: 0.3.1
Summary: python code executor tool that takes fuzzy input text to extract and execute code designed for LLM applications
Author-email: Ezzeldeen Mamdouh <ezzaldin_mamdouh_seddik@hotmail.com>
Project-URL: Repository, https://github.com/Ezzaldin97/llm_pyexecutor
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: astor>0.8.0
Requires-Dist: loguru>=0.7.2
Provides-Extra: huggingface
Requires-Dist: huggingface-hub>=0.26.1; extra == "huggingface"
Requires-Dist: python-dotenv>=1.0.1; extra == "huggingface"

# LLM Python Executor Tool

![](imgs/logo.jpg)

## 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](https://docs.astral.sh/uv/) for dependency management and package handling.

First Install it

```bash
pip install llm-code-executor
```

## Examples:

check this [example](examples/code_executor_with_qwen2.5-coder32B.ipynb) that uses Qwen2.5-coder-32B text generation to extract, install, and execute the code.

## License:

llm-code-executor is under [MIT-License](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!
