Skip to main content

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!

Metadata

Release files for llm-code-executor 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-code-executor 0.4.0
File Size Uploaded Provenance Actions
llm_code_executor-0.4.0.tar.gz 12.5 kB Without provenance Details for llm_code_executor-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llm-code-executor 0.4.0
File Interpreter ABI Platform Actions
llm_code_executor-0.4.0-py3-none-any.whl Python 3 none any Details for llm_code_executor-0.4.0-py3-none-any.whl

Total release size: 28.4 kB

Release files / llm_code_executor-0.4.0.tar.gz

Download URL llm_code_executor-0.4.0.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5bb4930879a34aa112b705c9e6d30ee146b75b5ab69513574e0cd46362dc8180
BLAKE2b-256 checksum
How to use checksums
eecf97350b08b2b723cbb9b12c7321389b941f42c7018c62185763f6647c22b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.4.26

Release files / llm_code_executor-0.4.0-py3-none-any.whl

Download URL llm_code_executor-0.4.0-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63fe7cca0e549190301761cb3c655ef3a44eef5753d5a760684e219b8c697833
BLAKE2b-256 checksum
How to use checksums
03a80dbe6b630eb7a4181930d3aefb451a1356d398f69ab0588a403460b9427e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.4.26

Security for llm-code-executor 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page