Skip to content

awsum/flask-heroku

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Flask-Heroku

This is a simple Flask extension that sets configuration defaults for Heroku-esque environment variables.

This is far from conclusive. Send a pull request to add a new service!

Usage

Usage is pretty simple:

from flask import Flask
from flask.ext.heroku import Heroku

app = Flask(__name__)
heroku = Heroku(app)

Configuration is already setup:

>>> app.config['SQLALCHEMY_DATABASE_URI']
postgres:https://...

Install

Installation is simple:

$ pip install flask-heroku

About

Heroku environment variable configurations for Flask.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%