spark-jdbc-reader
A lightweight JDBC utility for reading SQL tables and queries into PySpark DataFrames.
Installation
pip install spark-jdbc-reader
Usage
from spark_jdbc_reader import read_table
df = read_table("localhost", "admin", "secret", "my_db", "employees", port=5432)
df.show()
from spark_jdbc_reader import execute_query
df = execute_query("localhost", "admin", "secret", "SELECT * FROM employees WHERE salary > 50000", port=5432)
df.show()
Release files for spark-jdbc-reader 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spark_jdbc_reader-1.0.3.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spark_jdbc_reader-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / spark_jdbc_reader-1.0.3.tar.gz
| Download URL | spark_jdbc_reader-1.0.3.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e5e797289099b12d6f0dc9adc417c130e4f00a934ec6cf8a509723a9a5fb692
|
|
BLAKE2b-256 checksum How to use checksums |
04a72df83b52a3880b8c248daba2900ad5bd078c8c21523298b4aa0b46d512b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / spark_jdbc_reader-1.0.3-py3-none-any.whl
| Download URL | spark_jdbc_reader-1.0.3-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2655b58c20273b242951656cce535d5a04833d4401094696825ba5d7a474ba2c
|
|
BLAKE2b-256 checksum How to use checksums |
a16812eb3859b29719b88e98e1d6a82bffab9f316aab27dd6e5321ef2e8481ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|