Skip to content

Python SDK

Aptos provides an official Python SDK on PyPI with source code in the aptos-python-sdk GitHub repository. The SDK requires Python 3.12+.

Install with pip:

Terminal window
pip install aptos-sdk

Or from source:

Terminal window
git clone https://github.com/aptos-labs/aptos-python-sdk
cd aptos-python-sdk
pip install .