Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 641 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 641 Bytes

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.