--- id: pyspark version: "4.2.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # pyspark — Apache Spark Python API License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install pyspark uv add pyspark poetry add pyspark ## Description # Apache Spark Spark is a unified analytics engine for large-scale data processing. It provides high-level APIs in Scala, Java, Python, and R, and an optimized engine that supports general computation graphs for data analysis. It also supports a rich set of higher-level tools including Spark SQL for SQL and DataFrames, pandas API on Spark for pandas workloads, MLlib for machine learning, GraphX for graph processing, and Structured Streaming for stream processing. ## Online Documentation You can find the latest Spark documentation, including a programming guide, on the [project web page](https://spark.apache.org/documentation.html) ## Python Packaging This README file only contains basic information related to pip installed PySpark. This packaging is currently experimental and may change in future versions (although we will do our best to keep compatibility). Using PySpark requires the Spark JARs, and if you are building this from source please see the builder instructions at ["Building Spark"](https://spark.apache.org/docs/latest/building-spark.html). The Python packaging for Spark is not intended to replace all of the other use cases. This... ## AI interpretation — verify before relying PySpark is Apache Spark's Python API for distributed data processing and analytics at scale, supporting SQL queries, machine learning, graph processing, and stream processing through high-level APIs. Verdict: PySpark 4.2.0 is production-stable and actively maintained with no known vulnerabilities, but carries substantial install friction from its Java/Spark dependencies. Suitable for developers working with existing Spark clusters or large-scale distributed analytics, though the experimental nature of the pip packaging and Java requirement warrant careful integration planning. [View on SkillFed](https://skillfed.io/packages/pyspark) · [View on PyPI](https://pypi.org/project/pyspark/)