# What is PySpark? Definition and meaning

The Python API of Apache Spark, covering DataFrames, SQL and MLlib.

## Definition

**PySpark**: The Python API of Apache Spark, covering DataFrames, SQL and MLlib.

In short: Spark with Python.

## When it is used

Writing distributed data pipelines in Python.

## Learn more

The full guide to **[PySpark](/tools/pyspark)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [Pydantic AI](/glossary/pydantic-ai) · Next term: [PyTorch](/glossary/pytorch)
