framespec 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
framespec/__init__.py ADDED
@@ -0,0 +1,2 @@
1
+ def main() -> None:
2
+ print("Hello from framespec!")
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.3
2
+ Name: framespec
3
+ Version: 0.0.1
4
+ Summary: Declarative DataFrame specifications for PySpark.
5
+ Author: Ryan
6
+ Requires-Python: >=3.12
7
+ Description-Content-Type: text/markdown
8
+
9
+ > 🛠️ Currently under construction...
10
+
11
+ # framespec
12
+
13
+ Declarative specifications for PySpark DataFrames.
14
+
15
+ `framespec` lets you define column types and attach reusable expressions
16
+ that capture validation rules, invariants, and metrics. Specs can be applied
17
+ to any DataFrame—intermediate, transformed, or table-backed.
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ pip install framespec
23
+ ```
24
+
25
+ ## Example
26
+
27
+ ```py
28
+ from framespec import framespec, Int, Timestamp, greater_than
29
+
30
+ @framespec
31
+ class Events:
32
+ start: Timestamp
33
+ end: Timestamp(expressions=[greater_than(start)])
34
+ ```
35
+
36
+ ## License
37
+
38
+ MIT
@@ -0,0 +1,4 @@
1
+ framespec/__init__.py,sha256=eA5Fw_5Rck76w0qJ-JhdN6ZFYLlK1lnQaJ3xGXWSjKw,55
2
+ framespec-0.0.1.dist-info/WHEEL,sha256=4OL6Foqnnp3xRY5wMkjgc25_i5YJC6dKsC6LPcjqEoU,80
3
+ framespec-0.0.1.dist-info/METADATA,sha256=wJimLZJ7aVB-CEOHm88ld4YP2VtrVMFdvfOyUAherpk,765
4
+ framespec-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: uv 0.12.5
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any