PySpark emulator — Polars for DataFrames, DuckDB for SQL, fake HDFS on local filesystem
Project description
singlespark
Singlenode spark — no JVM required. Use the best powerful APIs for Data on top.
- Polars for DataFrame operations
- DuckDB for Spark SQL
- Local filesystem for fake HDFS
Installation
pip install singlespark
Quick start
from singlespark import SparkSession
from singlespark.sql import functions as F
spark = SparkSession.builder.appName("MyApp").getOrCreate()
df = spark.createDataFrame([("Alice", 30), ("Bob", 25)], ["name", "age"])
df.filter(F.col("age") > 26).show()
spark.stop()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file singlespark-0.1.3.tar.gz.
File metadata
- Download URL: singlespark-0.1.3.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fe5210a19db05cf325bb3aa8b55fa7c1d5c0a3804a04ac1ae24da7c5cfa3ff6
|
|
| MD5 |
004895378471f713a390633eef0dbf96
|
|
| BLAKE2b-256 |
071bdeb9eafc01efe845dc6ecba48d6ea823735b3e02d63032c5ddb4178339f0
|
Provenance
The following attestation bundles were made for singlespark-0.1.3.tar.gz:
Publisher:
publish.yml on tecnocriollo/singlespark
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
singlespark-0.1.3.tar.gz -
Subject digest:
0fe5210a19db05cf325bb3aa8b55fa7c1d5c0a3804a04ac1ae24da7c5cfa3ff6 - Sigstore transparency entry: 1004410460
- Sigstore integration time:
-
Permalink:
tecnocriollo/singlespark@52e411245fe2cc06089b1dafcc38308dec19647d -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/tecnocriollo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@52e411245fe2cc06089b1dafcc38308dec19647d -
Trigger Event:
push
-
Statement type:
File details
Details for the file singlespark-0.1.3-py3-none-any.whl.
File metadata
- Download URL: singlespark-0.1.3-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f50aa2ddaa3ad7c21126bfc86cca3e552dbf4928ebd322894f0e7bc95043f86
|
|
| MD5 |
642d79fbf4dc661c47a95181b4e71fb5
|
|
| BLAKE2b-256 |
4d14278ee5b386194b836f7894c0519e4bb3860fc99be4d319c74c3a867aac36
|
Provenance
The following attestation bundles were made for singlespark-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on tecnocriollo/singlespark
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
singlespark-0.1.3-py3-none-any.whl -
Subject digest:
4f50aa2ddaa3ad7c21126bfc86cca3e552dbf4928ebd322894f0e7bc95043f86 - Sigstore transparency entry: 1004410465
- Sigstore integration time:
-
Permalink:
tecnocriollo/singlespark@52e411245fe2cc06089b1dafcc38308dec19647d -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/tecnocriollo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@52e411245fe2cc06089b1dafcc38308dec19647d -
Trigger Event:
push
-
Statement type: