0 purchases
psycopg2wrapper 1.0
Simple wrapper for executing commands and queries
Features
Connection Pool
Client cursor
For installing package:
pip install psycopg2-wrapper
For usage:
from psycopg2_wrapper.database import Database
database = Database(host='host_name', database='db_name', user='db_user', password='db_password')
result = database.execute_query('select * from user where id=%s', (1,))
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.