{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database"}],"enrichment":{"capability":"Provides IAM-based authentication and encrypted connections to Google Cloud SQL instances from Python, handling TLS encryption and identity verification without requiring SSL certificates.","skillfed_tags":["google-cloud","iam-auth","tls-encryption"],"use_cases":["Connect Python applications on Cloud Run or Cloud Functions to Cloud SQL without managing certificates or firewall rules","Migrate from Cloud SQL Auth Proxy to a native Python solution with IAM-based access control","Build multi-tenant applications where each tenant's database access is controlled via IAM roles","Use IAM database authentication to avoid storing database passwords in application code or secrets","Establish encrypted connections to Cloud SQL from on-premises or hybrid environments using service account credentials"],"what_it_does":"The Cloud SQL Python Connector is a Google-maintained library that handles secure, IAM-authenticated connections to Cloud SQL instances without requiring SSL certificates or IP allowlisting. It wraps database drivers (pymysql, pg8000, asyncpg, pytds), intercepting connection requests to establish encrypted TLS 1.3 tunnels through Google's infrastructure using your application's IAM credentials.\n\nThe connector is designed to work alongside connection pooling libraries to manage connection reuse and reduce overhead. It supports both eager (background refresh) and lazy refresh strategies for credential management, making it suitable for serverless environments like Cloud Run and Cloud Functions where CPU throttling occurs outside request contexts. You initialize a Connector object, call its connect method with your instance details, and the library handles all authentication and encryption transparently.","worth_installing":"Yes. This is the official, actively maintained connector for Python applications accessing Cloud SQL on Google Cloud. It eliminates certificate management and IP allowlisting overhead while providing IAM-based security. Install it if you are running Python on Google Cloud and need Cloud SQL connectivity."},"id":"cloud-sql-python-connector","links":{"html":"https://skillfed.io/packages/cloud-sql-python-connector","md":"https://skillfed.io/packages/cloud-sql-python-connector.md","pypi":"https://pypi.org/project/cloud-sql-python-connector/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-24","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"cloud-sql-python-connector","python_support":"supports_current","summary":"Google Cloud SQL Python Connector library"},"popularity":{"monthly_downloads":7971363,"position":1677,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.21.0"}
