DRDA protocol database driver
Project description
This is a DRDA protocol (https://en.wikipedia.org/wiki/DRDA) python database driver.
We target Apache Derby now, and will add DB2.
Requirements
Python 3.5
Installation
$ pip install pydrda
Apache Derby example
You need Start the Network server. http://db.apache.org/derby/papers/DerbyTut/ns_intro.html#start_ns
import drda
conn = drda.connect(host='serverhost', database='dbname', port=1527)
cur = conn.cursor()
cur.execute('select * from foo')
for r in cur.fetchall():
print(r[0], r[1])
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
pydrda-0.0.1.tar.gz
(8.7 kB
view details)
File details
Details for the file pydrda-0.0.1.tar.gz.
File metadata
- Download URL: pydrda-0.0.1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fedb52f51fea37cfaf97151a7bf0c7bb2cf75ce70d663df772cf80548c4e192
|
|
| MD5 |
60a2a4896ddc01a56367d618387a6c19
|
|
| BLAKE2b-256 |
4a443ed4316930ae2981ec99d913881e7fa93097579881039b436dbdb8f875db
|