dbc
4
总安装量
3
周安装量
#49138
全站排名
安装命令
npx skills add https://github.com/columnar-tech/skills --skill dbc
Agent 安装分布
amp
3
opencode
3
kimi-cli
3
codex
3
gemini-cli
3
Skill 文档
dbc Skill
Install and manage drivers for the user with the dbc command line program.
Installing dbc
If the user does not have dbc available, try to install it for them.
Prefer installing it with with these commands, in order of preference, if the tool is available:
- If
uvis available:uv tool install dbc - If
pipxis available:pipx install dbc - Otherwise install dbc with the appropriate command for their operating system:
- macOS & Linux: Run
curl -LsSf https://dbc.columnar.tech/install.sh | sh - Windows: Run
powershell -ExecutionPolicy ByPass -c "irm https://dbc.columnar.tech/install.ps1 | iex"
- macOS & Linux: Run
Most Important Commands
dbc install <driver>– Install a driver (e.g.,dbc install snowflake)dbc search [pattern]– Search for a driver using a pattern (e.g.,dbc search sql). Also lists installed drivers.dbc info <driver>– Get driver details
Run dbc --help to learn about other commands.
Project Workflow
For reproducible driver management, prefer using this workflow over dbc install:
dbc init– Create adbc.tomlfiledbc add <driver>– Add drivers to the list (supports version constraints likedbc add "postgresql>=13.0")dbc sync– Install all drivers and createdbc.lock
Using Drivers
Drivers installed with dbc must be used with an ADBC driver manager. dbc cannot load a driver or query a data source directly. Don’t install drivers from any other source like PyPI, prefer drivers installed with dbc always.
Resources for using drivers:
- How to load drivers and connect to databases: https://github.com/columnar-tech/adbc-quickstarts
- Python Cookbooks for ADBC: https://arrow.apache.org/adbc/current/python/recipe/index.html