Skip to main content

Sync Wealthsimple with Lunch Money.

Project description

Lunchsimple

Lunchsimple syncs your Wealthsimple activity with your Lunch Money budget.

Note: this project uses unofficial Wealthsimple APIs, which may be revoked at any time.

Note 2: this project has only been tested on Linux, but should work on all platforms (let me know).

Note 3: I don't do any active trading with Wealthsimple, so I have no idea if buying and selling activity imports properly.

Getting Started

Prerequisites

To install Lunchsimple, you'll need:

  • at least Python 3.12
  • pipx (recommended)
  • a functioning and accessible system keyring
    • should be true for most people, read more about keyring access if you have issues

Installing

You can install Lunchsimple from your terminal using pipx with:

pipx install lunchsimple

Alternatively, without pipx you can try to use plain 'ol pip:

pip install lunchsimple

However, doing so may require you to run as sudo which isn't recommended.

Logging In

You'll need to first log in with your Wealthsimple credentials:

lunchsimple login

Your login information is then stored locally on your system's keyring.

Configuring

You must tell Lunchsimple which Wealthsimple accounts belong to which Lunch Money assets.

It is recommended that you create a test budget to use with Lunchsimple the first time to ensure that you see the transactions that you expect.

First, go to the Accounts page in Lunch Money and create a new account for each Wealthsimple account you want to sync with.

Then, go to the Developers page in Lunch Money and generate an Access Token by clicking Request New Access Token.

Once you have the token, run the following:

lunchsimple configure --access-token "your-access-token"

You can re-run lunchsimple configure anytime to re-configure (or switch budgets if using a test budget).

Syncing

After logging in and configuring, you can finally push Wealthsimple activity into Lunch Money with:

lunchsimple sync

By default, syncing starts from the beginning of the current month.

You can also pass a date to start syncing from:

lunchsimple sync --start-date "2024-12-15"

Roadmap

There's some things that would be nice to have:

  • asset balance syncing
  • automatic Lunch Money asset creation
  • test coverage
  • optimized/faster transaction syncing

Contributing

Know Python? Want to improve Lunchsimple? Submit patches and let's chat.

Credits

This project wouldn't be here without these awesome packages:

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

lunchsimple-0.1.1.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

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

lunchsimple-0.1.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file lunchsimple-0.1.1.tar.gz.

File metadata

  • Download URL: lunchsimple-0.1.1.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.30

File hashes

Hashes for lunchsimple-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a417ba7af0d03f620298c1960faee11f9cb7b3cec8294a6e225b36184b20763d
MD5 4cab4590a951f75e0d9b3db707eb4f92
BLAKE2b-256 c5940a895b6ac96fd4ac8024e85c2136626916a218953ed1fc78c44262af735e

See more details on using hashes here.

File details

Details for the file lunchsimple-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lunchsimple-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f5d735e41438e6447baf02ca21eb5ee6f8719811d8e2e94a862e01a44beb813
MD5 30ac34bd91d07613f42497ab19f4f0c3
BLAKE2b-256 5c76b090e6bfccf706ba431530feae5550f58779fe4fea58df1e6a5dd05034e7

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