PySpark Apache Beam Runner
Overview
(WHY? Doesn't Beam ship with a Spark runner?)
This project introduces a custom Apache Beam runner that leverages PySpark directly. This is not a 'portability' framework compliant runner! It is designed for environments where a SparkSession is available but a Spark master server is not. This is useful for e.g. serverless environments where jobs are triggered without a long-running cluster, sidestepping the expectations of Beam's default Spark runner.
The other benefit is that this strategy for building a runner helps to keep the stack as python-centric as possible. The compilation process, the optimizations, the execution planning - these all happen in python (for better or worse). Depending on your needs, this might be a significant advantage.
Features
- Direct Integration with PySpark: Utilizes a PySpark assumed SparkSession directly.
- Serverless Compatibility: Ideal for environments without a dedicated Spark master, supporting execution in serverless frameworks.
- Simplified Setup: Potentially reduces the complexity of job submission by avoiding the need for port listening on a Spark master.
Getting Started
Prerequisites
- Apache Spark
- Apache Beam
- Python 3.8 or later
Installation
To use this custom runner, just pip install as you would any library
pip install beam-pyspark-runner
Metadata
Release files for beam-pyspark-runner 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| beam_pyspark_runner-0.0.3.tar.gz | 10.8 kB | Without provenance | Details for beam_pyspark_runner-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| beam_pyspark_runner-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for beam_pyspark_runner-0.0.3-py3-none-any.whl |
Total release size: 22.6 kB
Release files / beam_pyspark_runner-0.0.3.tar.gz
| Download URL | beam_pyspark_runner-0.0.3.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a02ecbf325f9d8c8885a92218c79edfbd43ade2d4f4502a76afa05dd3ccd44d
|
|
BLAKE2b-256 checksum How to use checksums |
cc0ca51d5b39b2beda69129da1e52825dcdc99b055ac11810258b21deb348fac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / beam_pyspark_runner-0.0.3-py3-none-any.whl
| Download URL | beam_pyspark_runner-0.0.3-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33c458c2f1b48d7a5042732d4fd55b2739cfad19f6d7a1f485d270e57c1d5141
|
|
BLAKE2b-256 checksum How to use checksums |
5ec44e55ec84c154902a1b334ecc12caab5fb38cdf79e0ea7bd809136dd581fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for beam-pyspark-runner 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.