py4j JDBC wrapper
Project description
This repo aspires to be a (partially) dbapi 2.0 compliant interface to JDBC. It’s similar to JayDeBeAPI, but uses a much more efficient JVM backend process implemented with Py4j instead of JPype.
Example
A simple example that starts a JVM subprocess:
from py4jdbc import connect conn = connect("jdbc:postgresql://localhost/postgres, user="cow", password="moo") cur = conn.cursor() cur.execute("select 1 as cow;")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py4jdbc-0.1.1.tar.gz
(20.5 kB
view hashes)