Skip to content
Projects

About

dbc is the command-line tool for installing and managing ADBC drivers

Developer Tools

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+1
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

dbc dbc Logo

License GitHub release (latest SemVer) Release dbc deb/rpm Hosting by Cloudsmith

dbc is the command-line tool for installing and managing ADBC drivers.

Install dbc

Shell (Linux/macOS)

curl -LsSf https://dbc.columnar.tech/install.sh | sh

Homebrew

brew install columnar-tech/tap/dbc

uv

uv tool install dbc

pipx

pipx install dbc

PowerShell (Windows)

powershell -ExecutionPolicy ByPass -c irm https://dbc.columnar.tech/install.ps1 | iex

WinGet

winget install Columnar.dbc

Windows MSI

Download the MSI installer

For more installation options, see the installation docs.

Getting Started

Search for available drivers:

dbc search

Install a driver:

dbc install snowflake

Use 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.

Communications

Code of Conduct

By contributing to dbc, you agree to follow our Code of Conduct.

Acknowledgements

Repository hosting is graciously provided by Cloudsmith.

Explore related projects

Loading…