sqlleaf 0.1.0__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.
- sqlleaf/__init__.py +1 -0
- sqlleaf/main.py +12 -0
- sqlleaf-0.1.0.dist-info/METADATA +26 -0
- sqlleaf-0.1.0.dist-info/RECORD +6 -0
- sqlleaf-0.1.0.dist-info/WHEEL +5 -0
- sqlleaf-0.1.0.dist-info/top_level.txt +1 -0
sqlleaf/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.0"
|
sqlleaf/main.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import networkx as nx
|
|
2
|
+
import sqlglot
|
|
3
|
+
|
|
4
|
+
def hello_sqlleaf():
|
|
5
|
+
"""A basic function to demonstrate dependencies."""
|
|
6
|
+
g = nx.Graph()
|
|
7
|
+
g.add_node(1)
|
|
8
|
+
parsed = sqlglot.parse_one("SELECT * FROM table")
|
|
9
|
+
return f"sqlleaf is ready! Graph nodes: {g.number_of_nodes()}, Parsed SQL: {parsed.sql()}"
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
print(hello_sqlleaf())
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sqlleaf
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Trace your data
|
|
5
|
+
Author-email: Zac Lewis <zac@futuresoftware.systems>
|
|
6
|
+
Project-URL: Homepage, https://github.com/rererecursive/sqlleaf
|
|
7
|
+
Requires-Python: >=3.14
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Requires-Dist: networkx==3.6.1
|
|
10
|
+
Requires-Dist: sqlglot==30.11.0
|
|
11
|
+
|
|
12
|
+
# sqlleaf
|
|
13
|
+
|
|
14
|
+
Trace your data
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pip install .
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
```python
|
|
25
|
+
import sqlleaf
|
|
26
|
+
```
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
sqlleaf/__init__.py,sha256=kUR5RAFc7HCeiqdlX36dZOHkUI5wI6V_43RpEcD8b-0,22
|
|
2
|
+
sqlleaf/main.py,sha256=KxW-vjZCWwASLxXFIOAxtNJCwoawjKquBTHtjz75SM8,356
|
|
3
|
+
sqlleaf-0.1.0.dist-info/METADATA,sha256=1vaTxXwtnAVbrpWzkMozSiw3Z7huskkE18AfxkSqeU0,432
|
|
4
|
+
sqlleaf-0.1.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
5
|
+
sqlleaf-0.1.0.dist-info/top_level.txt,sha256=dokK2cq3jbXlILUgh6ymk5kGkJj7FqvTSBLGEzSRpjQ,8
|
|
6
|
+
sqlleaf-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
sqlleaf
|