Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

columnar-tech/dbc

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

437 Commits
437 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dbc dbc Logo

License GitHub release (latest SemVer) Release dbc

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.

About

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

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.