Python SDK
Installing the Python SDK
Section titled “Installing the 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:
pip install aptos-sdkOr from source:
git clone https://github.com/aptos-labs/aptos-python-sdkcd aptos-python-sdkpip install . Fetching Data Learn how to fetch data with the Python SDK
Submitting Transactions Learn how to submit transactions with the Python SDK
Examples Explore Python examples provided in the SDK