PyMySQL is a database connector for Python like MySQLdb.
PyMySQL is a database connector for Python, that means it is a library to enable Python programs to talk to a MySQL server.
It is written in pure Python and works with Python 2.7+ and Python 3.X.
pymysql is a drop-in replacement for mysqldb.
Documentation can be found at https://pymysql.readthedocs.io/