Files
mariadb-connector-python/mariadb/__init__.py
Georg Richter 29b05e3b09 Various fixes and changes for SQLAlchemy support:
- added a thin python wrapper around mariadb module
- added constansts under mariadb.constants (CLIENT, CURSOR, INDICATOR)
- bench and test are now in testing subdirectory
- updated documentation
2020-07-24 12:13:31 +02:00

44 lines
900 B
Python

'''
MariaDB Connector/Python enables python programs to access MariaDB and MySQL databases, using an API which is compliant with the Python DB API 2.0 (PEP-249). It is written in C and uses MariaDB Connector/C client library for client server communication.
Minimum supported Python version is 3.6
'''
from ._mariadb import (
BINARY,
Binary,
ConnectionPool,
DATETIME,
DataError,
DatabaseError,
Date,
DateFromTicks,
Error,
IntegrityError,
InterfaceError,
InternalError,
NUMBER,
NotSupportedError,
OperationalError,
PoolError,
ProgrammingError,
ROWID,
STRING,
Time,
TimeFromTicks,
Timestamp,
TimestampFromTicks,
Warning,
_CONNECTION_POOLS,
__version__,
__version_info__,
apilevel,
connect,
fieldinfo,
mariadbapi_version,
)
paramstyle= "qmark"
apilevel= "2.0"
threadsafety= 1