GitHub - TileDB-Inc/TileDB-SQL-Py: Python Embedded TileDB SQL Library | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

TileDB-Inc/TileDB-SQL-Py

 
 

Repository files navigation

mysqlclient

Build Status

This is a fork of mysqlclient-python.

This project is designed to be used with TileDB-SQL which is a reduced build of MariaDB with support for using the MyTile storage engine for accessing TileDB Arrays.

This is not meant to be used a general purpose MariaDB Client, it is only meant to be used with linking against the embedded version of MariaDB. This has been tested only with MariaDB 10.4 and the MyTile storage engine.

Install

Docker

A docker image is available on dockerhub under tiledb/tiledb-sql-py. This docker image will drop you into a python shell and has tiledb, tiledb-sql-py, pandas and numpy preinstalled.

docker run -it --rm tiledb/tiledb-sql-py

Conda

Conda packages will be available on conda forge soon.

conda install -c conda-forge tiledb-sql

Pypi

A pypi package will be build from conda using conda-press

pip install tiledb-sql

Compiling From Source

Prerequisites

You may need to install the Python development headers and compile MariaDB from source

Python development headers

  • sudo apt-get install python-dev default-libmysqlclient-dev # Debian / Ubuntu
  • sudo yum install python-devel mysql-devel # Red Hat / CentOS
  • brew install mysql-connector-c # macOS (Homebrew) (Currently, it has bug. See below)

On Windows, there are binary wheels you can install without MySQLConnector/C or MSVC.

Compiling MyTile

Please follow the MyTile compilation instructions

Building TileDB-SQL-Py package

If you've installed mytile into $HOME/mytile_server simply build the python package with:

PATH="$HOME/mytile_server/bin:${PATH}" python setup.py build_ext --inplace

Now you can use it with

import tiledb.sql
import pandas
db = tiledb.sql.connect(db="test")
pd.read_sql(sql="select * from `s3://my_bucket/my_array`, con=db)

Documentation

Documentation is hosted on TileDB Developer Docs

About

Python Embedded TileDB SQL Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 63.4%
  • C 35.0%
  • Dockerfile 1.5%
  • Makefile 0.1%

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.