This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stripe API Keys | |
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key_here | |
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_signing_secret_here | |
# Server Configuration | |
PORT=3000 | |
NODE_ENV=development |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytz | |
import sys | |
import datetime | |
import logging | |
import binascii | |
import pdb | |
import os | |
import re | |
from pprint import pprint, pformat | |
_logger = logging.getLogger(__name__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
try: | |
import urllib3 | |
except ImportError: | |
import pip | |
pip.main(['install', "--user", "urllib3"]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Url parser module for manupulating urls | |
import re | |
from collections import OrderedDict | |
import unittest | |
from unittest import TestCase | |
import logging | |
logging.basicConfig(format="%(asctime)-15s %(levelname)s %(message)s", | |
datefmt="%F %T", level=logging.DEBUG) |