Skip to main content
https://img.shields.io/pypi/v/momoko.svg https://img.shields.io/pypi/dm/momoko.svg https://img.shields.io/travis/FSX/momoko.svg

Momoko wraps Psycopg2’s functionality for use in Tornado. Have a look at tutorial or full documentation.

Important: This is the 2.x version of Momoko. It uses futures instead of calllbacks and introduces slightly different API compared to 1.x version. While trasition is very straight forward, the API is not backward compatible with 1.x!

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

Download files

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

Source Distribution

Momoko-2.0.0.tar.gz (239.6 kB view details)

Uploaded Source

File details

Details for the file Momoko-2.0.0.tar.gz.

File metadata

  • Download URL: Momoko-2.0.0.tar.gz
  • Upload date:
  • Size: 239.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Momoko-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ddc8eb8353cfa9cac372cbb8cd21d5d1a82b6a0f5e888b0b1d458fd21cba5ed1
MD5 0ea57e086c142c6104b17a24bcabdb1b
BLAKE2b-256 9042e338ea2086e0e34ce924ac357bbc06609b43cf120fefa376a22f72b9ae1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page