momoko

Wraps (asynchronous) Psycopg2 for Tornado.

Github星跟蹤圖

Momoko

.. image:: https://img.shields.io/pypi/v/momoko.svg
:target: https://pypi.python.org/pypi/momoko

.. image:: https://img.shields.io/travis/FSX/momoko.svg
:target: https://travis-ci.org/FSX/momoko

.. image:: https://img.shields.io/pypi/dm/momoko.svg
:target: https://pypi.python.org/pypi/momoko

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!

.. _Psycopg2: http://initd.org/psycopg/
.. _Tornado: http://www.tornadoweb.org/
.. _tutorial: http://momoko.readthedocs.org/en/master/tutorial.html
.. _documentation: http://momoko.readthedocs.org/en/master

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

主要指標

概覽
名稱與所有者FSX/momoko
主編程語言Python
編程語言Python (語言數: 4)
平台
許可證Other
所有者活动
創建於2011-03-11 17:42:43
推送於2020-12-15 20:27:53
最后一次提交2018-11-05 02:02:49
發布數22
最新版本名稱v2.2.5.1 (發布於 )
第一版名稱v0.1.0 (發布於 )
用户参与
星數355
關注者數21
派生數73
提交數459
已啟用問題?
問題數90
打開的問題數7
拉請求數59
打開的拉請求數1
關閉的拉請求數21
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?