{"library":"soda-core-postgres","title":"Soda Core PostgreSQL","type":"library","description":"Extends Soda Core to connect to PostgreSQL databases for data quality monitoring and testing. Current version 3.5.6, released on 2025-11-05. Release cadence is irregular, tied to soda-core releases.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install soda-core-postgres"],"cli":{"name":"soda","version":"soda-core, version 3.5.6"}},"imports":["from soda.scan import Scan"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":"https://www.soda.io","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/soda-core-postgres/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from soda.scan import Scan\n\nscan = Scan()\nscan.set_scan_definition_name('test')\nscan.set_data_source_name('postgres')\nscan.add_configuration_yaml_str('''\ndata_source postgres:\n  type: postgres\n  host: localhost\n  port: 5432\n  username: ${POSTGRES_USER}\n  password: ${POSTGRES_PASSWORD}\n  database: postgres\n''')\nscan.add_sodacl_yaml_str('''\nchecks for dim_customer:\n  - row_count > 0\n''')\nexit_code = scan.execute()\nprint(scan.get_logs_text())","lang":"python","description":"Runs a Soda scan against a PostgreSQL table using environment variables for credentials.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}