Skip to main content
https://img.shields.io/pypi/v/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 requires 4.0 <= Tornado < 5.0, uses futures instead of calllbacks and introduces a slightly different API compared to 1.x version. While transition is very straightforward, the API is not backward compatible with 1.x!

Maintainer wanted

Unfortunately none of the developers of this project actively use it anymore in their work. Test-covered pull requests will be happily accepted, but no active development is planned so far. For instance, Tornado 5.x is currently not supported. If you have serious intentions to maintain this project, please get in touch.

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:

make -C tcproxy
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.2.5.tar.gz (32.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: Momoko-2.2.5.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for Momoko-2.2.5.tar.gz
Algorithm Hash digest
SHA256 5216c234d616b3844b140c2e4e9f5bd7988ee0c87986d49e597ed6479fd7e453
MD5 3d6667c290ca74b5d05ab53f5c062b9d
BLAKE2b-256 afa9b50207a98126dde68908638cf749c377395e2f62f445d7679f504bdf026b

See more details on using hashes here.

Release history Release notifications | RSS feed

2.2.5.1

1 file

This release

2.2.5 This release

1 file

2.2.4

1 file

2.2.3

1 file

2.2.2

1 file

2.2.1

1 file

2.2.0

1 file

2.1.1

1 file

2.1.0

1 file

2.0.0

1 file

1.1.6

1 file

1.1.5

1 file

1.1.4

1 file

1.1.3

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.0

1 file

0.5.0

1 file

0.4.0

1 file

0.3.0

1 file

0.2.0

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page