Skip to main content

Laod LLM templates from GitHub repositories

Project description

llm-templates-github

PyPI Changelog Tests License

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


Download files

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

Source Distribution

llm_templates_github-0.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

llm_templates_github-0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

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

Hashes for llm_templates_github-0.1.tar.gz
Algorithm Hash digest
SHA256 392e3aa25f239c43746b74a8d7770879af468e713378423ad1738204bbd7456e
MD5 74cf383eb4eb7e0b578a1c6754354171
BLAKE2b-256 b6254d1a44a9572ef3d2494bc0bd39a2e5d558a74bd0664f9687c1f899bb26e2

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on simonw/llm-templates-github

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_templates_github-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_templates_github-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8f98d3d04456632e2bffbfbe82dbf331ac26cedaaa31b040bb800dbb5d6d936
MD5 d7eab36363d670bf6859871cdae71ba3
BLAKE2b-256 2ca293ac5d00e54d6c52f8048666b3eaa9adb4c284397c1fc4d217229729823a

See more details on using hashes here.

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

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