Zac Medico f16904cf85 Merge pull request #11 from zmedico/immutabledict-copy-issue-10
create_connect_args: fix AttributeError: 'sqlalchemy.cimmutabledict.immutabledict' object has no attribute 'copy'
2021-12-21 09:08:40 -08:00
2016-02-23 18:43:46 -08:00
2021-02-28 07:20:48 -08:00
2016-02-23 18:43:46 -08:00
2021-02-28 07:06:03 -08:00
2016-04-30 13:29:21 -07:00

rqlite dialect for SQLAlchemy
==============================

This is the rqlite dialect driver for SQLAlchemy.


installation
------------

To install this dialect run::

    $ pip install sqlalchemy_rqlite

or from source::

    $ pip install -r ./requirements.txt
    $ python ./setup.py install


usage
-----

To start using this dialect::

    from sqlalchemy import create_engine
    engine = create_engine('rqlite+pyrqlite://localhost:4001/', echo=True)

If you don't want to install this library (for example during development) add
this folder to your PYTHONPATH and register this dialect with SQLAlchemy::

    from sqlalchemy.dialects import registry
    registry.register("rqlite.pyrqlite", "sqlalchemy_rqlite.pyrqlite", "dialect")

testing
-------

you need to have pytest and pytest-cov installed::

    $ pip install pytest pytest-cov

Run the test suite::

    $ python setup.py test



more info
---------

 * http://www.sqlalchemy.org/
 * https://github.com/rqlite/rqlite
Description
sqlalchemy dialect for rqlite, the lightweight, distributed database built on SQLite.
Readme MIT 44 KiB
Languages
Python 100%