stalker.dbΒΆ

This is the database module of Stalker.

Whenever stalker.db or something under it imported, the setup() becomes available to let one setup the database.

Functions

create_engine(*args, **kwargs) Create a new Engine instance.
mapper(class_, *args, **params[, local_table]) Return a new Mapper object.
sessionmaker(**kwargs[, bind, class_, ...]) Generate a custom-configured Session class.
setup([database, mappers, engine_settings]) This is a utillty function that helps to connect the system to the given database.

Previous topic

stalker

Next topic

stalker.db.auth

This Page