framespec 0.0.1__tar.gz

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.
@@ -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,30 @@
1
+ > 🛠️ Currently under construction...
2
+
3
+ # framespec
4
+
5
+ Declarative specifications for PySpark DataFrames.
6
+
7
+ `framespec` lets you define column types and attach reusable expressions
8
+ that capture validation rules, invariants, and metrics. Specs can be applied
9
+ to any DataFrame—intermediate, transformed, or table-backed.
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ pip install framespec
15
+ ```
16
+
17
+ ## Example
18
+
19
+ ```py
20
+ from framespec import framespec, Int, Timestamp, greater_than
21
+
22
+ @framespec
23
+ class Events:
24
+ start: Timestamp
25
+ end: Timestamp(expressions=[greater_than(start)])
26
+ ```
27
+
28
+ ## License
29
+
30
+ MIT
@@ -0,0 +1,14 @@
1
+ [project]
2
+ name = "framespec"
3
+ version = "0.0.1"
4
+ description = "Declarative DataFrame specifications for PySpark."
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ dependencies = []
8
+
9
+ [[project.authors]]
10
+ name = "Ryan"
11
+
12
+ [build-system]
13
+ requires = ["uv_build>=0.12.5,<0.13.0"]
14
+ build-backend = "uv_build"
@@ -0,0 +1,12 @@
1
+ [project]
2
+ name = "framespec"
3
+ version = "0.0.1"
4
+ description = "Declarative DataFrame specifications for PySpark."
5
+ readme = "README.md"
6
+ authors = [{ name = "Ryan" }]
7
+ requires-python = ">=3.12"
8
+ dependencies = []
9
+
10
+ [build-system]
11
+ requires = ["uv_build>=0.12.5,<0.13.0"]
12
+ build-backend = "uv_build"
@@ -0,0 +1,2 @@
1
+ def main() -> None:
2
+ print("Hello from framespec!")