TiDB is a MySQL-compatible database, and SQLAlchemy is a popular Python SQL toolkit and Object Relational Mapper (ORM).
This a sample project written by PingCAP for SQLAlchemy to connect to TiDB. TiDB is a MySQL-compatible database. And SQLAlchemy ...