Metadata-Version: 2.1
Name: ollama-bar
Version: 0.1.1
Summary: Macos status bar app that allows you to start/stop/view ollama from the menu bar.
License: Apache-2.0
Project-URL: Source, https://github.com/IBM/ollama-bar
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: rumps<0.5.0,>=0.4.0
Provides-Extra: dev-test
Requires-Dist: pytest>=6; extra == "dev-test"
Requires-Dist: pytest-cov>=2.10.1; extra == "dev-test"
Requires-Dist: pytest-timeout<3,>=2.1.0; extra == "dev-test"
Requires-Dist: dill<0.4,>=0.3.4; extra == "dev-test"
Requires-Dist: Flask<4,>=2.3; extra == "dev-test"
Provides-Extra: dev-fmt
Requires-Dist: pre-commit<4.0,>=3.0.4; extra == "dev-fmt"
Requires-Dist: ruff==0.4.10; extra == "dev-fmt"
Provides-Extra: dev-build
Requires-Dist: setuptools>=60; extra == "dev-build"
Requires-Dist: setuptools-scm>=8.0; extra == "dev-build"
Requires-Dist: py2app<0.29,>=0.28.8; extra == "dev-build"
Provides-Extra: dev
Requires-Dist: ollama_bar[dev-build,dev-fmt,dev-test]; extra == "dev"

# Ollama Bar

This is a simple macOS status bar that allows you to start/stop/view [ollama](https://ollama.com/) from the menu bar.

**NOTICE**: This project is not directly affiliated with Ollama and is provided as-is as a convenience for managing the ollama server process from the menu bar.

## Prerequisites

First and foremost, you need to have ollama installed on your machine. You can download it from [ollama.com](https://ollama.com/) of use [homebrew](https://brew.sh/) to install it:

```sh
brew install ollama
```

This project is based on [rumps](https://github.com/jaredks/rumps) and uses python to build and run the app. It is highly recommended that you use a python version manager like [pyenv](https://github.com/pyenv/pyenv) or [conda](https://github.com/conda-forge/miniforge) to manage your python versions.

In a clean python environment, you can do an editable install of the project and dependencies with pip:

```sh
pip install -e ".[dev]"
```

## Installation

The app can be installed with a single `make install-app` command. This will create a new application bundle in `/Applications/ollama-bar.app`.

## Running the tests

To run all tests, use:

```
make test
```

You can also run [scripts/run_tests.sh](scripts/run_tests.sh) directly with additional `pytest` args to control which tests are run.
