This a sample project written by PingCAP for MySQL Connector/Python to connect to TiDB. TiDB is a MySQL-compatible database. And MySQL Connector/Python is an official MySQL driver written in Python.