{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/9"},{"label":"Database","url":"https://skillfed.io/packages/category/database/4"}],"enrichment":{"capability":"Compares database schemas across two SQLAlchemy-connected databases, reporting structural differences in tables, columns, keys, indexes, constraints, and enums.","skillfed_tags":["schema-migration","database-testing"],"use_cases":["Validate that a database migration script produced the expected schema changes before deploying to production.","Detect unintended schema drift between a primary database and a replica or backup.","Compare staging and production schemas to ensure they remain synchronized.","Audit schema consistency across multiple database instances in a microservices environment.","Automate schema regression testing in CI/CD pipelines by comparing test database snapshots."],"what_it_does":"sqlalchemy-diff is a schema comparison tool that takes two SQLAlchemy database engines and reports structural differences between them. It inspects built-in database objects\u2014tables, columns, primary and foreign keys, indexes, unique and check constraints, and enums\u2014then produces a structured diff showing what matches and what diverges. The tool is designed for validating database migrations, detecting schema drift between environments, or auditing schema consistency across replicas.\n\nThe package works by instantiating a Comparer with two engines (or URIs), calling compare() to run the inspection and diff logic, and receiving a result object with an is_match flag and detailed error records. Results can be exported to JSON. The comparison logic is pluggable: built-in inspectors can be ignored selectively, and new inspectors can be added by subclassing BaseInspector, allowing extension for database-specific or application-specific schema aspects.","worth_installing":"Yes, if you need to compare SQLAlchemy-connected database schemas. Low install friction, permissive license, no known vulnerabilities, and active maintenance make it a straightforward choice. The aging maintenance status (244 days since last release) is not a blocker for a stable schema-comparison tool, but verify that the package handles your specific database dialects and schema complexity before committing to production use."},"id":"sqlalchemy-diff","links":{"html":"https://skillfed.io/packages/sqlalchemy-diff","md":"https://skillfed.io/packages/sqlalchemy-diff.md","pypi":"https://pypi.org/project/sqlalchemy-diff/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-12-13","license_spdx":null,"license_treatment":"permissive","name":"sqlalchemy-diff","python_support":"supports_current","summary":"A tool for comparing database schemas using SQLAlchemy"},"popularity":{"monthly_downloads":128278,"position":11714,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.1"}
