How to Use Python with Databases

Today we are going to explore some of the ways you can connect to sql databases with python. A few examples of why you would want to do this are:

  • Querying large data sets without the need to store the data in an intermediate step.
  • To combine data from several disparate databases.
  • To use as a wrapper for an application (sqlite, mariadb, etc)