Send mail with YNAB spending for the past week.

Nikola Kotur ccb3fb48e2 Fixed required python version 4 years ago
ynab_weekly e33cd71776 Switching to command line options 4 years ago
.gitignore 2fb9692dd8 Ignore distribution 4 years ago
LICENSE.md 0a92dc96b1 Switching to proper package 4 years ago
README.md 422eb1aedf Update docs with package name 4 years ago
requirements.txt 0a92dc96b1 Switching to proper package 4 years ago
setup.cfg ccb3fb48e2 Fixed required python version 4 years ago
setup.py 0a92dc96b1 Switching to proper package 4 years ago

README.md

YNAB Weekly Spending Reports with Python

If you want weekly mail with top 10 spending categories in You Need a Budget, you are in the right place.

This application is inspired by YNAB Weekly Spending Reports with Google Apps Script by Connor Griffin, only in Python instead of JavaScript.

How to Run

Easy. You need:

Now, after making sure you have all of the above, install this package:

pip2 install --user YNAB-Weekly

That is all, we are ready! Use this to run:

ynab-weekly \
    --ynab-api-key     YNAB_KEY       \
    --ynab-budget-name "Budged name"  \
    --mailgun-api-key  MAILGUN_KEY    \
    --mailgun-domain   MAILGUN_DOMAIN \
    --mails            me@myhouse.com my-so@myhouse.com

Please report bugs in issues.

How to run in development mode

virtualenv -p python2 .env
source .env/bin/activate
pip install --editable .