Skip to content

Latest commit

 

History

History
67 lines (38 loc) · 1.52 KB

README.rst

File metadata and controls

67 lines (38 loc) · 1.52 KB

kombu-sqlalchemy - Kombu transport using SQLAlchemy

Version: 1.1.0

Deprecated

kombu-sqlalchemy has now moved into Kombu core, so this repository is no longer in use.

To upgrade, install the latest Kombu version.

ORIGINAL README BELOW

Introduction

This package enables you to use SQLAlchemy as the message store for Kombu.

kombu-sqlalchemy contains a single transport, sqlakombu.transport.Transport, which is used like this:

>>> from kombu.connection import BrokerConnection
>>> c = BrokerConnection(DB_URL, transport="sqlakombu.transport.Transport")

DB_URL should be a valid SQLAlchemy database connection url in the form:

"dialect+driver://username:password@host:port/database"

Installation

You can install kombu-sqlalchemy either via the Python Package Index (PyPI) or from source.

To install using pip,:

$ pip install kombu-sqlalchemy

To install using easy_install,:

$ easy_install kombu-sqlalchemy

If you have downloaded a source tarball you can install it by doing the following,:

$ python setup.py build
# python setup.py install # as root

License

This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text.