Commit 6c98a14c authored by Lukáš Lalinský's avatar Lukáš Lalinský

Markdown to ReST

parent 03255319
Running the DB API 2.0 compliance test suite:
export PHOENIXDB_TEST_URL=http://localhost:8765/
nosetests
python-phoenixdb
================
`phoenixdb` is a Python library for accessing the
`Phoenix SQL database <http://phoenix.apache.org/>`_ using the standard
`DB API 2.0 interface <https://www.python.org/dev/peps/pep-0249/>`_. It implements the
`Avatica RPC protocol <http://calcite.incubator.apache.org/docs/avatica.html>`_, which is
used by the `Phoenix query server <http://phoenix.apache.org/server.html>`_, but unfortunately
the protocol is still in development and might change at any time.
The library works with Phoenix 4.4, but will most likely need to be changed to support the
next release. Also note, that this is more of a proof-of-concept implementation, it has not
been thoroughly tested. Use with care.
Example usage::
import phoenixdb
with phoenixdb.connect('http://localhost:8765/', autocommit=True) as conn:
c = conn.cursor()
c.execute("SELECT * FROM test")
print c.fetchall()
Running the DB API 2.0 compliance test suite::
export PHOENIXDB_TEST_URL=http://localhost:8765/
nosetests
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment