Creates connections for use with DB2
Project description
Flask-DB2
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)
@app.route('/')
def index()
cur = db.connection.cursor()
cur.execute(...)
get Flask-DB2
Install flask
sudo easy_install Flask-DB2
Download the latest release from Python Package Index or clone the repository
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
Flask-DB2-0.0.10.tar.gz
(6.0 kB
view details)
File details
Details for the file Flask-DB2-0.0.10.tar.gz.
File metadata
- Download URL: Flask-DB2-0.0.10.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8d16a6ae0e170afa9e410b84757b2534b1bbb25dda7a5e4521c023d0369c605
|
|
| MD5 |
568721816978d021ae626f2cf7983e44
|
|
| BLAKE2b-256 |
5bedd88b4cfe1a560d4a86cbf3069d40b41616b1865225260477a214aef2731b
|