Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 972 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 972 Bytes

The development of this repository has moved under TileDB-Cloud-Py

TileDB logo

TileDB-Cloud-PythonDB

This package features the TileDB-Cloud-Python connector, which aligns with the Python DB API 2.0 specification. It offers a convenient way for Python developers to connect to TileDB-Cloud and perform all necessary operations. This can also be seen as an alternative to a JDBC or ODBC driver.

Installation

pip install .

Usage

connection = TileDBConnection(token=<API_TOKEN>)
cursor = connection.cursor()
cursor.execute("SELECT * from `tiledb://TileDB-Inc/quickstart_dense`")

row = cursor.fetchone()
while row:
    print(row)
    row = cursor.fetchone()

print(cursor.description())