Skip to main content

Momoko

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 requires Tornado >= 4.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!

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 tcpproxy
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

Metadata

Release files for tornado-async-pg 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tornado-async-pg 0.0.5
File Size Uploaded Provenance Actions
tornado-async-pg-0.0.5.tar.gz 33.3 kB Without provenance Details for tornado-async-pg-0.0.5.tar.gz

Release files / tornado-async-pg-0.0.5.tar.gz

Download URL tornado-async-pg-0.0.5.tar.gz
Size 33.3 kB
Tags Source
SHA-256 checksum
How to use checksums
084f8e1e9a96cda073046773f1f4ebb09acb8806a28e2bb29a14d02915f24710
BLAKE2b-256 checksum
How to use checksums
b1355c893046018edf61fc31296b482d23622b11341869d8ba3605f1fdf9a7c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for tornado-async-pg 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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