{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"Provides a SQLAlchemy dialect that enables applications to use SQLAlchemy's ORM and query API against Google Cloud Spanner databases.","skillfed_tags":["orm-dialect","cloud-database"],"use_cases":["Build a web application using SQLAlchemy ORM that persists data to Cloud Spanner without rewriting queries for a different database dialect.","Migrate an existing SQLAlchemy application from a traditional SQL database to Cloud Spanner by swapping the connection URL.","Define and manage Spanner schema using SQLAlchemy's declarative table API and Alembic migrations instead of raw DDL.","Leverage Spanner's interleaved tables and commit-timestamp features through SQLAlchemy's table constructor options.","Use SQLAlchemy's query builder and ORM relationships to work with Spanner data in a Python application."],"what_it_does":"sqlalchemy-spanner is a SQLAlchemy dialect that bridges the gap between SQLAlchemy's ORM and query abstractions and Google Cloud Spanner's database engine. It wraps the Spanner DB API (which implements PEP-249) to allow developers to use familiar SQLAlchemy patterns\u2014table definitions, insert/update/delete operations, and select queries\u2014against a Spanner instance without writing raw SQL or using the lower-level Spanner client directly.\n\nThe dialect supports Spanner-specific features like interleaved tables, commit timestamps, and unique constraints, and integrates with Alembic for schema migrations. It requires active Google Cloud credentials and a configured Spanner project, instance, and database. The package depends on sqlalchemy, google-cloud-spanner, and alembic, and supports Python 3.10 through 3.14. However, the repository is archived and abandoned, with no commits since March 2026, which may pose risks for long-term maintenance and compatibility.","worth_installing":"Yes, but with caution. The package is functional and has low install friction, but its abandoned status (no commits since March 2026) means no active maintenance or support for future SQLAlchemy or Spanner API changes. Install it only if you are committed to maintaining a fork or if your application's SQLAlchemy and Spanner dependencies are locked to versions known to work with this dialect. For new projects, verify whether a maintained alternative exists or whether direct use of the Spanner client is more appropriate."},"id":"sqlalchemy-spanner","links":{"html":"https://skillfed.io/packages/sqlalchemy-spanner","md":"https://skillfed.io/packages/sqlalchemy-spanner.md","pypi":"https://pypi.org/project/sqlalchemy-spanner/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2026-06-03","license_spdx":null,"license_treatment":"permissive","name":"sqlalchemy-spanner","python_support":"supports_current","summary":"SQLAlchemy dialect integrated into Cloud Spanner database"},"popularity":{"monthly_downloads":19731216,"position":1056,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.19.0"}
