qmetrics.net

sparkmagic

Jupyter magics and kernels for remote Spark clusters

Python library and Jupyter kernels that run Spark code on remote clusters through Livy, with SQL magics and notebook visualizations.

Overview

Sparkmagic connects Jupyter notebooks to remote Apache Spark clusters through a REST interface, chiefly Livy. Analysts and engineers can run Python, Scala, R, and SQL against shared clusters without installing Spark components on the notebook host.

You can use IPython cell magics such as %%spark and %%sql from a standard notebook, or install dedicated PySpark, Scala Spark, and SparkR kernels that auto-connect, manage sessions, and surface cluster configuration in the UI. The library creates SparkContext and HiveContext automatically, visualizes SQL results, exposes application logs via %%info, and can pull query output into Pandas for local plotting or model handoff.

Authentication to Livy supports none, HTTP basic access, Kerberos, or custom authenticator classes registered in configuration. A Jupyter server extension can switch cluster endpoints programmatically. Optional Docker Compose stacks bundle Jupyter, Livy, and a local Spark instance for development, though production setups normally target separate cluster endpoints.

Because execution happens on the remote Spark driver, structured results travel as JSON back to the client. Client-side %%local manipulation therefore expects Python when working with returned dataframes.

Key features

  • Livy-backed remote Spark sessions
  • %%spark and %%sql IPython magics
  • PySpark, Scala, and SparkR kernels
  • SQL result visualization widgets
  • Pandas export of query output
  • Basic, Kerberos, or custom auth
  • Jupyter server extension for clusters
  • Send local files to remote Spark

Use cases

  • Notebook access to shared Spark clusters
  • Remote PySpark and Scala development
  • SQL exploration with inline charts
  • Kerberos-secured enterprise notebooks
  • Local-to-cluster model or data upload

Tags

Similar software

Docling

Document parsing toolkit for generative AI pipelines

Docling ingests PDFs, office files, media, email, and many other formats into a unified document model. It targets downstream RAG and agent workflows with local execution options.

★ 71.1k⟳ yesterdayMIT

Datasets

Hub-backed library for loading and processing AI datasets

A Python library to download public datasets in one line, preprocess local or hub data, and feed NumPy, Pandas, PyTorch, TensorFlow, or JAX workflows with an Apache Arrow backend.

★ 22.2k⟳ todayApache-2.0

Unstructured

Document ingestion and preprocessing for LLM pipelines

Unstructured is a Python library for parsing images and documents into structured elements. It targets PDFs, Office files, HTML, and more for LLM ingestion workflows.

★ 15.8k⟳ 3 days agoApache-2.0

CocoIndex

Incremental Python data framework for AI agent context

CocoIndex is a Python framework that turns codebases, documents, Slack, PDFs, video, and other sources into continuously updated context for AI agents and LLM apps, reprocessing only changed inputs.

★ 11.9k⟳ yesterdayApache-2.0

Kedro

Python framework for reproducible data and ML pipelines

Kedro is an open-source Python framework for modular, maintainable data engineering and data science pipelines, hosted by LF AI & Data.

★ 11.1k⟳ todayApache-2.0

DataDesigner

NeMo orchestration framework for synthetic datasets

NeMo Data Designer builds structured synthetic datasets with samplers, LLMs, validators, and seed data, using your chosen model endpoints.

★ 2.4k⟳ 2 days agoApache-2.0