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, 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 List
from lunchable import LunchMoney
from lunchable.models import TransactionObject
lunch = LunchMoney(access_token="xxxxxxxxxxx")
transactions: List[TransactionObject] = lunch.get_transactions(limit=5)
first_transaction: TransactionObject = transactions[0]
transaction_as_dict: dict = first_transaction.dict()
export LUNCHMONEY_ACCESS_TOKEN="xxxxxxxxxxx"
lunchable transactions get --limit 5
Check out the Docs
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-0.1.13.tar.gz
(37.4 kB
view details)
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 lunchable-0.1.13.tar.gz.
File metadata
- Download URL: lunchable-0.1.13.tar.gz
- Upload date:
- Size: 37.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2b7dfb20d389ec23808c70cf818862427e8a44add9e1507ecc75327c7ae16cc
|
|
| MD5 |
4ac15893bdf9eb50a8dbbf35a7ac82be
|
|
| BLAKE2b-256 |
2388e54651826a3ff172c9c72d551c71f2705b7026a9d526dd05a26b081dbb6b
|
File details
Details for the file lunchable-0.1.13-py3-none-any.whl.
File metadata
- Download URL: lunchable-0.1.13-py3-none-any.whl
- Upload date:
- Size: 46.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acc9cff2311d48bd356a536606edd1a90c5bdb5f4b95a68d83baf7e1b67e0268
|
|
| MD5 |
345749221520e400a872bd4fd2aef612
|
|
| BLAKE2b-256 |
2f5a529ef9fd3c9a7a65874843da643a8f484c9cb8f7421e83daf5ccdab6322d
|