findspark
Find pyspark to make it importable.
Decision gist · record as of 2026-08-14
Yes. findspark solves a genuine friction point in Spark setup with zero runtime overhead. It is actively maintained, has no dependencies, carries a permissive license, and is widely used (top 5000 PyPI packages). Install it if you work with Spark and want to avoid manual sys.path or environment variable management.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Spark installation on the system; findspark locates it but does not provide it.
- Low friction install with no runtime dependencies.
- Actively maintained; last commit 2026-03-01 with 525 repository stars.
License · maintenance · safety
BSD (3-clause) (permissive) — BSD (3-clause) permissive license allows use in most projects without significant restrictions.
last release 2022-02-11 (1645 days) · last repo commit 2026-03-01 · 525 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,668,480 downloads/mo, #2,950 on PyPI
Alternatives
Verify before relying
pip install findspark
import findspark
findspark.init()
import findspark
findspark.find()- Compatibility with modern Spark versions given the last release was 2022-02-11.
- Python version compatibility beyond 'unspecified' in the fact sheet.
- Whether the package works with all common Spark installation methods.
What it is and what it does
findspark is a small utility that solves a common setup problem: Spark is not on Python's sys.path by default, which makes importing it as a regular library awkward. Instead of manually symlinking or manipulating sys.path yourself, findspark does this at runtime when you call findspark.init(). It searches for a Spark installation using the SPARK_HOME environment variable, common installation paths (like Homebrew's default on macOS), or a path you provide explicitly.
Once initialized, Spark becomes importable. findspark can also optionally persist configuration to your IPython profile or .bashrc so that the setup happens automatically on startup. It has no runtime dependencies and installs as a pure Python wheel, making it a lightweight addition to any Spark workflow.
Use it for
- Initialize Spark in a Jupyter notebook without manual environment variable setup.
- Automate Spark path detection in a Python script that uses Spark for data processing.
- Set up Spark in an IPython profile so it's ready on every interactive session.
- Persist Spark environment variables to .bashrc for shell-based Spark workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
findspark solves a genuine friction point in Spark setup with zero runtime overhead. It is actively maintained, has no dependencies, carries a permissive license, and is widely used (top 5000 PyPI packages). Install it if you work with Spark and want to avoid manual sys.path or environment variable management.
Install
findspark on PyPI
Before you install
Low friction install with no runtime dependencies. Actively maintained; last commit 2026-03-01 with 525 repository stars.
Requires a Spark installation on the system; findspark locates it but does not provide it.
License in practice
BSD (3-clause) permissive license allows use in most projects without significant restrictions.
Quickstart
pip install findspark
import findspark
findspark.init()
import findspark
findspark.find()
Verify before relying
- Compatibility with modern Spark versions given the last release was 2022-02-11.
- Python version compatibility beyond 'unspecified' in the fact sheet.
- Whether the package works with all common Spark installation methods.
Package facts
| License | BSD (3-clause) permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,645 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,668,480 / month, #2,950 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: findspark-2.0.1-py2.py3-none-any.whl
Tags
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 import path setup”
- findsparkAdds Spark to Python's import path at runtime, making it available as…
- pytest-pythonpathAdds directories to Python's import path before pytest runs,…
- pyddqPyDDQ is a Python API for running data quality constraint checks on…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
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.
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…
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.
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.
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.
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.
See also pytest-spark · pyspark-extension · sagemaker-feature-store-pyspark · pyspark-test · pyspark-stubs · pyspark · pyspark-pandas · sparkdantic · locate