Metadata-Version: 2.1
Name: ollama_manager
Version: 0.0.4
Summary: Manage Ollama models from your commandline!
Author: Yankee Maharjan
Project-URL: Repository, https://github.com/yankeexe/ollama-manager
Keywords: ollama,ollama cli,ollama python,ollama manager
Classifier: Programming Language :: Python :: 3.11
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 3 - Alpha
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4==4.12.3
Requires-Dist: click==8.1.7
Requires-Dist: ollama==0.3.3
Requires-Dist: requests==2.32.3
Requires-Dist: simple-term-menu==1.6.4
Requires-Dist: textual==0.86.3
Provides-Extra: dev
Requires-Dist: ruff==0.7.4; extra == "dev"
Provides-Extra: ui
Requires-Dist: streamlit==1.40.2; extra == "ui"

# 🦙 Ollama Manager [WIP]

![Python Version](https://img.shields.io/badge/Python-3.11-brightgreen?style=flat-square)

CLI app to manage Ollama models.

<a href="https://youtu.be/1y2TohQdNbo">
<img src="https://i.imgur.com/iA0LB0e.gif" width="800">
</a>

## ⚡️ Features

- List and Download Remote models from [Ollama library](https://ollama.dev/models)
- Delete existing Ollama models
- Launch models in Streamlit UI
- Fuzzy Search


## 🚀 Installation

```sh
pip install ollama-manager
```

For development: installs app in editable mode

```sh
make setup
```

## ✨ Usage

### Pull Remote Model

```sh
olm pull
```

### Delete Local Model/s

Delete a single model

```sh
olm rm
```

Delete multiple models

```sh
olm rm -m
```

### Run models on the Streamlit UI

<details>
<summary>Ollama Manager UI</summary>

<img src="https://i.imgur.com/UqQLjXx.gif" width="800" />
</details>

Running models on Streamlit UI is a beta feature.

⚠️ Only text-based models are supported right now.

You need to install optional dependencies for this:

```sh
pip install ollama-manager[ui]
```

then use the following command to select the model:

```sh
olm run
```

## Getting Help

```sh
olm --help

olm <sub-command> --help
```
