llm-rename


Namellm-rename JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
SummaryAn `llm` plugin to assist with renameutils qcp/qmv commands.
upload_time2024-08-12 04:30:50
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseMIT License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # llm-rename

Small [`llm`](https://llm.datasette.io/) 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`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llm-rename",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Yaniv Aknin <yaniv@aknin.name>",
    "download_url": "https://files.pythonhosted.org/packages/d3/33/94315f812ca7da614ee4f75ddefbd5465fa66805f966ae623fa759a4e14e/llm_rename-1.0.1.tar.gz",
    "platform": null,
    "description": "# llm-rename\n\nSmall [`llm`](https://llm.datasette.io/) plugin designed to assist with `qcp`/`qmv` execution plans.\n\nOnce you install the plugin, you can run `qmv --editor 'llm rename'` and it will -\n\n- Append a default prompt to the plan\n- Open `$EDITOR` to let you change the plan/prompt\n- Use `llm` to ask an LLM to mutate the plan using the prompt\n- Deliver the mutated plan back to `qcp`/`qmv`\n\nNote you can add `-E`/`--edit-after` to review and change the plan after the LLM edited it.\n\nIf you editor is `vim`, you can always exit non-zero (using `:cq`), which will allow you to abort\nany `qcp`/`qmv` changes.\n\n# Installation\n\nAfter you installed `llm` itself (e.g., `pipx install llm`), use:\n\n`llm install llm-rename`\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "An `llm` plugin to assist with renameutils qcp/qmv commands.",
    "version": "1.0.1",
    "project_urls": {
        "homepage": "https://github.com/yaniv-aknin/llm-rename"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ed54709e900b5e1fed6d080a8a735bd43fa5dddb96eec7bf3807db16652a62e0",
                "md5": "2177478372f2fbf49d5234bb8d643431",
                "sha256": "8cfc725baa49bf6dcef168c027e5fa63b20999d168b1f50739573c0afc81fa22"
            },
            "downloads": -1,
            "filename": "llm_rename-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2177478372f2fbf49d5234bb8d643431",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4182,
            "upload_time": "2024-08-12T04:30:48",
            "upload_time_iso_8601": "2024-08-12T04:30:48.790168Z",
            "url": "https://files.pythonhosted.org/packages/ed/54/709e900b5e1fed6d080a8a735bd43fa5dddb96eec7bf3807db16652a62e0/llm_rename-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d33394315f812ca7da614ee4f75ddefbd5465fa66805f966ae623fa759a4e14e",
                "md5": "e888ec4a637e56ba71309d56ed4ad8c0",
                "sha256": "0b495f3d2068ee257ca426c28ea3f9e8528a783f348c1041e0f025c4319a2931"
            },
            "downloads": -1,
            "filename": "llm_rename-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e888ec4a637e56ba71309d56ed4ad8c0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3812,
            "upload_time": "2024-08-12T04:30:50",
            "upload_time_iso_8601": "2024-08-12T04:30:50.206569Z",
            "url": "https://files.pythonhosted.org/packages/d3/33/94315f812ca7da614ee4f75ddefbd5465fa66805f966ae623fa759a4e14e/llm_rename-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-12 04:30:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yaniv-aknin",
    "github_project": "llm-rename",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "llm-rename"
}
        
Elapsed time: 0.40739s