Skip to main content

LLM utilities for handling inputs and outputs.

Project description

README

llm-wrangler is a CLI utility to generate the code structure from the output of llm-generated content.

Installation

pip install llm-wrangler

Usage

  • use an LLM to generate code snippets (which may be scoped across multiple modules)

  • convert those code snippets into a suitable output format using llm-wrangler prompt

  • save the output to a temp file (e.g. llm_output.txt)

  • scaffold the code structure in your local dev environment using llm-wrangler scaffold-output llm_output.txt output_folder

  • run with uv:

uv tool run llm-wrangler prompt
uv tool run llm-wrangler scaffold-output llm_output.txt output_folder

Development

  • to publish to pypi, configure token:
poetry config pypi-token.pypi ...

Future Scope

  • integrate file marker templates
  • integrate cookiecutter templates to conform project structure
  • integrate direct access to LLM API's (remove reliance on web interfaces and temp files)
  • ability to install dependencies needed for the environment (e.g. by loading requirements.txt)
  • ability to create a git repository from the scaffolded output
  • ability to create a github repository from the scaffolded output
  • ability to publish the scaffolded output to a pypi repository (if it is a python package)
  • ability to reference the input content as either a file path, a URL path, or the clipboard content

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_wrangler-0.4.0.tar.gz (4.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_wrangler-0.4.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_wrangler-0.4.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.7 Windows/10

File hashes

Hashes for llm_wrangler-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c098aba4f8a97d29e1b20a6f220e31741fa07cbeecb8c4fc2a8caf615d00d823
MD5 ae7558189f72d2e8fa2aac28a88a7258
BLAKE2b-256 6d533bae5c9e139ff430615815fef44bc5c599ee6137d32bfb42d2b4ba1440e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llm_wrangler-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.7 Windows/10

File hashes

Hashes for llm_wrangler-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 064e27f779a9f9a9a20bcaab51a348cdec9fa252f146b0ef104d8ea5036fb996
MD5 b98491ae5d15cc6e3d57f98e38377c9c
BLAKE2b-256 da7e33e1de898ba659bbcd9bc0a0c28a45df047d62a9903f8807f74236b86284

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