- Configure SES SNS http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications-via-sns.html to programtically handle bounce/delivery/
- use boto for SNS aswell
- Fb app icon
- privacy policy URL
- Long Description
from bottle import route, run, auth_basic | |
from passlib.hash import sha256_crypt | |
def check_pass(username, password): | |
hashed = ''.join(redis.hmget(username, "password")) | |
return sha256_crypt.verify(password, hashed) | |
@route('/', method='GET') | |
@auth_basic(check_pass) # <-- decorator | |
def index(): |
'''Provides utility functions for encoding and decoding linestrings using the | |
Google encoded polyline algorithm. | |
''' | |
def encode_coords(coords): | |
'''Encodes a polyline using Google's polyline algorithm | |
See http://code.google.com/apis/maps/documentation/polylinealgorithm.html | |
for more information. | |