Skip to main content

llm-llamafile

PyPI Changelog Tests License

Access llamafile localhost models via LLM

Installation

Install this plugin in the same environment as LLM.

llm install llm-llamafile

Usage

Make sure you have a llamafile running on localhost, serving an OpenAI compatible API endpoint on port 8080.

You can then use llm to interact with that model like so:

llm -m llamafile "3 neat characteristics of a pelican"

Development

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

cd llm-llamafile
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

pytest

Metadata

Release files for llm-llamafile 0.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-llamafile 0.1
File Size Uploaded Provenance Actions
llm_llamafile-0.1.tar.gz 6.2 kB Without provenance Details for llm_llamafile-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llm-llamafile 0.1
File Interpreter ABI Platform Actions
llm_llamafile-0.1-py3-none-any.whl Python 3 none any Details for llm_llamafile-0.1-py3-none-any.whl

Total release size: 12.8 kB

Release files / llm_llamafile-0.1.tar.gz

Download URL llm_llamafile-0.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e7fee71cac12f1b3230b47f1aa15e8872c8efd764ac886a90a20ab11e72e7549
BLAKE2b-256 checksum
How to use checksums
cb911b7e844fddccd7e1b03ffecb2bfd70bb2eca0383d19604df21015cded932
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / llm_llamafile-0.1-py3-none-any.whl

Download URL llm_llamafile-0.1-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85feab4b87c24f060a920101c1700a7fb00ea8b9b6b0ee9bf423c8e83286e5e2
BLAKE2b-256 checksum
How to use checksums
11cd500b8c2ecf640ca13178ceebfb1de6576b4ee642022b7c41634e4dde0a44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Security for llm-llamafile 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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