Skip to main content

sparklineage

PyPI version Author License: MIT

A lightweight Python library for inspecting Apache Spark and PySpark execution plans, identifying shuffle bottlenecks, and validating broadcast join opportunities.

Authored and maintained by Pavan Badempet.


⚡ Key Features

  • Execution Plan Analysis: Automatically parses physical query plans to detect un-broadcasted joins and large shuffles.
  • Stage Metrics Summary: Provides concise execution summaries to identify task skew.
  • Lakehouse Metadata Helpers: Validates partition pushdowns for Delta Lake and Iceberg tables.

📦 Installation

pip install sparklineage

🚀 Quickstart

from sparklineage import PlanInspector

# Initialize inspector with your Spark DataFrame
inspector = PlanInspector(my_pyspark_df)

# Check for un-broadcasted join candidates
inspector.check_broadcast_opportunities(threshold_mb=100)

# Print execution recommendations
inspector.summarize()

👨‍💻 Author

Pavan Badempet


📄 License

MIT License. Copyright (c) 2026 Pavan Badempet.

Metadata

Release files for sparklineage 0.1.0

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

Source distribution (sdist)

Source distribution for sparklineage 0.1.0
File Size Uploaded Provenance Actions
sparklineage-0.1.0.tar.gz 3.8 kB Without provenance Details for sparklineage-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sparklineage 0.1.0
File Interpreter ABI Platform Actions
sparklineage-0.1.0-py3-none-any.whl Python 3 none any Details for sparklineage-0.1.0-py3-none-any.whl

Total release size: 8.0 kB

Release files / sparklineage-0.1.0.tar.gz

Download URL sparklineage-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
43baf90f3d68d9a0b828f241a074c96fcded71517f3336fcc31604aac16330d7
BLAKE2b-256 checksum
How to use checksums
1fcc2411b85a362f226885241cdbfda00e9d76b6f94a81be5766b6f4919f8c3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / sparklineage-0.1.0-py3-none-any.whl

Download URL sparklineage-0.1.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
951032eda24c27be51bdab8bdae75997ae71c48b9176666786c4f4eea3675e0c
BLAKE2b-256 checksum
How to use checksums
8c2fd5ab0660265f68d8224d5ee079d825d891f8efbc798f55cfdbc39c40f4dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Security for sparklineage 0.1.0

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