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.

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.
  • Model Management: Easily switch between different configured Ollama models using aliases.

Installation

pip install orun-py

Usage

The main command is orun.

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 (configured in orun/main.py):

orun "Write python code" -m coder

List available models:

orun --list-models

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.1.tar.gz (13.4 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.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for orun_py-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8d2973bd6e4abbb6dda5a4c819a2fb214a5502f3495518726040814fb3d86447
MD5 ad7cc50639e39087f8115a2a4bdf51f7
BLAKE2b-256 7b856bae51f5271838dcee310d25cd5ab40603a5cd7bd71a18d9850afc6e5816

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for orun_py-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2925e14145a3db182735ac7e0c76bc7b740d51917f7ab534bad0873410a8022f
MD5 c07856c78ee9e981a0328e28e2d08df6
BLAKE2b-256 eda3a6bd37461c5ac5db70efabc4d811f16fe39bd66d45bc69ceeee54ec60ad7

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