Skip to main content

A python module that contains a number of simple declarative sqlalchemy mixins.

Project description

# sqla_mixins

A python module that contains a number of simple declarative sqlalchemy mixins. Currently it supports two such mixins:

  • BasicBase

    The BasicBase class can be used either as a mixin or simply as the base class for all of your sqlalchemy classes. This mixin automatically provides the tablename for the class, as well as two columns, id and created_at.

  • UserMixin

    The UserMixin class is great for storring username and password information into a database. It provides automatic password salting and hashing through the recommended [PBKDF2]( key derivation function.

### Installation

The sqla_mixins module can be installed via:

pip install sqla_mixins

The module has been tested to work both with python 2.7 and python 3.2. It should work with python 2.6 and any newer versions of python.

### Usage

For example usage of this module, please see the [](/bboe/sqla_mixins/blob/master/ file.

Project details

Release history Release notifications

History Node


History Node


History Node


History Node


This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
sqla_mixins-0.2.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None Oct 5, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page