A Python DB-API 2.0 client for the AWS Aurora Serverless Data API. Version 0.5.0 adds compatibility with RDS Data API for Aurora Serverless v2. The library provides a familiar database interface (PEP 249) for accessing Aurora Serverless databases without persistent connections.
pip install aurora-data-apiVerified import paths — ran on the pinned version, not inferred.
Connect and query Aurora Serverless via Data API
Manually parse JSON or UUID fields from strings.
Pass parameters as scalar values, not lists.
Use `resource_arn` as the parameter name.
Use tuple expansion or loop: cursor.execute('SELECT * FROM t WHERE id IN (%s,%s)', (1,2))Verify the secret ARN format: arn:aws:secretsmanager:<region>:<account>:secret:<name>-<random>