amoeba commented on code in PR #4525: URL: https://github.com/apache/arrow-adbc/pull/4525#discussion_r3599696315
########## docs/source/integrations.rst: ########## @@ -0,0 +1,268 @@ +.. Licensed to the Apache Software Foundation (ASF) under one +.. or more contributor license agreements. See the NOTICE file +.. distributed with this work for additional information +.. regarding copyright ownership. The ASF licenses this file +.. to you under the Apache License, Version 2.0 (the +.. "License"); you may not use this file except in compliance +.. with the License. You may obtain a copy of the License at +.. +.. http://www.apache.org/licenses/LICENSE-2.0 +.. +.. Unless required by applicable law or agreed to in writing, +.. software distributed under the License is distributed on an +.. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +.. KIND, either express or implied. See the License for the +.. specific language governing permissions and limitations +.. under the License. + +==================== +Tools & Integrations +==================== + +ADBC works alongside many popular data tools and frameworks. This page describes how ADBC fits into each ecosystem. + +---- + +.. _dbc: + +dbc +=== + +`dbc <https://docs.columnar.tech/dbc>`__ is a command-line tool from `Columnar <https://columnar.tech>`__ for installing and managing ADBC drivers on your system. It handles downloading driver binaries, placing them in standard locations, and keeping them up to dateāso you don't have to build drivers from source or manage shared libraries by hand. + +Installation +------------ + +.. tab-set:: + + .. tab-item:: macOS / Linux (shell) + + .. code-block:: bash + + curl -LsSf https://dbc.columnar.tech/install.sh | sh + + .. tab-item:: Homebrew + + .. code-block:: bash + + brew install columnar-tech/tap/dbc + + .. tab-item:: uv + + .. code-block:: bash + + uv tool install dbc + + .. tab-item:: pipx + + .. code-block:: bash + + pipx install dbc + + .. tab-item:: npm + + .. code-block:: bash + + npm install -g @columnar-tech/dbc + + .. tab-item:: Windows (PowerShell) + + .. code-block:: powershell + + powershell -ExecutionPolicy ByPass -c "irm https://dbc.columnar.tech/install.ps1 | iex" + + .. tab-item:: Windows (WinGet) + + .. code-block:: bash + + winget install Columnar.dbc + + .. tab-item:: Windows (MSI) + + Download the installer: https://dbc.columnar.tech/latest/dbc-latest-x64.msi + +Usage +----- + +Once installed, use ``dbc install`` to add a driver, and ``dbc search`` to see what is available: + +.. code-block:: bash + + # Install a driver for a specific database + dbc install postgresql + dbc install snowflake + dbc install sqlite + + # List available drivers + dbc search + +After a driver is installed, ADBC client libraries (and tools like DuckDB's ``adbc`` extension) can load it automatically by name. Review Comment: ```suggestion ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
