Momoko wraps Psycopg2's functionality for use in Tornado.
Project description
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 < 6.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. 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Momoko-2.2.5.1.tar.gz
.
File metadata
- Download URL: Momoko-2.2.5.1.tar.gz
- Upload date:
- Size: 32.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10f06d3e4cf0ba18c63bb6e06c3e0ceaa2af955713c1544fe5228b1ad133b9e9 |
|
MD5 | bce2911db0f79af7c4d7331c315445ea |
|
BLAKE2b-256 | bf007692f929b09566bb1325f1c14d9ad4ca59365ccfaabb57119fb81f81e878 |