$npx skillfedfor your agent

raydp

RayDP: Distributed Data Processing on Ray

With conditionsPyPI Distributed ComputingReleased Mar 2026108.5K downloads / moApache 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — raydp-1.6.5-py3-none-any.whl
v1.6.5 · released 2026-03-12 · Python >=3.6 · 7 runtime deps: numpy, pandas, psutil, pyarrow, ray, pyspark, protobuf

Yes, if you are building distributed data and AI pipelines and want to avoid managing separate Spark and Ray clusters. The active maintenance, permissive license, and low install friction make it a practical choice. Requires Java setup and familiarity with both Spark and Ray APIs; not suitable if you need only Spark or only Ray in isolation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Java to be installed with JAVA_HOME environment variable set; Ray and PySpark must be available in the Python environment.
  • Low friction: pure Python wheel with no compiled dependencies.
  • Active maintenance (last commit 2026-06-10) and current Python support (3.8, 3.9, 3.10).

License · maintenance · safety

Apache 2.0 (permissive) — Apache 2.0 permissive license allows commercial and private use with minimal restrictions, suitable for most production environments.

last release 2026-03-12 (155 days) · last repo commit 2026-06-10 · 376 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 108,521 downloads/mo, #12,553 on PyPI

Verify before relying

pip install raydp

import ray
import raydp

ray.init()
spark = raydp.init_spark(app_name='Example', num_executors=2, executor_cores=2, executor_memory='4GB')
df = spark.createDataFrame([('word',)], ['text'])
df.show()
raydp.stop_spark()
  • Performance overhead of running Spark on Ray versus native Spark clusters in production scenarios.
  • Compatibility matrix with specific Ray and PySpark versions beyond the stated Python 3.6+ requirement.
  • Scalability limits and resource management behavior under high-concurrency workloads.
Same gist for agents: .md · .json

What it is and what it does

RayDP bridges Spark and Ray, allowing you to run Spark jobs as Ray actors on a single Ray cluster instead of managing separate Spark and Ray infrastructure. This eliminates the operational overhead of maintaining two clusters and removes the latency of exchanging data through external storage systems.

The package provides three main integration patterns: direct Spark-on-Ray execution via `raydp.init_spark()`, bidirectional conversion between Spark DataFrames and Ray Datasets for consumption by XGBoost or Ray Train, and high-level Estimator APIs (TorchEstimator, TFEstimator) that wrap Ray Train to train PyTorch or TensorFlow models directly on Spark DataFrames. It depends on numpy, pandas, psutil, pyarrow, ray, pyspark, and protobuf.

Use it for

  • Build end-to-end ML pipelines combining Spark data processing with PyTorch or TensorFlow training in a single Python script.
  • Run on-demand Spark jobs in cloud environments without manually provisioning a separate Spark cluster.
  • Convert Spark DataFrames to Ray Datasets for distributed training with XGBoost or Horovod on Ray.
  • Unify data processing and model serving on a single Ray cluster managed by an ML infrastructure team.
  • Scale data science workflows from laptop to cloud without rewriting code or managing multiple cluster types.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building distributed data and AI pipelines and want to avoid managing separate Spark and Ray clusters.

The active maintenance, permissive license, and low install friction make it a practical choice. Requires Java setup and familiarity with both Spark and Ray APIs; not suitable if you need only Spark or only Ray in isolation.

Install

raydp on PyPI

Before you install

Low friction: pure Python wheel with no compiled dependencies. Active maintenance (last commit 2026-06-10) and current Python support (3.8, 3.9, 3.10). Requires Ray and PySpark as runtime dependencies, plus Java and JAVA_HOME configuration.

Requires Java to be installed with JAVA_HOME environment variable set; Ray and PySpark must be available in the Python environment.

License in practice

Apache 2.0 permissive license allows commercial and private use with minimal restrictions, suitable for most production environments.

Quickstart

pip install raydp

import ray
import raydp

ray.init()
spark = raydp.init_spark(app_name='Example', num_executors=2, executor_cores=2, executor_memory='4GB')
df = spark.createDataFrame([('word',)], ['text'])
df.show()
raydp.stop_spark()

Verify before relying

  • Performance overhead of running Spark on Ray versus native Spark clusters in production scenarios.
  • Compatibility matrix with specific Ray and PySpark versions beyond the stated Python 3.6+ requirement.
  • Scalability limits and resource management behavior under high-concurrency workloads.

Package facts

LicenseApache 2.0 permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
numpypandaspsutilpyarrowraypysparkprotobuf
MaintenanceActively maintained 155 days since the last release
Last repo commit
First released
Downloads108,521 / month, #12,553 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: raydp-1.6.5-py3-none-any.whl

Tags

Capabilities
spark on raydistributed data processingspark ray integrationunified data and ai pipelinespark dataframe to ray datasetdistributed machine learning pipelinespark executor on ray
Topics
spark-ray-integrationdistributed-ml-pipelinedata-processing
PyPI keywords
raydpsparkraydistributeddata-processing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “spark on ray”

  • raydpRayDP runs Apache Spark on Ray and integrates Spark with AI…
  • fugueFugue provides a unified Python interface to write code once and…
  • statsforecastStatsForecast provides fast implementations of statistical…

Give your agent the search over MCP, or paste the wish link into any chat.

More Distributed Computing packages

grpcio Worth it
PyPI · Distributed Computing · released Jul 2026

gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.

Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.

Apache-2.0compiled wheel · 3.10+
446.4Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
cloudpickle Worth it
PyPI · Scientific/Engineering · released Nov 2025

Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.

Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.

BSD-3-Clausepure Python · 3.8+
148.4Mdownloads / mo
smart-open Worth it
PyPI · Distributed Computing · released Jul 2026

Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.

Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.

MITpure Python
72.8Mdownloads / mo
portalocker Worth it
PyPI · Libraries · released Aug 2026

Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.

Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.

BSD-3-Clausepure Python · 3.10+
65.1Mdownloads / mo
ray Worth it
PyPI · Distributed Computing · released Aug 2026

Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.

permissive licensecompiled wheel · 3.10+
63.3Mdownloads / mo

See also pyspark · pyspark-pandas · pyspark-client · daft · apache-sedona · spark-sklearn · aistore · xgboost-ray · Spark