Laod LLM templates from GitHub repositories
Project description
llm-templates-github
Load LLM templates from GitHub repositories
Installation
Install this plugin in the same environment as LLM.
llm install llm-templates-github
Usage
To use the template from templatename.yaml in the https://github.com/username/llm-templates repo:
llm -t gh:username/templatename
e.g. to try this summarize.yaml template:
curl -L https://llm.datasette.io/ | llm -t gh:simonw/summarize
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-templates-github
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_templates_github-0.1.tar.gz.
File metadata
- Download URL: llm_templates_github-0.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
392e3aa25f239c43746b74a8d7770879af468e713378423ad1738204bbd7456e
|
|
| MD5 |
74cf383eb4eb7e0b578a1c6754354171
|
|
| BLAKE2b-256 |
b6254d1a44a9572ef3d2494bc0bd39a2e5d558a74bd0664f9687c1f899bb26e2
|
Provenance
The following attestation bundles were made for llm_templates_github-0.1.tar.gz:
Publisher:
publish.yml on simonw/llm-templates-github
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_templates_github-0.1.tar.gz -
Subject digest:
392e3aa25f239c43746b74a8d7770879af468e713378423ad1738204bbd7456e - Sigstore transparency entry: 193357245
- Sigstore integration time:
-
Permalink:
simonw/llm-templates-github@147bedbac61c74a8fbe84aef02a4505ff3c32343 -
Branch / Tag:
refs/tags/0.1 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@147bedbac61c74a8fbe84aef02a4505ff3c32343 -
Trigger Event:
release
-
Statement type:
File details
Details for the file llm_templates_github-0.1-py3-none-any.whl.
File metadata
- Download URL: llm_templates_github-0.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8f98d3d04456632e2bffbfbe82dbf331ac26cedaaa31b040bb800dbb5d6d936
|
|
| MD5 |
d7eab36363d670bf6859871cdae71ba3
|
|
| BLAKE2b-256 |
2ca293ac5d00e54d6c52f8048666b3eaa9adb4c284397c1fc4d217229729823a
|
Provenance
The following attestation bundles were made for llm_templates_github-0.1-py3-none-any.whl:
Publisher:
publish.yml on simonw/llm-templates-github
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_templates_github-0.1-py3-none-any.whl -
Subject digest:
f8f98d3d04456632e2bffbfbe82dbf331ac26cedaaa31b040bb800dbb5d6d936 - Sigstore transparency entry: 193357251
- Sigstore integration time:
-
Permalink:
simonw/llm-templates-github@147bedbac61c74a8fbe84aef02a4505ff3c32343 -
Branch / Tag:
refs/tags/0.1 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@147bedbac61c74a8fbe84aef02a4505ff3c32343 -
Trigger Event:
release
-
Statement type: