Skip to main content

A SQLAlchemy PostgreSQL dialect for ADBC (Arrow Database Connectivity)

Project description

pgarrow PyPI package Test suite Code coverage

A SQLAlchemy PostgreSQL dialect for ADBC (Arrow Database Connectivity)

Installation

pgarrow can be installed from PyPI using pip:

pip install pgarrow

Usage

pgarrow can be used using the postgresql+pgarrow dialect. For example, to connect to a running database on 127.0.0.1 (localhost) on port 5432 as user postgres with password password and run a trivial query:

import sqlalchemy as sa

engine = sa.create_engine('postgresql+pgarrow://postgres:password@127.0.0.1:5432/')

with engine.connect() as conn:
    results = conn.execute(sa.text("SELECT 1")).fetchall()

Compatibility

  • Python >= 3.9 (tested on 3.9.0, 3.10.0, 3.11.1, 3.12.0, and 3.13.0)
  • PostgreSQL >= 13.0 (tested on 13.0, 14.0, 15.0, and 16.0)
  • SQLAlchemy >= 2.0.7 on Python < 3.13, and SQLAlchemy >= 2.0.31 on Python >= 3.13 (tested on 2.0.7 on Python before 3.13.0, and SQLAlchemy 2.0.31 on Python 3.13.0)
  • PyArrow >= 20.0.0 (tested on 20.0.0)
  • adbc-driver-postgresql >= 1.6.0 (tested on 1.6.0)

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

pgarrow-0.0.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

pgarrow-0.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file pgarrow-0.0.2.tar.gz.

File metadata

  • Download URL: pgarrow-0.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pgarrow-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2da7f11b8821d854badb48b2ad2f0b0a8fed351ba208ef5ac43dc8f49b06a16f
MD5 82cc01c4d492e750bc074b3279f58db3
BLAKE2b-256 72f58bda09eb1c29efac84590d8ef1d652962e10991cb1a94c3dcee7a6e3839a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pgarrow-0.0.2.tar.gz:

Publisher: deploy-package-to-pypi.yaml on michalc/pgarrow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pgarrow-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pgarrow-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pgarrow-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0861710ea8bd9b4603548326935f29f1d179b1208a55d1b9b1ea08b7998288f6
MD5 fbb13730b6fa236be4986614c99529d6
BLAKE2b-256 1d98df4fcd78e2d493fe66dad97b9bf6fd0aae905fa68f5d542607893e83ae43

See more details on using hashes here.

Provenance

The following attestation bundles were made for pgarrow-0.0.2-py3-none-any.whl:

Publisher: deploy-package-to-pypi.yaml on michalc/pgarrow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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