Skip to main content

wrapper for cased-kit's code analysis toolset

Project description

llm-tools-kit

PyPI Changelog Tests License

wrapper for cased-kit's code analysis toolset

Installation

Install this plugin in the same environment as LLM.

llm install llm-tools-kit

Usage

To use this with the LLM command-line tool:

llm --tool example_hello "Example prompt goes here" --tools-debug

With the LLM Python API:

import llm
from llm_tools_kit import example_hello

model = llm.get_model("gpt-4.1-mini")

result = model.chain(
    "Example prompt goes here",
    tools=[example_hello]
).text()

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-tools-kit
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

python -m pytest

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

llm_tools_kit-0.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

llm_tools_kit-0.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file llm_tools_kit-0.1.tar.gz.

File metadata

  • Download URL: llm_tools_kit-0.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llm_tools_kit-0.1.tar.gz
Algorithm Hash digest
SHA256 f6815140aa41dfb80e85276b7d61a5039c770c77e26a70cbacb44421da7c5ebd
MD5 18f6c4d33be861e4b167697289a1823b
BLAKE2b-256 10f94e0f695f6201ff5d78ec286695586234a4105a65214f37b7e4cb3f12c5e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_tools_kit-0.1.tar.gz:

Publisher: publish.yml on kgruel/llm-tools-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_tools_kit-0.1-py3-none-any.whl.

File metadata

  • Download URL: llm_tools_kit-0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llm_tools_kit-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 61b57cea6a757170392eab8842e31755246ec7beed915f8bb03443aa66681ff9
MD5 4d9213941eb23ae5edc9bef89d918177
BLAKE2b-256 6ed41da4496a7975cbd6de244315ea895e63618d2fd72fe4715342ff6e3d4c3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_tools_kit-0.1-py3-none-any.whl:

Publisher: publish.yml on kgruel/llm-tools-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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