Skip to main content

A lightweight JDBC table and query reader for PySpark.

Project description

spark-jdbc-reader

A lightweight JDBC utility for reading SQL tables and queries into PySpark DataFrames.

Installation

pip install spark-jdbc-reader

```python
from spark_jdbc_reader.reader import JDBCReader
reader = JDBCReader("localhost", 3306, "my_db", "user", "pass")
df = reader.read_table("my_table")
df.show()

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

spark_jdbc_reader-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

spark_jdbc_reader-1.0.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file spark_jdbc_reader-1.0.0.tar.gz.

File metadata

  • Download URL: spark_jdbc_reader-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for spark_jdbc_reader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4c8c2346b0c57f7de3f2da094f82cb74fbb0ed4dc8aeb246331667b5f9e6d3b3
MD5 343f18b540a2edd7269fe62ed43f042e
BLAKE2b-256 cccd36d0e7b94980ee8ba4e23fe37545640e766d09cac0f50cee314b0b426df2

See more details on using hashes here.

File details

Details for the file spark_jdbc_reader-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spark_jdbc_reader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a0adeade84531fe434589eda9048ef3d1341124d39a5fc5e117382fb11385bf
MD5 7b12f687df41ce49e9cbc04844148665
BLAKE2b-256 0a223d91364502e5304bae18c17e7208d535afcb93bfd56bba88dc18a53a14de

See more details on using hashes here.

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