livy
A Python client for Apache Livy
What it is and what it does
Livy is a Python wrapper around Apache Livy, an open-source REST interface for Spark clusters. It lets you submit and manage Spark jobs from Python without direct cluster access, using HTTP requests under the hood. The package depends on pandas, requests, and dataclasses to handle data serialization, HTTP communication, and Python 3.6 compatibility.
The package is no longer maintained. Its last commit was 2022-01-05, and the latest release was 2021-01-27. If your Spark and Livy infrastructure has remained stable and compatible with that era, it may still work; otherwise, you risk incompatibility with newer cluster versions or missing security patches.
Use it for:
- Submit Python code to a remote Spark cluster for distributed execution without SSH or direct cluster access.
- Integrate Spark job submission into Python data pipelines or ETL workflows via REST.
- Prototype or test Spark jobs from a local development environment against a shared cluster.
- Build automation that triggers Spark computations from Python applications.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client for Apache Livy that enables remote code execution on Spark clusters via Livy's REST interface.
No, unless you are locked into a legacy Spark/Livy setup from 2021 or earlier and cannot upgrade. The package is abandoned with no maintenance since 2022, no known vulnerabilities currently reported, but no assurance of compatibility with modern Spark or Livy versions. Consider an actively maintained alternative if possible.
Install
livy on PyPI
pip
pip install livyuv
uv add livypoetry
poetry add livyInstalling livy
Before you install
Low install friction with standard dependencies (pandas, requests, dataclasses), but the package is abandoned—last commit was 2022-01-05 and no releases since 2021-01-27. Maintenance has ceased for over three years.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution in your own projects.
Quickstart
pip install -U livy
import livy
# Create a client and submit code to a Livy REST endpoint
Requires Python 3.6 or later and a running Livy REST interface endpoint.
Verify before relying
- Compatibility with recent Spark or Livy versions—last release predates current ecosystem standards by years.
- Whether dataclasses is a runtime dependency or a Python 3.6 compatibility shim no longer needed.
- Active community or fork status given the long maintenance gap.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — pandas, requests, dataclasses |
| Maintenance | abandoned — 2,025 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 288,683/month — #8,016 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: livy-0.8.0-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
pyspark-clientPython client for connecting to Apache Spark…
permissive · top 5,000 on PyPI
hdijupyterutilsProvides utility functions and Jupyter…
permissive · top 5,000 on PyPI
apache-airflow-providers-apache-livyIntegrates Apache Livy with Apache Airflow to…
permissive · top 15,000 on PyPI
azure-synapse-sparkClient library for interacting with Apache…
permissive · top 5,000 on PyPI
databricks-connectDatabricks Connect is a client library that…
unclear · top 5,000 on PyPI
snakebite-py3Provides a pure Python HDFS client library and…
permissive · top 5,000 on PyPI
joblibsparkRegisters Apache Spark as a distributed backend…
permissive · top 15,000 on PyPI
autovizwidgetAutovizwidget automatically generates…
permissive · top 5,000 on PyPI
openshift-clientProvides a Python API for interacting with…
permissive · top 15,000 on PyPI
pylxdpylxd provides a Python interface to the LXD…
permissive · top 15,000 on PyPI