python-module-mysql/__init__.py
2020-05-15 14:08:31 +02:00

26 lines
786 B
Python
Executable file

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Sql connection module."""
# /*
# * ----------------------------------------------------------------------------
# * "THE BEER-WARE LICENSE" (Revision 42):
# * <boris.tassou@securmail.fr> wrote this file. As long as you retain this notice you
# * can do whatever you want with this stuff. If we meet some day, and you think
# * this stuff is worth it, you can buy me a beer in return Boris Tassou
# * ----------------------------------------------------------------------------
# */
import sys
# Global name
__version__ = '1.0'
__author__ = 'Boris Tassou <boris.tassou@securmail.fr>'
__license__ = 'Beerware'
try:
import pymysql
except ImportError:
print('PyMYSQL library not found')
sys.exit(1)