Skip to main content

An `llm` plugin to assist with renameutils qcp/qmv commands.

Project description

llm-rename

Small llm plugin designed to assist with qcp/qmv execution plans.

Once you install the plugin, you can run qmv --editor 'llm rename' and it will -

  • Append a default prompt to the plan
  • Open $EDITOR to let you change the plan/prompt
  • Use llm to ask an LLM to mutate the plan using the prompt
  • Deliver the mutated plan back to qcp/qmv

Note you can add -E/--edit-after to review and change the plan after the LLM edited it.

If you editor is vim, you can always exit non-zero (using :cq), which will allow you to abort any qcp/qmv changes.

Installation

After you installed llm itself (e.g., pipx install llm), use:

llm install llm-rename

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_rename-1.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

llm_rename-1.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file llm_rename-1.0.1.tar.gz.

File metadata

  • Download URL: llm_rename-1.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for llm_rename-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0b495f3d2068ee257ca426c28ea3f9e8528a783f348c1041e0f025c4319a2931
MD5 e888ec4a637e56ba71309d56ed4ad8c0
BLAKE2b-256 d33394315f812ca7da614ee4f75ddefbd5465fa66805f966ae623fa759a4e14e

See more details on using hashes here.

File details

Details for the file llm_rename-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: llm_rename-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for llm_rename-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8cfc725baa49bf6dcef168c027e5fa63b20999d168b1f50739573c0afc81fa22
MD5 2177478372f2fbf49d5234bb8d643431
BLAKE2b-256 ed54709e900b5e1fed6d080a8a735bd43fa5dddb96eec7bf3807db16652a62e0

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