Skip to main content

lunchable-primelunch

lunchable lunchable

LunchMoney Amazon Transaction Updater

PyPI PyPI - Python Version GitHub License Testing Status task uv pre-commit docs semantic-release Gitmoji


PrimeLunch is a command line tool that supports updating Amazon transaction notes with the items from Amazon itself. This tool uses CSVs generated by the Amazon Order History Reporter plugin on Chrome. Once you've gathered your transactions, export them as a CSV and scan them with the tool. You'll be asked which transactions you'd like to update.


The plugin uses the dollar amounts on the CSV export to match Amazon transactions in LunchMoney. When a matching dollar amount is found, PrimeLunch compares the date window between the transactions to determine if they're really a match.

We're using the Amazon Order History Reporter plugin because it gives us some functionality that Amazon doesn't: exporting Amazon transactions as they're grouped on actual credit card transactions.

Run via the Lunchable CLI

You can install lunchable with pip or pipx. Make sure to use the lunchable[primelunch] extra to install the PrimeLunch plugin. You can also use the lunchable[plugins] extra to install all the known plugins.

pipx install "lunchable[primelunch]"
pip install "lunchable[primelunch]"

The below command runs the PrimeLunch update tool:

lunchable plugins primelunch -f ~/Downloads/amazon_order_history.csv

The below command runs the PrimeLunch update tool using a date window of fourteen days instead of the default seven days (these larger windows are especially useful for finding refunds and recurring purchases):

lunchable plugins primelunch \
   --file ~/Downloads/amazon_order_history.csv \
   --window 14

Update all transactions without going through the confirmation prompt for each one:

lunchable plugins primelunch \
   --file ~/Downloads/amazon_order_history.csv \
   --all

Provide a LunchMoney API access token manually (PrimeLunch defaults to inheriting from the LUNCHMONEY_ACCESS_TOKEN environment variable):

lunchable plugins primelunch \
   --file ~/Downloads/amazon_order_history.csv \
   --token ABCDEFGHIJKLMNOP

References

This lunchable plugin was inspired by the original Lunchable Amazon importer at samwelnella/amazon-transactions-to-lunchmoney.

Metadata

Release files for lunchable-primelunch 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lunchable-primelunch 1.1.0
File Size Uploaded
lunchable_primelunch-1.1.0.tar.gz 121.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lunchable-primelunch 1.1.0
File Interpreter ABI Platform
lunchable_primelunch-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 131.5 kB

Release files / lunchable_primelunch-1.1.0.tar.gz

Download URL lunchable_primelunch-1.1.0.tar.gz
Size 121.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cb6b7728bc50cb0afcbb0f022c843f0a50e1b553b0aef9aec2e86d6a59f94f59
BLAKE2b-256 checksum
How to use checksums
89c08b9e441e0acd10b1bdd7b5c7e3fd7694f5a8e128f6d55b746d1ee07a7560
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2025.

Transparency log

Release files / lunchable_primelunch-1.1.0-py3-none-any.whl

Download URL lunchable_primelunch-1.1.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75b47526178e504e1839206117f13697096ecb52b2b0a7a4cdf490c2aeb990d6
BLAKE2b-256 checksum
How to use checksums
8cdedf902db83009d9a1858e04c424330b284d592b142233c72ec56777de144c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page