def get_package_url(cls, package, session=None, silent=False):
        response = get("{}/packages/{}".format(cls.bower_base_uri, package))
        return response.json().get("url", None)
def allowed_file(filename):
    return '.' in filename and \
           filename.rsplit('.', 1)[1] in app.config.get('ALLOWED_EXTENSIONS')