Amazon QLDB Python tutorial - Amazon Quantum Ledger Database (Amazon QLDB)

Amazon QLDB Python tutorial

Important

End of support notice: Existing customers will be able to use Amazon QLDB until end of support on 07/31/2025. For more details, see Migrate an Amazon QLDB Ledger to Amazon Aurora PostgreSQL.

In this implementation of the tutorial sample application, you use the Amazon QLDB driver with the AWS SDK for Python (Boto3) to create a QLDB ledger and populate it with sample data.

As you work through this tutorial, you can refer to QLDB low-level client in the AWS SDK for Python (Boto3) API Reference for management API operations. For transactional data operations, you can refer to the QLDB Driver for Python API Reference.

Note

Where applicable, some tutorial steps have different commands or code examples for each supported major version of the QLDB driver for Python.