sparkhub
Overview
sparkhub is a Python package that provides a set of utilities for running spark pipelines on Google Cloud Platform (GCP) and in an on-prem cluster. It includes functions for generating Hail headers, running Hail pipelines on Dataproc clusters, and managing GCP resources.
Main Features
- Generate Hail headers for use in Hail pipelines
- Run Hail pipelines on Dataproc clusters
- Manage GCP resources, such as Dataproc clusters and Google Cloud Storage buckets
Installation
To install sparkhub, you can use pip:
pip install sparkhub
vscode settings
Before running sparkhub from vscode, you must change your user settings. Make sure the Jupyter > Interactive Window > Text Editor: Magic Commands As Comments option is checked. This will allow you to use magic commands in the interactive window of vscode.
To change your user settings, open the command palette in vscode (using the Ctrl+Shift+P keyboard shortcut) and search for "Preferences: Open User Settings".
Usage
To use sparkhub, you can import the relevant functions into your Python code:
from sparkhub.hailrunner import get_hail_header, HailRunnerGC, RunnerMagics
from sparkhub.submit import *
Then, you can call the functions with the appropriate arguments to generate headers, run pipelines, and manage GCP resources.
Maintainer
sparkhub is maintained by TJ Singh. If you have any questions or issues, please contact him at ts3475@cumc.columbia.edu.
Metadata
Release files for sparkhub 0.3.0.2
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 |
|---|---|---|---|---|
| sparkhub-0.3.0.2.tar.gz | 37.8 kB | Without provenance | Details for sparkhub-0.3.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sparkhub-0.3.0.2-py3-none-any.whl | Python 3 | none | any | Details for sparkhub-0.3.0.2-py3-none-any.whl |
Total release size: 58.2 kB
Release files / sparkhub-0.3.0.2.tar.gz
| Download URL | sparkhub-0.3.0.2.tar.gz |
|---|---|
| Size | 37.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60f33759e9bc30e3c5d037e9dd234ed78673349b589c515ba4dbe93711e925c6
|
|
BLAKE2b-256 checksum How to use checksums |
3bc7edd3ba77a4c12502da2d8f71c7ef89c626950283b0e863a599a776ec8b6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / sparkhub-0.3.0.2-py3-none-any.whl
| Download URL | sparkhub-0.3.0.2-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e05de757c2d614596c967b6905c7bbbbe4251cd54e3444784eae9a8737f6ed81
|
|
BLAKE2b-256 checksum How to use checksums |
08f412f47b8d2410edf84a4ea2e1dce52fe643fe9f8abeaaea77d456b9d61836
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for sparkhub 0.3.0.2
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.