Skip to main content

A lightweight client-server library fluently extending DuckDB's httpserver setup to Python

Project description

DuckBridge

Lightweight Python library enabling fully pythonic interfacing with the DuckDB extension httpserver (extension developed by @quackscience).

PyPI Build codecov

What is duckbridge?

DuckDB's httpserver extension turns databases into HTTP OLAP servers; however, setup and access require unix commands and SQL in order to properly set up authentication, install the extension, and communicate.

duckbridge spans this gap, providing a way to natively use httpserver with full pythonic scripting. The DuckDBServer class acts as the bridge operator, connecting to the database, initializing httpserver, and setting authentication values and read/write privileges. DuckDBClient provides a tidy handler which stores client-side authentication and endpoint information, ensuring one-factor authentication by way of knowledge while returning information as a Pandas DataFrame.

How do I use duckbridge?

TBD

What about hosting and public access?

TBD

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

duckbridge-0.4.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

duckbridge-0.4.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file duckbridge-0.4.0.tar.gz.

File metadata

  • Download URL: duckbridge-0.4.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for duckbridge-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1de8321d5cd09cae3ba6ded0fef29292f9a3547db210efe1139ee5d273f8cef5
MD5 6464980c14addda1dcb0501bfa60435f
BLAKE2b-256 3e23e850c47837f14192ff490d025726f1e6d781da2e9a9f6603e0b8c1dc894c

See more details on using hashes here.

File details

Details for the file duckbridge-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: duckbridge-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for duckbridge-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a4a6f57d80242013b96a2519f73a5b15db7933c59b1c04c3ae5a9542d530ff6
MD5 cb26d83398f5ce0d07d613023dfa1590
BLAKE2b-256 8942c5b7bc22de1876443cb376ef8756469d876918e36e5879c13af382196769

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page