SQLAlchemy-Defaults

Smart SQLAlchemy defaults for lazy guys, like me.


License
BSD-3-Clause
Install
pip install SQLAlchemy-Defaults==0.4.4

Documentation

SQLAlchemy-Defaults

Smart SQLAlchemy defaults for lazy guys, like me.

Running the tests

You need PostgreSQL and MySQL installed to run the full test suite.

To run:

$ pip install tox
$ POSTGRESQL_DSN='postgresql://user@host:port/db' \
MYSQL_DSN='mysql+pymysql://user@host:port/db' \
tox

To type a bit less to run the tests you can save the command in a script:

$ echo "POSTGRESQL_DSN='postgresql://user@host:port/db' \\ \\nMYSQL_DSN='mysql+pymysql://user@host:port/db' \\ \\ntox" > tox.sh
$ chmod +x tox.sh
$ ./tox.sh

Resources