#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''
Simple Psycopg2 Wrapper

:copyright: (c) 2015-2017 Gary Chambers
:license: MIT
'''

import logging
from psycopg2 import IntegrityError
from psycopg2 import InterfaceError
from psycopg2 import DatabaseError
from psycopg2 import OperationalError
from psycopg2 import ProgrammingError
from .psypg_wrap import PgConfig
from .psypg_wrap import pg_query
from .psypg_wrap import pg_commit
from .psypg_wrap import pg_rollback
from .psypg_wrap import pg_notify

__title__ = 'psypg'
__version__ = '1.5.3'
__all__ = ['IntegrityError', 'InterfaceError', 'DatabaseError',
           'OperationalError', 'ProgrammingError', 'PgConfig',
           'pg_query', 'pg_commit', 'pg_rollback']
