Skip to content

Instantly share code, notes, and snippets.

roganartu / Output
Last active Apr 22, 2020
Example for extend_const addition to argparse stdlib
View Output
$ python
--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'])
#!/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:
from base64 import b64decode
from datetime import datetime, timedelta

Keybase proof

I hereby claim:

  • I am roganartu on github.
  • I am 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: