Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

singlespark-0.1.3.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

singlespark-0.1.3-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

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

Hashes for singlespark-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0fe5210a19db05cf325bb3aa8b55fa7c1d5c0a3804a04ac1ae24da7c5cfa3ff6
MD5 004895378471f713a390633eef0dbf96
BLAKE2b-256 071bdeb9eafc01efe845dc6ecba48d6ea823735b3e02d63032c5ddb4178339f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for singlespark-0.1.3.tar.gz:

Publisher: publish.yml on tecnocriollo/singlespark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for singlespark-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4f50aa2ddaa3ad7c21126bfc86cca3e552dbf4928ebd322894f0e7bc95043f86
MD5 642d79fbf4dc661c47a95181b4e71fb5
BLAKE2b-256 4d14278ee5b386194b836f7894c0519e4bb3860fc99be4d319c74c3a867aac36

See more details on using hashes here.

Provenance

The following attestation bundles were made for singlespark-0.1.3-py3-none-any.whl:

Publisher: publish.yml on tecnocriollo/singlespark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page