Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Wraps (asynchronous) Psycopg2 for Tornado.
Python
tree: 4f1f40450a

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
momoko
.gitignore
LICENSE
MANIFEST.in
README.rst
THANKS
changelog.rst
setup.py
todo.rst

README.rst

Momoko

A Tornado wrapper for Psycopg2.

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
Something went wrong with that request. Please try again.