Skip to main content

Spark JDBC Profiler

codecov CI

Spark JDBC Profiler is a collection of utils functions for profiling source databases with spark jdbc connections.

Install it from PyPI

pip install spark_jdbc_profiler

Usage

from spark_jdbc_profiler.whole_db_profiler.mysql_db_profiler import *
from spark_jdbc_profiler.segmentation_profiler.segmentation_gen import *

jdbcUsername = "test_user"
jdbcPassword = "test_pass"
jdbcHostname = "mariadb"
jdbcPort = "3306"
jdbcDatabase = "test"

jdbcUrl = f"jdbc:mysql://{jdbcHostname}:{jdbcPort}/{jdbcDatabase}?zeroDateTimeBehavior=ROUND"
connectionProperties = {"user": jdbcUsername, "password": jdbcPassword}

df = profile_whole_db(spark, jdbcUrl, connectionProperties)
df.show(n=20)

Development

Read the CONTRIBUTING.md file.

Metadata

Release files for spark-jdbc-profiler 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spark-jdbc-profiler 1.0.4
File Size Uploaded Provenance Actions
spark_jdbc_profiler-1.0.4.tar.gz 6.6 kB Without provenance Details for spark_jdbc_profiler-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spark-jdbc-profiler 1.0.4
File Interpreter ABI Platform Actions
spark_jdbc_profiler-1.0.4-py3-none-any.whl Python 3 none any Details for spark_jdbc_profiler-1.0.4-py3-none-any.whl

Total release size: 14.2 kB

Release files / spark_jdbc_profiler-1.0.4.tar.gz

Download URL spark_jdbc_profiler-1.0.4.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9fcd8ed68f65aca20aa923f494a461e0ae64f180ee75b185db0f498a58b2b6e3
BLAKE2b-256 checksum
How to use checksums
3942003e936be4a058c43781abe1eac697fd4e92579151bde8906fa60d1cd573
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / spark_jdbc_profiler-1.0.4-py3-none-any.whl

Download URL spark_jdbc_profiler-1.0.4-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3e13032212e691197e3d437dae0f198a644fff10778d910f1eaa9eefdba6042
BLAKE2b-256 checksum
How to use checksums
b3399c1c12164e762c892d8b9e11412d977f9b92ae9194278ea2f13e0c83b615
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for spark-jdbc-profiler 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page