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

pandas

Python data structures for labeled analysis

pandas is a Python package for working with labeled, tabular, and time-series data. It provides Series and DataFrame objects with alignment, grouping, and rich import and export options.

  • Series and DataFrame structures
  • Missing data handling
  • Group-by aggregation and transforms
PythonDetails →
★ 50.8k⟳ todayBSD-3-Clause

Polars

Rust analytical query engine for DataFrames

Polars is a DataFrame and SQL query engine written in Rust, exposed to Python, R, Node.js, and Rust. It emphasizes parallel, vectorized execution with lazy optimization and out-of-core streaming.

  • Lazy DataFrame query optimizer
  • SQL and expression APIs combined
  • Multi-threaded vectorized execution
RustDetails →
★ 40.7k⟳ todayMIT

Luigi

Python workflow manager for complex batch job pipelines

Luigi is a Python package for chaining batch jobs with dependency resolution, failure handling, and workflow visualization. It targets long-running data processing such as Hadoop work.

  • Dependency resolution between batch tasks
  • Workflow and failure management
  • Web task search and visualizer
PythonWeb, CLIDetails →
★ 18.8k⟳ yesterdayApache-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.

  • Auto-detecting partition function
  • PDF, Office, HTML, and image support
  • Optional format-specific extras
HTMLLinux, macOS, DockerDetails →
★ 15.8k⟳ todayApache-2.0

cuDF

GPU-accelerated DataFrame library for tabular data

NVIDIA cuDF processes tabular data on GPUs with pandas-like Python APIs. It includes libcudf, optional pandas and Polars acceleration paths, and fits the RAPIDS CUDA-X stack.

  • pandas-like Python DataFrame API
  • libcudf Arrow columnar core
  • cudf.pandas zero-change acceleration
C++Details →
★ 9.8k⟳ todayApache-2.0

dlt

Python library for loading data into datasets

dlt is a Python library that extracts data from APIs, SQL, files, and Python iterables, infers schemas, and loads typed datasets into dozens of destinations.

  • REST, SQL, and file extractors
  • Schema inference and evolution
  • Incremental and merge decorators
PythonDetails →
★ 6.2k⟳ yesterdayApache-2.0