Wraps (asynchronous) Psycopg2 for Tornado.
Pull request Compare This branch is 178 commits behind FSX:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
examples
momoko
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.rst
THANKS
changelog.rst
setup.py
tests.py

README.rst

Momoko

Momoko wraps Psycopg2's functionality for use in Tornado.

Installation

With pip:

pip install momoko

Or manually:

python setup.py install

Testing

Set the following environment variables with your own values before running the unit tests:

export MOMOKO_TEST_DB='your_db'
export MOMOKO_TEST_USER='your_user'
export MOMOKO_TEST_PASSWORD='your_password'
export MOMOKO_TEST_HOST='localhost'
export MOMOKO_TEST_PORT='5432'

And run the tests with:

python setup.py test