Skip to main content

Add your description here

Project description

orun-py

A Python CLI wrapper for interacting with local LLMs via Ollama, featuring built-in support for analyzing screenshots and conversation history.

Features

  • Quick AI Queries: Send prompts to your local LLMs directly from the terminal.
  • Screenshot Analysis: Automatically detect and attach the most recent screenshots from your user Pictures folder to your query.
  • Chat Mode: Maintain a continuous conversation session.
  • Conversation History: All conversations are saved locally and can be continued later.
  • Model Management: Easily switch between different configured Ollama models using aliases.

Installation

pip install orun-py

Usage

Basic Query

orun "Why is the sky blue?"

Analyze Screenshots

By default, the -i flag grabs the most recent screenshot.

orun "What is this error?" -i

Analyze the last 3 screenshots:

orun "Compare these images" -i 3x

Select specific screenshots by index (1 is the newest):

orun "Look at the first and third image" -i 1 3

Chat Mode

Start an interactive session:

orun --chat

Start chat with an initial prompt and image:

orun "Help me debug this" -i --chat

Select Model

Use a specific model alias:

orun "Write python code" -m coder

List available models:

orun models

Conversation History

List recent conversations:

orun history

Continue a conversation by ID:

orun c 1

Continue the last conversation:

orun last

Requirements

  • Python 3.12+
  • Ollama running locally

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

orun_py-1.0.5.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

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

orun_py-1.0.5-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file orun_py-1.0.5.tar.gz.

File metadata

  • Download URL: orun_py-1.0.5.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for orun_py-1.0.5.tar.gz
Algorithm Hash digest
SHA256 b03e53a5c8bffc5eee0e574c0158a1e5aa70d9d63cf8572f99592655ba5cddce
MD5 ebf29e629de2e5e151ed4760540e02b3
BLAKE2b-256 c059134f81c020c6ffaea2c2ca0c3f4a81937702a9670a29285865ec798357b6

See more details on using hashes here.

File details

Details for the file orun_py-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: orun_py-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for orun_py-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a39a5dd46a4b61152a1f3f7fcc2e32e2266a65557485a2acf51c5089a5b4632d
MD5 f15193ddd9dc9f15004d5e54bc096ed5
BLAKE2b-256 ccfc20c1ef667578922a4b929ac369c69eb8595dde9b9fc34ae13be0325ca3f1

See more details on using hashes here.

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