Simple wrapper for executing commands and queries
Project description
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,))
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
psycopg2_wrapper-1.0.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for psycopg2_wrapper-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bee3c2c3718dd0a046016424da5ce5a9bcbd0efba193668612270e360dc584e |
|
MD5 | 4ba7fa2025573249100f55bb656ba2bf |
|
BLAKE2b-256 | db054e55289fbbbd8e52749318135451e62be46450f5105c05fa3a8156cd7115 |