Metadata-Version: 2.4
Name: framespec
Version: 0.0.2
Summary: Declarative DataFrame specifications for PySpark.
Author: RyPy
License-Expression: MIT
Requires-Dist: pyspark>=4.0.0
Requires-Dist: packaging>=24.0
Requires-Dist: typing-extensions>=4.10.0
Requires-Python: >=3.12
Description-Content-Type: text/markdown

> 🛠️ Currently under construction...

# framespec

Declarative specifications for PySpark DataFrames.

`framespec` lets you define column types and attach reusable expressions
that capture validation rules, invariants, and metrics. Specs can be applied
to any DataFrame—intermediate, transformed, or table-backed.

## Installation

```bash
pip install framespec
```

## Example

```py
from framespec import framespec, Int, Timestamp, greater_than

@framespec
class Events:
    start: Timestamp
    end: Timestamp(expressions=[greater_than(start)])
```

## License

MIT