Installation

This package currently supports only two database types: MySQL and PostgreSQL. The drivers required for MySQL and PostgreSQL are as follows:

By default, this package does not install either of the above two drivers. They must be installed explicitly.

To install for MySQL using the mysql-connector-python driver, use the following command:

pip install bh-database[mysql-connector-python]

To install for PostgreSQL using the psycopg2 driver, use the following command:

pip install bh-database[psycopg2-binary]