Skip to main content

Creates connections for use with DB2

Project description


Flask-DB2 is an extension to Flask that uses the ibm_db_dbi driver for database connections.

from flask import Flask
from flask_db2 import DB2

app = Flask(__name__)
db = DB2(app)

def index()
    cur = db.connection.cursor()

get Flask-DB2

Install flask

sudo easy_install Flask-DB2

Download the latest release from Python Package Index or clone the repository

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Flask-DB2-0.0.10.tar.gz (6.0 kB) Copy SHA256 hash SHA256 Source None Mar 30, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page