Send mail with YNAB spending for the past week.

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

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 .