CockroachDB adapter for SQLAlchemy, allowing SQLAlchemy applications to connect to CockroachDB. Current version 0.3.5. Release cadence is irregular; maintained by Cockroach Labs.
pip install cockroachdbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a SQLAlchemy engine for CockroachDB and run a simple query.
Use pip show to verify, or install in a clean environment.
Update to version 0.3.5 and use 'cockroachdb://' scheme.
Use the 'run_transaction' helper from the CockroachDB Python client for proper retry support.
Ensure your DATABASE_URL is correct and includes ?sslmode=disable or ?sslmode=require as needed.
Run 'pip install cockroachdb' in the correct Python environment.