Skip to content

oz123/peewee-session

Repository files navigation

Bottle Sessions with Peewee

peewee_session is a session manager for the Bottle microframework that uses a cookie to maintain your web session and stores a hash associated with that cookie using peewee supported database. It is designed as a simple Bottle plugin.

Installation

Install using either pip:

$ pip install peewee-session

Requirements

  • peewee >= 3.1
  • passlib

Using peewee-session

See the exmaple application.

Acknowledgments

This package is loosely based on https://github.com/devries/bottle-session, which uses redis.