# Python

SQLMesh's Python API reference is located [here](https://sqlmesh.readthedocs.io/en/stable/_readthedocs/html/sqlmesh.html).

The SQLMesh [CLI](./cli.md) calls Python [`Context` class methods](https://sqlmesh.readthedocs.io/en/stable/_readthedocs/html/sqlmesh/core/context.html) on the backend. The CLI implementation code can be viewed [on Github](https://github.com/TobikoData/sqlmesh/blob/main/sqlmesh/cli/main.py).
