kitchenowl-python

December 30, 2024 ยท View on GitHub

A simple wrapper around the KitchenOwl API.

This is a small python package to be used as a wrapper for the KitchenOwl API in python.

Currently, there is only support for managing shopping list items.

Installation

python -m venv .venv
source .venv/bin/activate
pip install -e .

Installs all required dependencies.

Usage

from aiohttp import ClientSession
from kitchenowl_python.kitchenowl import KitchenOwl

async with ClientSession() as session:
    kitchenowl = KitchenOwl(session=session, url=url, token=token)
    await kitchenowl.test_connection()

Development

Run tests

source .venv/bin/activate
pip install -e .\[test\]
pytest .