semvec/pypi-packages huggingface dataset:
llm-code-executor 0.4.0
python code executor tool that takes fuzzy input text to extract and execute code designed for LLM applications
Requires Python: >=3.10

# 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!