Flask extension for Beaker session
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
flaskext
.gitignore
README.md
setup.py
test_beaker.py

README.md

Flask Beaker

Flask Beaker is Flask extension for Beaker Session.

How to use

```python
from flask import app, session
from flaskext.beaker import Beaker

# setup
app = Flask(__name__)
Beaker(app)

# in handler

@app.route("/set_value")
def set_value():
    session["key"] = "value"
    return "ok"

@app.route("/get_value")
def get_value():
    return session["key"]
```