Request: Create dbc Python client

オープン
#555 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, python

調査の方向性

The request asks for a Python package that wraps dbc's driver management, so start with the Go dbc.Client library added in 0.3.0 and the CLI's driver install and list paths, which the payload does not name by file. Nothing is settled yet: the API surface, packaging and how the Python side calls dbc are open. Done means a maintainer-agreed design, not a patch, so ask in the issue before writing code.

索引モデルが issue の本文から書いたものです。

説明

Summary

The dbc 0.3.0 release added a Go library (dbc.Client) for embedding dbc in applications, and the post invited requests for bindings in other languages. I'd like to request a Python client: an importable API for managing ADBC drivers without shelling out to the dbc CLI.

Motivation

A Python client would be a good middle ground between the two models Python users have had so far:

  • Per-driver PyPI packages: one package per driver (e.g. SQLite, PostgreSQL, and Snowflake/BigQuery (no longer updated))
  • The dbc CLI: one central tool and registry for every driver, but it sits outside Python and has to run as a separate process.

A Python client would keep dbc's single, centralised driver management while letting Python projects depend on it like any other package and install drivers from code. That would help in the cases the post calls out: applications that manage drivers for their users, unattended installs in pipelines/CI, and agent-generated code that installs a driver and connects in one go.

主要言語
Go
スター
154
フォーク
15
平均マージ
2日 19時間
マージ済み PR(30日)
38

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

columnar-tech/dbc のほかの issue

columnar-tech/dbc の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。