Skip to main content

A simple Python SDK around the Lunch Money Developer API

Project description

lunchable

Lunchable Version PyPI Docker Image Version Testing Status GitHub License Documentation Status

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




juftin logo

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lunchable-0.1.13-py3-none-any.whl (46.9 kB view details)

Uploaded Python 3

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

Hashes for lunchable-0.1.13.tar.gz
Algorithm Hash digest
SHA256 a2b7dfb20d389ec23808c70cf818862427e8a44add9e1507ecc75327c7ae16cc
MD5 4ac15893bdf9eb50a8dbbf35a7ac82be
BLAKE2b-256 2388e54651826a3ff172c9c72d551c71f2705b7026a9d526dd05a26b081dbb6b

See more details on using hashes here.

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

Hashes for lunchable-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 acc9cff2311d48bd356a536606edd1a90c5bdb5f4b95a68d83baf7e1b67e0268
MD5 345749221520e400a872bd4fd2aef612
BLAKE2b-256 2f5a529ef9fd3c9a7a65874843da643a8f484c9cb8f7421e83daf5ccdab6322d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page