A simple Python SDK around the Lunch Money Developer API
Project description
lunchable
lunchable is a Python Client for the Lunch Money Developer API. It's built on top of pydantic and httpx, it offers an intuitive API, a simple CLI, complete coverage of all endpoints, and plugins to other external services.
Installation
pip install lunchable
Usage
from typing import Any, Dict, List
from lunchable import LunchMoney
from lunchable.models import TransactionObject
lunch = LunchMoney(access_token="xxxxxxxxxxx")
transactions: List[TransactionObject] = lunch.get_transactions()
first_transaction: TransactionObject = transactions[0]
transaction_as_dict: Dict[str, Any] = first_transaction.model_dump()
export LUNCHMONEY_ACCESS_TOKEN="xxxxxxxxxxx"
lunchable transactions get --limit 5
lunchable http -X GET https://dev.lunchmoney.app/v1/assets
Check out the Docs
Looking to contribute? See the Contributing Guide
See the Changelog
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
lunchable-1.2.0.tar.gz
(304.2 kB
view hashes)
Built Distribution
lunchable-1.2.0-py3-none-any.whl
(64.8 kB
view hashes)
Close
Hashes for lunchable-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51d2287ffa4e8fd5261486b78bb4ebf2895b34986524ccec547d06962b54daf8 |
|
MD5 | 284f7e8d2cc18fea8179a7dcb8c5c490 |
|
BLAKE2b-256 | 61b822e70143a082124e2fb11f4e0f9b54b724488e78100d2a309d7f209054e7 |