{"library":"sql-compare","title":"sql-compare","type":"library","description":"Compare SQL schemas and generate human-readable diffs. Version 0.2.0, released November 2024. Active development, monthly releases.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install sql-compare"],"cli":{"name":"sql-compare","version":"sh: 1: sql-compare: not found"}},"imports":["from sql_compare import diff","from sql_compare import diff_files"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/Mergifyio/sql-compare","docs":null,"changelog":null,"pypi":"https://pypi.org/project/sql-compare/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from sql_compare import diff\n\nschema1 = \"CREATE TABLE users (id INT, name TEXT);\"\nschema2 = \"CREATE TABLE users (id INT, name VARCHAR(255));\"\nprint(diff(schema1, schema2))","lang":"python","description":"Basic usage: compare two SQL schema strings and print the diff.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}