Skip to content
项目

关于

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

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…