Skip to main content

llm-filesystem

PyPI Changelog Tests License

Load LLM templates from the local filesystem

Installation

Install this plugin in the same environment as LLM.

llm install llm-filesystem

Usage

To use a template from the local filesystem:

llm -t file:/path/to/template.yaml

The plugin supports using ~ for home directory paths:

llm -t file:~/templates/my-template.yaml

Templates should be in YAML format, either as:

  • A simple string (which becomes the prompt)
  • A structured YAML with additional template properties

Example template:

# Simple example - just the prompt
"Summarize the following text in three bullet points: {{input}}"

Or with more options:

system: You are a helpful AI assistant.
prompt: |
  Summarize the following text:
  
  {{input}}
model: gpt-4
temperature: 0.7

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-filesystem
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Metadata

Release files for llm-filesystem 2025.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-filesystem 2025.4.1
File Size Uploaded
llm_filesystem-2025.4.1.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-filesystem 2025.4.1
File Interpreter ABI Platform
llm_filesystem-2025.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / llm_filesystem-2025.4.1.tar.gz

Download URL llm_filesystem-2025.4.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b783aaece79ba75e8501a223f624733ab1bbc56b27de671c765dc748f902dbe3
BLAKE2b-256 checksum
How to use checksums
e49a52e59e53a06a3057b0fb0ac36b63aa830ce1f5e781e7a07f86737a573d38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.13

Release files / llm_filesystem-2025.4.1-py3-none-any.whl

Download URL llm_filesystem-2025.4.1-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ba6ba551a911d1f8454f4d14bc4618604e692119035729067d77ceaf5b0f416
BLAKE2b-256 checksum
How to use checksums
501669b66d2ed419ea04fbd78ca7d276dafc6ae27be48834b7baffdf7677da83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.13

Release history Release notifications | RSS feed

This release

2025.4.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page