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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orun_py-1.0.4.tar.gz.
File metadata
- Download URL: orun_py-1.0.4.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
faf596b05e0cc7907bbb4b8995883ca68fcb1a06c5c885cd88f99a727effcabc
|
|
| MD5 |
9e87aea3a2c0b191fa0f170bd91d1e1c
|
|
| BLAKE2b-256 |
61302fbe6fb56501ea81a97a90cdd70e84f31f3761b9d1876523bcd2a7ac928a
|
File details
Details for the file orun_py-1.0.4-py3-none-any.whl.
File metadata
- Download URL: orun_py-1.0.4-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4037b0548a75c66f56da6750320edbab3ba4fcd103ec04168319d02fc2c7e779
|
|
| MD5 |
7cc1b55e49a3cee65267b7487eb763b3
|
|
| BLAKE2b-256 |
31d9a662ed0b80fadbb49916a395763c2df3568d65c11a538b9a3d2866f04b49
|