dbc is the command-line tool for installing and managing ADBC drivers.
curl -LsSf https://dbc.columnar.tech/install.sh | sh
brew install columnar-tech/tap/dbc
uv tool install dbc
pipx install dbc
powershell -ExecutionPolicy ByPass -c irm https://dbc.columnar.tech/install.ps1 | iex
winget install dbc
For more installation options, see the installation docs.
Search for available drivers:
dbc searchInstall a driver:
dbc install snowflakeUse it with Python:
pip install "adbc-driver-manager>=1.8.0"import adbc_driver_manager.dbapi as adbc
with adbc.connect(
driver="snowflake",
db_kwargs={
"username": "USER",
"password": "PASS",
"adbc.snowflake.sql.account": "ACCOUNT-IDENT",
# ... other connection options
},
) as con, con.cursor() as cursor:
cursor.execute("SELECT * FROM CUSTOMER LIMIT 5")
print(cursor.fetch_arrow_table())You can also manage drivers in a project using a driver list. And you can store connection options in a connection profile instead of in your code.
For more details, see the dbc documentation and the ADBC Quickstarts.
- Discussions for questions
- Issues to report bugs or request features
- See CONTRIBUTING.md for contributing
By contributing to dbc, you agree to follow our Code of Conduct.
