Provides an SQLAlchemy dialect for AWS Aurora Serverless Data API, enabling connection to Aurora clusters without persistent database connections. Current version 0.5.0, updated occasionally.
pip install sqlalchemy-aurora-data-apiVerified import paths — ran on the pinned version, not inferred.
Basic usage: create an engine with the aurora_data_api dialect and query the database.
Use create_engine('aurora_data_api://...')Add LIMIT or use server-side cursors if available.
Consider using the official AWS library 'aws-sdk-python' or 'aurora-data-api' directly if needing updates.
Ensure sqlalchemy-aurora-data-api is installed: pip install sqlalchemy-aurora-data-api. Also verify SQLAlchemy version compatibility.
Set environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_DEFAULT_REGION, or use IAM role when running on AWS.
Adjust the SQL query to include all non-aggregated columns in GROUP BY or use aggregate functions.