databases/py-databricks-sql-connector 4.5.0 FreeBSD
Databricks SQL Connector for Python
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
72bcdb5b14- License
- APACHE20
- Categories
- databases, python
- Package size
- 430.2 KiB, 5934.9 KiB installed
Description
The Databricks SQL Connector for Python allows you to develop Python applications that connect to Databricks clusters and SQL warehouses. It is a Thrift-based client with no dependencies on ODBC or JDBC. It conforms to the Python DB API 2.0 specification.
This connector uses Arrow as the data-exchange format, and supports APIs (e.g. fetchmany_arrow) to directly fetch Arrow tables. Arrow tables are wrapped in the ArrowQueue class to provide a natural API to get several rows at a time. PyArrow is required to enable this and use these APIs, you can install it via pip install pyarrow or pip install databricks-sql-connector[pyarrow].
The connector includes built-in support for HTTP/HTTPS proxy servers with multiple authentication methods including basic authentication and Kerberos/Negotiate authentication. See docs/proxy.md and examples/proxy_authentication.py for details.
Install
Binary package:
pkg install py312-databricks-sql-connector
From the ports tree:
cd /usr/ports/databases/py-databricks-sql-connector/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-databricks-sql-connector>0:databases/py-databricks-sql-connector
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.5.0 | 4.5.0 | - | - | - |
| FreeBSD:14:quarterly | 4.5.0 | 4.5.0 | n/a | - | - |
| FreeBSD:15:latest | 4.5.0 | 4.5.0 | n/a | - | - |
| FreeBSD:15:quarterly | 4.5.0 | 4.5.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.5.0 | 4.5.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0: devel/py-poetry-core
Runtime 11
${PYTHON_PKGNAMEPREFIX}lz4>=4.4.5<5: archivers/py-lz4${PYTHON_PKGNAMEPREFIX}oauthlib>=3.1.0<4: security/py-oauthlib${PYTHON_PKGNAMEPREFIX}openpyxl>=3.0.10<4: textproc/py-openpyxl${PYTHON_PKGNAMEPREFIX}pandas>=2.2.3,1<4.0.0,1: math/py-pandas${PYTHON_PKGNAMEPREFIX}pybreaker>=1.0.0<2: devel/py-pybreaker${PYTHON_PKGNAMEPREFIX}pyjwt>=2.0.0<3: www/py-pyjwt${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.0<3: devel/py-python-dateutil${PYTHON_PKGNAMEPREFIX}requests>=2.18.1<3: www/py-requests${PYTHON_PKGNAMEPREFIX}requests-kerberos>=0<0.16: security/py-requests-kerberos${PYTHON_PKGNAMEPREFIX}thrift>=0.24.0,1<0.25,1: devel/py-thrift${PYTHON_PKGNAMEPREFIX}urllib3>=1.26,1: net/py-urllib3
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 138
- archivers/brotli
- archivers/liblz4
- archivers/py-lz4
- archivers/snappy
- archivers/zstd
- audio/flac
- audio/lame
- audio/libogg
- audio/libsndfile
- audio/libsoxr
- audio/libvorbis
- audio/mpg123
- audio/opus
- audio/pulseaudio
- audio/speexdsp
- audio/webrtc-audio-processing
- converters/libiconv
- databases/arrow
- databases/gdbm
- databases/py-pyarrow
- databases/py-sqlite3
- databases/sqlite3
- devel/abseil
- devel/aws-c-common
- devel/aws-c-compression
- devel/aws-c-event-stream
- devel/aws-c-http
- devel/aws-c-io
- devel/aws-c-mqtt
- devel/aws-c-s3
- devel/aws-c-sdkutils
- devel/aws-checksums
- devel/aws-crt-cpp
- devel/aws-sdk-cpp
- devel/benchmark
- devel/binutils
- devel/boost-libs
- devel/dbus
- devel/dbus-glib
- devel/gettext-runtime
- devel/gflags
- devel/glib20
- devel/googletest
- devel/grpc
- devel/icu
- devel/jsoncpp
- devel/libdaemon
- devel/libedit
- devel/libevdev
- devel/libevent
- devel/libffi
- devel/libinotify
- devel/libltdl
- devel/libpciaccess
- devel/libudev-devd
- devel/libunistring
- devel/llvm19
- devel/orc
- devel/pcre2
- devel/protobuf
- devel/py-blinker
- devel/py-cffi
- devel/py-packaging
- devel/py-pybreaker
- devel/py-pycparser
- devel/py-python-dateutil
- devel/py-pytz
- devel/py-six
- devel/py-thrift
- devel/py-tzdata
- devel/re2
- devel/readline
- devel/thrift
- devel/thrift-cpp
- dns/c-ares
- dns/libidn2
- dns/libpsl
- dns/py-idna
- ftp/curl
- graphics/libdrm
- lang/duktape-lib
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/fftw3
- math/fftw3-float
- math/gmp
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-bottleneck
- math/py-numexpr
- math/py-numpy
- math/py-pandas
- misc/hwdata
- net/avahi-app
- net/py-pysocks
The first 100 are listed.
No port depends on this one.
Configuration
Options name: databases_databricks-sql-connector
| Option | Default | Description |
|---|---|---|
| PYARROW | on | Apache Arrow support |
- USES
- python shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| databricks_sql_connector-4.5.0.tar.gz | 239485 | 69f7ac2cc35f77f78c62ffb1aa09dda3aeec3c5037b9d7eddca78ee2e81f046e |
Master sites 1
- PYPI