Skip to main content

python code executor tool that takes fuzzy input text to extract and execute code designed for LLM applications

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_code_executor-0.4.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_code_executor-0.4.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file llm_code_executor-0.4.0.tar.gz.

File metadata

  • Download URL: llm_code_executor-0.4.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.26

File hashes

Hashes for llm_code_executor-0.4.0.tar.gz
Algorithm Hash digest
SHA256 5bb4930879a34aa112b705c9e6d30ee146b75b5ab69513574e0cd46362dc8180
MD5 8177ae62d6eaff4c41320644fb271fff
BLAKE2b-256 eecf97350b08b2b723cbb9b12c7321389b941f42c7018c62185763f6647c22b9

See more details on using hashes here.

File details

Details for the file llm_code_executor-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_code_executor-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63fe7cca0e549190301761cb3c655ef3a44eef5753d5a760684e219b8c697833
MD5 f03640e10c31541bf4ffa032e414ecf0
BLAKE2b-256 03a80dbe6b630eb7a4181930d3aefb451a1356d398f69ab0588a403460b9427e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page