chemicalchecker.database.database

Generic database functions.

These utility functions allow class from this module to get engine and open session to the desired database. Also preppare the base class that will be extended by each database class.

Functions

get_engine

Get database engine.

get_session

Get database session.

set_db_config

test_connection

Classes

DBConfig

DB config holder.