Skip to main content

Simple CLI runner for Ollama (LLM) models

Project description

RunLlama

Simple CLI tool for Ollama (LLM) models.

License PyPI - Python Version PyPI Version

Installation

Install via pip:

pip install runllama

Or with Poetry:

poetry add runllama

Run the CLI:

runllama --help

For Development

Build and run ollama server docker container

docker build -t runllama .
docker run -d -p 11434:11434 -v ollama:/app/.ollama --name runllama runllama 

Install dependencies

poetry install
poetry shell

Run Python script

python src/main.py --help

Testing

Before running Pytest, ensure the ollama server is running on port 11434.

pytest -v -s tests/test_*

License

The source code is licensed under the MIT License (see LICENSE).

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

runllama-0.2.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

runllama-0.2.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file runllama-0.2.0.tar.gz.

File metadata

  • Download URL: runllama-0.2.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for runllama-0.2.0.tar.gz
Algorithm Hash digest
SHA256 94673de124fb4fb622790db9b5ab02a2c1aa0c1dda65539f2aebfd55ed768a3c
MD5 267bcb2ac95f38fdb10d5075a84b0444
BLAKE2b-256 34e408d0e6af5138a7932145cf8b7a66155e5b89faaa23c7f25b2c08f17efafa

See more details on using hashes here.

Provenance

The following attestation bundles were made for runllama-0.2.0.tar.gz:

Publisher: publish.yml on believemanasseh/RunLlama

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file runllama-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: runllama-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for runllama-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48662d75c623d299e6d50d0b59bc2155fc7effdcf3f4362c99343e997d037988
MD5 43101f3e2b0f738d5dcbb17645849f8b
BLAKE2b-256 4cc6d22fb4763c64f4ac271e5c47520b7d93971d63594cc5f9565949826e5694

See more details on using hashes here.

Provenance

The following attestation bundles were made for runllama-0.2.0-py3-none-any.whl:

Publisher: publish.yml on believemanasseh/RunLlama

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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page