Package openid :: Package store :: Module sqlstore
[frames] | no frames]

Module sqlstore

source code

This module contains OpenIDStore implementations that use various SQL databases to back them.

Example of how to initialize a store database:

   python -c 'from openid.store import sqlstore; import pysqlite2.dbapi2; sqlstore.SQLiteStore(pysqlite2.dbapi2.connect("cstore.db")).createTables()'
Classes
  SQLStore
This is the parent class for the SQL stores, which contains the logic common to all of the SQL stores.
  SQLiteStore
This is an SQLite-based specialization of SQLStore.
  MySQLStore
This is a MySQL-based specialization of SQLStore.
  PostgreSQLStore
This is a PostgreSQL-based specialization of SQLStore.