I hereby claim:
- I am roganartu on github.
- I am roganartu (https://keybase.io/roganartu) on keybase.
- I have a public key whose fingerprint is 4BD0 9E3E FAAF EC1D 9F6D 0FE0 810B 5793 1657 B693
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3.6 | |
''' | |
AWS Lambda handler to send a weekly email digest for GitHub repository releases. | |
For the full write up on how to use this script, see: | |
https://www.tonylykke.com/posts/subscribing-to-project-releases-with-lambda/ | |
''' | |
from base64 import b64decode | |
from datetime import datetime, timedelta |
$ python example.py | |
--filter-by foo --filter-by bar: Namespace(filter_by=['foo', 'bar']) | |
--by-foo: Namespace(filter_by=['foo']) | |
--by-bar: Namespace(filter_by=['bar']) | |
--by-foo --by-bar: Namespace(filter_by=['foo', 'bar']) | |
--by-both: Namespace(filter_by=['foo', 'bar']) |