---
title: "Python"
url: "https://docs.yugabyte.com/stable/develop/drivers-orms/python/"
---

# Python

Python Drivers and ORMs support for YugabyteDB.

## Supported projects

The following projects can be used to implement Python applications using the YugabyteDB YSQL API.

Project Documentation and Guides Latest Driver Version Supported YugabyteDB Version 

Yugabyte Psycopg 2 Smart Driver \[Recommended] [Documentation](/stable/develop/drivers-orms/python/yugabyte-psycopg2/ "Documentation")  
[Reference](/stable/develop/drivers-orms/python/yugabyte-psycopg2-reference/ "Reference") 2.9.3.5 2.8 and above 

Yugabyte Psycopg 3 Smart Driver [Documentation](/stable/develop/drivers-orms/python/yugabyte-psycopg3/ "Documentation")  
[Reference](/stable/develop/drivers-orms/python/yugabyte-psycopg3-reference/ "Reference") 3.3.4.2 2.20 and above 

PostgreSQL Psycopg 2 Driver [Documentation](/stable/develop/drivers-orms/python/postgres-psycopg2/ "Documentation")  
[Reference](/stable/develop/drivers-orms/python/postgres-psycopg2-reference/ "Reference") 2.9.3 2.8 and above 

PostgreSQL Psycopg 3 Driver [Documentation](/stable/develop/drivers-orms/python/postgres-psycopg3/ "Documentation")  
[Reference](/stable/develop/drivers-orms/python/postgres-psycopg3-reference/ "Reference") 3.3.4 2.20 and above 

aiopg [Documentation](/stable/develop/drivers-orms/python/aiopg/ "Documentation") 1.4 2.8 and above 

YugabyteDB Python Driver for YCQL [Documentation](/stable/develop/drivers-orms/python/ycql/ "Documentation") [3.29.1.1](https://github.com/yugabyte/cassandra-python-driver/tree/master "3.29.1.1")

Project Documentation and Guides Example Apps 

SQLAlchemy [Documentation](/stable/develop/drivers-orms/python/sqlalchemy/ "Documentation")  
[Hello World](/stable/develop/drivers-orms/orms/python/ysql-sqlalchemy/ "Hello World") [SQLAlchemy ORM App](https://github.com/YugabyteDB-Samples/orm-examples/tree/master/python/sqlalchemy "SQLAlchemy ORM App") 

Django [Documentation](/stable/develop/drivers-orms/python/django/ "Documentation")  
[Hello World](/stable/develop/drivers-orms/orms/python/ysql-django/ "Hello World") [Django ORM App](https://github.com/YugabyteDB-Samples/orm-examples/tree/master/python/django "Django ORM App")

Learn how to establish a connection to a YugabyteDB database and begin basic CRUD operations by referring to [Connect an app](/stable/develop/drivers-orms/python/yugabyte-psycopg2/ "Connect an app") or [Use an ORM](/stable/develop/drivers-orms/python/sqlalchemy/ "Use an ORM").

## Prerequisites

To develop Python applications for YugabyteDB, you need the following:

- **Python**
  
  Ensure your system has Python3 installed. To check the version of Python installed, use the following command:
  
  ```sh
  python -V
  ```
  
  If not already installed, download and install it from the [Python Downloads](https://www.python.org/downloads/ "Python Downloads") page.
- **YugabyteDB cluster**
  
  - Create a free cluster on YugabyteDB Aeon. Refer to [Use a cloud cluster](/stable/quick-start-yugabytedb-managed/ "Use a cloud cluster"). Note that YugabyteDB Aeon requires SSL.
  - Alternatively, set up a standalone YugabyteDB cluster by following the steps in [Install YugabyteDB](/stable/quick-start/macos/ "Install YugabyteDB").

## Next step

[Connect an app](/stable/develop/drivers-orms/python/yugabyte-psycopg2/ "Connect an app")
