Metadata-Version: 2.4
Name: singlespark
Version: 0.1.0
Summary: PySpark emulator — Polars for DataFrames, DuckDB for SQL, fake HDFS on local filesystem
Author: Tecnocriollo
License: MIT
Project-URL: Homepage, https://github.com/tecnocriollo/fakespark
Project-URL: Repository, https://github.com/tecnocriollo/fakespark
Project-URL: Issues, https://github.com/tecnocriollo/fakespark/issues
Keywords: pyspark,spark,polars,duckdb,testing,emulator
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Database
Classifier: Intended Audience :: Developers
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: polars>=1.0
Requires-Dist: duckdb>=1.0
Requires-Dist: pyarrow>=14
Requires-Dist: pandas>=2.0
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Dynamic: license-file

# singlespark

PySpark emulator — no JVM required.

- **Polars** for DataFrame operations
- **DuckDB** for Spark SQL
- **Local filesystem** for fake HDFS

## Quick start

```python
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()
```
