Skip to main content

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


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)

Uploaded Source

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

Hashes for pydrda-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9fedb52f51fea37cfaf97151a7bf0c7bb2cf75ce70d663df772cf80548c4e192
MD5 60a2a4896ddc01a56367d618387a6c19
BLAKE2b-256 4a443ed4316930ae2981ec99d913881e7fa93097579881039b436dbdb8f875db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page