PythonのO/RマッパーでSQLを操作できるSQLAlchemyを紹介します。他のPythonライブラリとの連動もしやすいため非常に便利なライブラリです。 O/Rマッパーのメリット/デメリットの記事を参考に貼っておきます。 なおサンプルデータは下記を使用していきます。
The overall purpose of this dialect is to allow -- at a minimum-- conectivity and consumer query access to any database with an available JDBC driver. This codebase was heavily influenced by ...
Spanner dialect for SQLAlchemy represents an interface API designed to make it possible to control Cloud Spanner databases with SQLAlchemy API. The dialect is built on top of the Spanner DB API, which ...