intentdataflow 0.3.10__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.
- intentdataflow-0.3.10/LICENSE +202 -0
- intentdataflow-0.3.10/NOTICE +4 -0
- intentdataflow-0.3.10/PKG-INFO +191 -0
- intentdataflow-0.3.10/README.md +143 -0
- intentdataflow-0.3.10/pyproject.toml +65 -0
- intentdataflow-0.3.10/setup.cfg +4 -0
- intentdataflow-0.3.10/src/intentdataflow.egg-info/PKG-INFO +191 -0
- intentdataflow-0.3.10/src/intentdataflow.egg-info/SOURCES.txt +146 -0
- intentdataflow-0.3.10/src/intentdataflow.egg-info/dependency_links.txt +1 -0
- intentdataflow-0.3.10/src/intentdataflow.egg-info/entry_points.txt +2 -0
- intentdataflow-0.3.10/src/intentdataflow.egg-info/requires.txt +47 -0
- intentdataflow-0.3.10/src/intentdataflow.egg-info/top_level.txt +1 -0
- intentdataflow-0.3.10/src/intentflow/__init__.py +2 -0
- intentdataflow-0.3.10/src/intentflow/auth.py +30 -0
- intentdataflow-0.3.10/src/intentflow/business_rules.py +77 -0
- intentdataflow-0.3.10/src/intentflow/catalogs.py +100 -0
- intentdataflow-0.3.10/src/intentflow/change_review.py +331 -0
- intentdataflow-0.3.10/src/intentflow/checks/__init__.py +92 -0
- intentdataflow-0.3.10/src/intentflow/checks/airflow3.py +174 -0
- intentdataflow-0.3.10/src/intentflow/checks/business.py +27 -0
- intentdataflow-0.3.10/src/intentflow/checks/catalog.py +43 -0
- intentdataflow-0.3.10/src/intentflow/checks/cluster.py +81 -0
- intentdataflow-0.3.10/src/intentflow/checks/contracts.py +79 -0
- intentdataflow-0.3.10/src/intentflow/checks/cost.py +35 -0
- intentdataflow-0.3.10/src/intentflow/checks/dbt_quality.py +90 -0
- intentdataflow-0.3.10/src/intentflow/checks/dbt_run.py +83 -0
- intentdataflow-0.3.10/src/intentflow/checks/deep.py +180 -0
- intentdataflow-0.3.10/src/intentflow/checks/dq.py +53 -0
- intentdataflow-0.3.10/src/intentflow/checks/elementary.py +50 -0
- intentdataflow-0.3.10/src/intentflow/checks/external.py +91 -0
- intentdataflow-0.3.10/src/intentflow/checks/lakehouse.py +46 -0
- intentdataflow-0.3.10/src/intentflow/checks/lint.py +81 -0
- intentdataflow-0.3.10/src/intentflow/checks/orchestration.py +148 -0
- intentdataflow-0.3.10/src/intentflow/checks/probes.py +66 -0
- intentdataflow-0.3.10/src/intentflow/checks/runtime_history.py +94 -0
- intentdataflow-0.3.10/src/intentflow/checks/schema_drift.py +92 -0
- intentdataflow-0.3.10/src/intentflow/checks/sql_quality.py +274 -0
- intentdataflow-0.3.10/src/intentflow/checks/streaming.py +62 -0
- intentdataflow-0.3.10/src/intentflow/cli.py +914 -0
- intentdataflow-0.3.10/src/intentflow/contracts.py +107 -0
- intentdataflow-0.3.10/src/intentflow/datadiff.py +172 -0
- intentdataflow-0.3.10/src/intentflow/dbt_loader.py +194 -0
- intentdataflow-0.3.10/src/intentflow/dbt_results.py +55 -0
- intentdataflow-0.3.10/src/intentflow/dq_results.py +108 -0
- intentdataflow-0.3.10/src/intentflow/extensions.py +51 -0
- intentdataflow-0.3.10/src/intentflow/external.py +381 -0
- intentdataflow-0.3.10/src/intentflow/http_utils.py +89 -0
- intentdataflow-0.3.10/src/intentflow/i18n.py +76 -0
- intentdataflow-0.3.10/src/intentflow/incidents.py +83 -0
- intentdataflow-0.3.10/src/intentflow/integrations.py +139 -0
- intentdataflow-0.3.10/src/intentflow/lakehouse.py +62 -0
- intentdataflow-0.3.10/src/intentflow/lineage.py +336 -0
- intentdataflow-0.3.10/src/intentflow/lineage_api.py +244 -0
- intentdataflow-0.3.10/src/intentflow/lineage_oracle.py +374 -0
- intentdataflow-0.3.10/src/intentflow/locale/pt.json +1300 -0
- intentdataflow-0.3.10/src/intentflow/model.py +43 -0
- intentdataflow-0.3.10/src/intentflow/monitoring.py +197 -0
- intentdataflow-0.3.10/src/intentflow/notify.py +154 -0
- intentdataflow-0.3.10/src/intentflow/ol_emit.py +93 -0
- intentdataflow-0.3.10/src/intentflow/openlineage.py +168 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/__init__.py +53 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/airflow.py +69 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/aws.py +93 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/dagster.py +48 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/dbtcloud.py +68 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/extra.py +135 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/ingestion.py +112 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/kestra.py +27 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/more.py +135 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/prefect.py +53 -0
- intentdataflow-0.3.10/src/intentflow/orchestrators/spark.py +118 -0
- intentdataflow-0.3.10/src/intentflow/otel.py +53 -0
- intentdataflow-0.3.10/src/intentflow/overview.py +123 -0
- intentdataflow-0.3.10/src/intentflow/preflight.py +363 -0
- intentdataflow-0.3.10/src/intentflow/promexport.py +39 -0
- intentdataflow-0.3.10/src/intentflow/pyflow.py +554 -0
- intentdataflow-0.3.10/src/intentflow/risks.py +178 -0
- intentdataflow-0.3.10/src/intentflow/runner.py +264 -0
- intentdataflow-0.3.10/src/intentflow/secrets_box.py +84 -0
- intentdataflow-0.3.10/src/intentflow/sqlmesh_loader.py +134 -0
- intentdataflow-0.3.10/src/intentflow/store.py +1006 -0
- intentdataflow-0.3.10/src/intentflow/streaming.py +115 -0
- intentdataflow-0.3.10/src/intentflow/totp.py +38 -0
- intentdataflow-0.3.10/src/intentflow/warehouses/__init__.py +190 -0
- intentdataflow-0.3.10/src/intentflow/warehouses/cloud.py +160 -0
- intentdataflow-0.3.10/src/intentflow/warehouses/more.py +342 -0
- intentdataflow-0.3.10/src/intentflow/web.html +878 -0
- intentdataflow-0.3.10/src/intentflow/web.py +726 -0
- intentdataflow-0.3.10/tests/test_airbyte_real.py +26 -0
- intentdataflow-0.3.10/tests/test_airflow3_migration.py +80 -0
- intentdataflow-0.3.10/tests/test_airflow3_real.py +54 -0
- intentdataflow-0.3.10/tests/test_airflow_real.py +52 -0
- intentdataflow-0.3.10/tests/test_argo_real.py +29 -0
- intentdataflow-0.3.10/tests/test_auth_fail_closed.py +11 -0
- intentdataflow-0.3.10/tests/test_aws_azure.py +99 -0
- intentdataflow-0.3.10/tests/test_business_rules.py +143 -0
- intentdataflow-0.3.10/tests/test_catalogs.py +74 -0
- intentdataflow-0.3.10/tests/test_change_review.py +369 -0
- intentdataflow-0.3.10/tests/test_checks.py +267 -0
- intentdataflow-0.3.10/tests/test_cloud_adapters.py +87 -0
- intentdataflow-0.3.10/tests/test_contracts.py +76 -0
- intentdataflow-0.3.10/tests/test_dbt_cloud.py +90 -0
- intentdataflow-0.3.10/tests/test_dbt_ol_real.py +35 -0
- intentdataflow-0.3.10/tests/test_dbt_run.py +82 -0
- intentdataflow-0.3.10/tests/test_deep_checks.py +84 -0
- intentdataflow-0.3.10/tests/test_dialects.py +59 -0
- intentdataflow-0.3.10/tests/test_diff_cost_sla.py +86 -0
- intentdataflow-0.3.10/tests/test_dq_results.py +60 -0
- intentdataflow-0.3.10/tests/test_e2e_ui.py +82 -0
- intentdataflow-0.3.10/tests/test_elementary.py +57 -0
- intentdataflow-0.3.10/tests/test_exposures.py +106 -0
- intentdataflow-0.3.10/tests/test_external.py +443 -0
- intentdataflow-0.3.10/tests/test_hardening_2026_11.py +116 -0
- intentdataflow-0.3.10/tests/test_i18n.py +63 -0
- intentdataflow-0.3.10/tests/test_ingestion.py +125 -0
- intentdataflow-0.3.10/tests/test_integrations_ui.py +52 -0
- intentdataflow-0.3.10/tests/test_k8s_prometheus.py +74 -0
- intentdataflow-0.3.10/tests/test_lab.py +103 -0
- intentdataflow-0.3.10/tests/test_lakehouse.py +70 -0
- intentdataflow-0.3.10/tests/test_lineage.py +45 -0
- intentdataflow-0.3.10/tests/test_lineage_api.py +95 -0
- intentdataflow-0.3.10/tests/test_lineage_indirect.py +115 -0
- intentdataflow-0.3.10/tests/test_lineage_oracle.py +55 -0
- intentdataflow-0.3.10/tests/test_lineage_perf.py +37 -0
- intentdataflow-0.3.10/tests/test_lint.py +47 -0
- intentdataflow-0.3.10/tests/test_mage_real.py +44 -0
- intentdataflow-0.3.10/tests/test_notify_ci.py +233 -0
- intentdataflow-0.3.10/tests/test_ol_emit.py +86 -0
- intentdataflow-0.3.10/tests/test_openlineage_airflow_real.py +60 -0
- intentdataflow-0.3.10/tests/test_openlineage_star_pg.py +94 -0
- intentdataflow-0.3.10/tests/test_orchestrators_cli_ui.py +316 -0
- intentdataflow-0.3.10/tests/test_orchestrators_extra.py +102 -0
- intentdataflow-0.3.10/tests/test_otel_sqlserver.py +80 -0
- intentdataflow-0.3.10/tests/test_prefect_dagster.py +56 -0
- intentdataflow-0.3.10/tests/test_preflight.py +261 -0
- intentdataflow-0.3.10/tests/test_preflight_evidence.py +133 -0
- intentdataflow-0.3.10/tests/test_review_2026_11.py +155 -0
- intentdataflow-0.3.10/tests/test_review_regressions.py +381 -0
- intentdataflow-0.3.10/tests/test_runner.py +10 -0
- intentdataflow-0.3.10/tests/test_secrets_box.py +83 -0
- intentdataflow-0.3.10/tests/test_spark_databricks.py +76 -0
- intentdataflow-0.3.10/tests/test_spark_real.py +76 -0
- intentdataflow-0.3.10/tests/test_sqlmesh.py +94 -0
- intentdataflow-0.3.10/tests/test_store_backends.py +206 -0
- intentdataflow-0.3.10/tests/test_streaming.py +81 -0
- intentdataflow-0.3.10/tests/test_team.py +183 -0
- intentdataflow-0.3.10/tests/test_team_plus.py +415 -0
- intentdataflow-0.3.10/tests/test_warehouses_more.py +209 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: intentdataflow
|
|
3
|
+
Version: 0.3.10
|
|
4
|
+
Summary: Control layer for data pipelines: column lineage, preventive checks, orchestrator visibility and impact of external jobs
|
|
5
|
+
Author: Thiago Egon Lange
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: Topic :: Database
|
|
9
|
+
Requires-Python: >=3.11
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
License-File: NOTICE
|
|
13
|
+
Requires-Dist: sqlglot<31,>=25
|
|
14
|
+
Requires-Dist: pyyaml<7,>=6
|
|
15
|
+
Requires-Dist: duckdb<2,>=1.0
|
|
16
|
+
Provides-Extra: postgres
|
|
17
|
+
Requires-Dist: psycopg2-binary; extra == "postgres"
|
|
18
|
+
Provides-Extra: snowflake
|
|
19
|
+
Requires-Dist: snowflake-connector-python; extra == "snowflake"
|
|
20
|
+
Provides-Extra: bigquery
|
|
21
|
+
Requires-Dist: google-cloud-bigquery; extra == "bigquery"
|
|
22
|
+
Provides-Extra: databricks
|
|
23
|
+
Requires-Dist: databricks-sql-connector; extra == "databricks"
|
|
24
|
+
Provides-Extra: kafka
|
|
25
|
+
Requires-Dist: kafka-python-ng; extra == "kafka"
|
|
26
|
+
Provides-Extra: lint
|
|
27
|
+
Requires-Dist: sqlfluff; extra == "lint"
|
|
28
|
+
Provides-Extra: aws
|
|
29
|
+
Requires-Dist: boto3; extra == "aws"
|
|
30
|
+
Provides-Extra: jev
|
|
31
|
+
Requires-Dist: typesafe-sdk; extra == "jev"
|
|
32
|
+
Provides-Extra: mysql
|
|
33
|
+
Requires-Dist: pymysql; extra == "mysql"
|
|
34
|
+
Provides-Extra: secrets
|
|
35
|
+
Requires-Dist: cryptography; extra == "secrets"
|
|
36
|
+
Provides-Extra: lakehouse
|
|
37
|
+
Requires-Dist: deltalake; extra == "lakehouse"
|
|
38
|
+
Requires-Dist: pyiceberg; extra == "lakehouse"
|
|
39
|
+
Provides-Extra: warehouses
|
|
40
|
+
Requires-Dist: trino; extra == "warehouses"
|
|
41
|
+
Requires-Dist: clickhouse-connect; extra == "warehouses"
|
|
42
|
+
Provides-Extra: dev
|
|
43
|
+
Requires-Dist: pytest; extra == "dev"
|
|
44
|
+
Requires-Dist: dbt-core; extra == "dev"
|
|
45
|
+
Requires-Dist: dbt-duckdb; extra == "dev"
|
|
46
|
+
Requires-Dist: moto[glue]; extra == "dev"
|
|
47
|
+
Dynamic: license-file
|
|
48
|
+
|
|
49
|
+
# IntentFlow
|
|
50
|
+
|
|
51
|
+
Verified status, test results, image audit findings and remaining work: [VALIDATION_STATUS](docs/VALIDATION_STATUS.md).
|
|
52
|
+
|
|
53
|
+
[Português](README.pt-BR.md)
|
|
54
|
+
|
|
55
|
+
**One place for the problems of your data pipelines — and a way to catch them before they reach production.**
|
|
56
|
+
|
|
57
|
+
IntentFlow is **not an execution engine** and has **no YAML of its own**: settings and policies live in a local store and are
|
|
58
|
+
managed through the **CLI** or the **UI**. It sits next to what you already run (dbt, SQLMesh, Airflow, Kestra, Spark, OpenLineage,
|
|
59
|
+
warehouses) and:
|
|
60
|
+
|
|
61
|
+
- reads metadata and code (read-only by default);
|
|
62
|
+
- runs preventive *checks* on the pull request, before the job and continuously;
|
|
63
|
+
- traces column lineage, including Spark/Python/SQL jobs outside the project, and shows what breaks if a column changes;
|
|
64
|
+
- groups findings into incidents by root cause and routes them by owner (Slack, webhook, e-mail, PR comment);
|
|
65
|
+
- shows in one screen what is running, failing, at risk and being fixed.
|
|
66
|
+
|
|
67
|
+
The core is open source (Apache-2.0). SSO, per-project governance, governed fixes, AI and corporate integrations are part of
|
|
68
|
+
**IntentFlow Enterprise**: [EDITIONS](docs/EDITIONS.md).
|
|
69
|
+
|
|
70
|
+
## Problems covered
|
|
71
|
+
|
|
72
|
+
| # | Pain | How it is prevented | Verified with |
|
|
73
|
+
|---|---|---|---|
|
|
74
|
+
| 1 | Upstream changes break consumers (removed/renamed column, type) | catalog diff + column lineage → impact | real dbt (DuckDB and PostgreSQL) |
|
|
75
|
+
| 2 | "What breaks if I change this?" | column lineage (SQLGlot), external jobs (OpenLineage, declared Spark/Python/SQL) | answer key: 10 hard models, precision and recall 100%; real Spark |
|
|
76
|
+
| 3 | Badly written, expensive SQL that runs out of memory | 12 AST rules + cost through `EXPLAIN` + rewrite **checked by execution** | each rule fires on a planted model |
|
|
77
|
+
| 4 | Duplicated keys, abnormal volume | warehouse probes | real DuckDB and PostgreSQL |
|
|
78
|
+
| 5 | Unwanted data change in a PR | **data diff** (rows, keys, changed columns, sample) in the warehouse | real DuckDB and PostgreSQL |
|
|
79
|
+
| 6 | Predictable orchestration failure (no retry/timeout, backfill, secret in the flow YAML) | lint of Airflow DAGs and Kestra flows | sample files |
|
|
80
|
+
| 7 | Cluster memory: OOM, exhaustion, spill, saturated pool | host/Docker/Airflow samples + forecast + warehouse spill | simulated Docker, real Airflow |
|
|
81
|
+
| 8 | Recurring failures, duration regression, SLA and lateness | run history + policies | **real** Airflow and Kestra |
|
|
82
|
+
| 9 | Unmasked PII downstream | propagation through the lineage, also into external jobs | real dbt |
|
|
83
|
+
| 10 | Alert noise | root-cause incidents, anti-spam, `ack` with expiry, false positive rate per check | tested |
|
|
84
|
+
| 11 | "What can break in the whole process?" | `intentflow risks`: visibility gaps, fragile columns, external jobs, process gaps | [RISKS](docs/RISKS.md) |
|
|
85
|
+
|
|
86
|
+
Full catalog: [docs/CHECKS.md](docs/CHECKS.md).
|
|
87
|
+
|
|
88
|
+
Full setup: [INSTALLATION](docs/INSTALLATION.md). The commands below assume Bash/Linux and an activated venv. For dbt runtime findings, preserve build run_results before docs generation as described in [CHECKS](docs/CHECKS.md).
|
|
89
|
+
|
|
90
|
+
## Business rules and pre-production validation (Unreleased)
|
|
91
|
+
|
|
92
|
+
Declare native dbt tests with `tags: [business_rule]` and `meta.owner`. The Business rules page/`intentflow rules` shows results, owners, impact and the last 20 observed executions. `intentflow preflight` requires a fresh full-build result, catalog coverage, a trusted baseline and required checks; it blocks failures, skips and unavailable validation. Existing pre-run `gate` remains available.
|
|
93
|
+
|
|
94
|
+
`intentflow changes` and the Changes before production page expose removed/changed tests, contracts, schemas and incremental/freshness policies against the baseline. Preflight blocks changes needing review even if the remaining tests pass. See [CHANGE_REVIEW](docs/CHANGE_REVIEW.md) for exact acknowledgements, impact and limitations.
|
|
95
|
+
|
|
96
|
+
See [BUSINESS_RULES](docs/BUSINESS_RULES.md) for SQL/business examples and [PREFLIGHT](docs/PREFLIGHT.md) for CI/commit provenance, contracts, warning policies and limits. These source-checkout additions are not included in older release wheels. Configure a required CI/deployment gate to enforce the result.
|
|
97
|
+
|
|
98
|
+
## Usage (CLI)
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
# from a release wheel (https://github.com/ailake-io/IntentFlow-community/releases):
|
|
102
|
+
python -m venv .venv && .venv/bin/python -m pip install /path/to/intentflow-*.whl
|
|
103
|
+
# or from this source checkout:
|
|
104
|
+
python -m venv .venv && .venv/bin/pip install -e '.[dev,secrets]'
|
|
105
|
+
source .venv/bin/activate
|
|
106
|
+
|
|
107
|
+
# one-time setup (in the store; connection credentials through environment variables)
|
|
108
|
+
intentflow config set dbt.target project/target
|
|
109
|
+
intentflow config set airflow.url http://airflow:8080
|
|
110
|
+
intentflow policy pii-allow customers # policies
|
|
111
|
+
intentflow policy sla airflow:etl 30 # SLA in minutes
|
|
112
|
+
intentflow notify add-sink data --type slack --url-env SLACK_URL
|
|
113
|
+
intentflow notify route data --min-severity high
|
|
114
|
+
|
|
115
|
+
# day to day
|
|
116
|
+
intentflow check --format github --fail-on high # CI
|
|
117
|
+
intentflow gate --stage pre-run # gate before dbt (Airflow/Kestra)
|
|
118
|
+
intentflow diff --base prod.orders --head dev.orders --key id --sample-pct 5 # huge table: ~5 % of the keys (hash), with an estimate of the total
|
|
119
|
+
intentflow lineage --column orders.status --impact # what this column affects (direct, indirect and external jobs)
|
|
120
|
+
intentflow risks --base main/target # what can break in the whole process
|
|
121
|
+
intentflow watch # scheduler: collect, check, notify
|
|
122
|
+
intentflow ui # http://127.0.0.1:8787 (local mode; see docs/DEPLOYMENT.md for a team)
|
|
123
|
+
intentflow user add maria --role admin # team mode: token login, roles, MFA, per-person audit trail
|
|
124
|
+
|
|
125
|
+
# OpenLineage input (Airflow, Spark, dbt, Flink, Dagster…)
|
|
126
|
+
intentflow openlineage serve --port 5000
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
This installs the Community core only. Enterprise is a separate, private extension and requires customer access plus a valid license. Its
|
|
130
|
+
package metadata requires `intentdataflow>=0.3.10` and `cryptography`; pip installs or reuses those dependencies when they are available from the
|
|
131
|
+
configured package sources. If the Community distribution is provided as a separate wheel, install both wheels together. Enterprise registers
|
|
132
|
+
through the `intentflow.extensions` entry point. See [EDITIONS](docs/EDITIONS.md) for package relationships and installation options.
|
|
133
|
+
|
|
134
|
+
### Language
|
|
135
|
+
|
|
136
|
+
The CLI, the UI and the findings come in **English** or **Portuguese**. The CLI follows `INTENTFLOW_LANG` (`en`/`pt`) or the
|
|
137
|
+
system locale (`LANG=pt_BR.UTF-8`). The UI follows the browser language and has a selector at the bottom of the sidebar.
|
|
138
|
+
Finding ids do not depend on the language, so switching never reopens findings.
|
|
139
|
+
|
|
140
|
+
## UI
|
|
141
|
+
|
|
142
|
+
`intentflow ui` (light/dark theme): overview with indicators, incidents, findings (filters, details with recommendation, acknowledge,
|
|
143
|
+
false positive), lineage and impact graph, data diff, pipelines, cluster/memory, integrations, settings by form, team and audit, and a
|
|
144
|
+
guided welcome screen the first time. With Enterprise: fixes with step by step (proposed → approved → validated → applied),
|
|
145
|
+
AI suggestions, SSO and per-project roles.
|
|
146
|
+
|
|
147
|
+
## How to measure the lineage on YOUR project
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
dbt build && dbt docs generate
|
|
151
|
+
intentflow lineage-verify --target target --duckdb warehouse.duckdb --package my_package
|
|
152
|
+
```
|
|
153
|
+
It perturbs the source data, rebuilds the models and compares with the static lineage (precision, recall, what indirect dependency explains).
|
|
154
|
+
On a large database: `--sample-rows 1000` (shrinks each source in the temporary **copy**, by key hash) and `--source NAME[.column]` (limits the sources).
|
|
155
|
+
Method and numbers on the real jaffle project: [BENCHMARKS](docs/BENCHMARKS.md).
|
|
156
|
+
|
|
157
|
+
## Verified against real systems (local)
|
|
158
|
+
|
|
159
|
+
dbt 1.12 with DuckDB **and** PostgreSQL 18 · SQLMesh 0.236 · Airflow 2.10 and **3.1** (APIs v1/v2, with a real OpenLineage emitter) · Kestra ·
|
|
160
|
+
Prefect · Dagster · Spark 3.5 (with the OpenLineage listener) · Kafka/Schema Registry (Redpanda) · Trino · ClickHouse · MySQL · Flink · Kubernetes ·
|
|
161
|
+
Prometheus · OpenTelemetry · SQLFluff · Delta/Iceberg · Airbyte · BigQuery (emulator) · Argo Workflows · Mage · Marquez · Mailpit · Mattermost ·
|
|
162
|
+
real outputs of Great Expectations 1.24 and Soda 3.5 · Keycloak 26 · PostgreSQL 18 as the store · Docker/host.
|
|
163
|
+
|
|
164
|
+
## Limits you need to know
|
|
165
|
+
|
|
166
|
+
- **Lineage:** answer key of 10 hard models (windows, unnest, union, pivot, macro, self-join, `exclude`), two sample projects and
|
|
167
|
+
Snowflake/BigQuery/Databricks fixtures. Measured with the dynamic oracle on real public dbt projects (jaffle-shop, dbt-project-evaluator,
|
|
168
|
+
ra_data_warehouse): **the impact never underestimated** (100 % recall at model level); **precision** is only a lower bound (~40 %). No
|
|
169
|
+
third-party production pipeline has been measured yet: [BENCH_REAL_PROJECT](docs/BENCH_REAL_PROJECT.md) and the [PILOT](docs/PILOT.md) guide.
|
|
170
|
+
- **External jobs:** Python analysis is heuristic (it never runs the code). Dynamic code (`exec`, `eval`, `getattr`), UDFs and `mapInPandas`
|
|
171
|
+
make the output conservative; `if/else` adds both branches. Without `columnLineage`/`feeds`/`sql_file`/`py_file` propagation is conservative.
|
|
172
|
+
- **Scale (measured):** synthetic lineage of 5,000 models / 56 thousand columns in ~11 s cold (4 processes) and 0.6 s cached; on a real
|
|
173
|
+
project expect ~3× more per model. `INTENTFLOW_WORKERS` sets the processes.
|
|
174
|
+
- **Load safety:** reading a SQLMesh project runs its code; it requires `INTENTFLOW_SQLMESH_ALLOW_EXEC=1` or the JSON from `sqlmesh-export`.
|
|
175
|
+
- **Cloud:** Snowflake, Databricks (SQL and Jobs), Redshift and Fivetran were tested **only with simulated responses**; BigQuery, with the
|
|
176
|
+
emulator. AWS (Glue, Step Functions, Athena, Glue Catalog) only on the `moto` emulator; Azure Data Factory and Unity Catalog only simulated.
|
|
177
|
+
How to connect each one: [CLOUD_SETUP](docs/CLOUD_SETUP.md).
|
|
178
|
+
- **False positives:** the rate per check is measured from your feedback; there is no real usage data yet.
|
|
179
|
+
- **Translations:** findings are stored in the language of the process that ran the check.
|
|
180
|
+
|
|
181
|
+
## Documentation
|
|
182
|
+
|
|
183
|
+
[PILOT](docs/PILOT.md) (guide to try it on a real pipeline) · [RISKS](docs/RISKS.md) · [DEPLOYMENT](docs/DEPLOYMENT.md) (team, roles, TLS) ·
|
|
184
|
+
[ARCHITECTURE](docs/ARCHITECTURE.md) · [CHECKS](docs/CHECKS.md) · [INTEGRATIONS](docs/INTEGRATIONS.md) · [CLOUD_SETUP](docs/CLOUD_SETUP.md) ·
|
|
185
|
+
[BENCHMARKS](docs/BENCHMARKS.md) · [BENCH_REAL_PROJECT](docs/BENCH_REAL_PROJECT.md) · [ROADMAP](docs/ROADMAP.md) · [DECISIONS](docs/DECISIONS.md) ·
|
|
186
|
+
[EDITIONS](docs/EDITIONS.md) · Portuguese: [docs/pt-BR](docs/pt-BR/)
|
|
187
|
+
|
|
188
|
+
## License
|
|
189
|
+
|
|
190
|
+
Open source core under [Apache-2.0](LICENSE). SSO, per-project governance, governed fixes, AI and corporate integrations form the commercial
|
|
191
|
+
edition: [EDITIONS](docs/EDITIONS.md). Copyright (c) 2026 Thiago Egon Lange, see [NOTICE](NOTICE). [CONTRIBUTING](CONTRIBUTING.md) · [SECURITY](SECURITY.md) · [CHANGELOG](CHANGELOG.md)
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# IntentFlow
|
|
2
|
+
|
|
3
|
+
Verified status, test results, image audit findings and remaining work: [VALIDATION_STATUS](docs/VALIDATION_STATUS.md).
|
|
4
|
+
|
|
5
|
+
[Português](README.pt-BR.md)
|
|
6
|
+
|
|
7
|
+
**One place for the problems of your data pipelines — and a way to catch them before they reach production.**
|
|
8
|
+
|
|
9
|
+
IntentFlow is **not an execution engine** and has **no YAML of its own**: settings and policies live in a local store and are
|
|
10
|
+
managed through the **CLI** or the **UI**. It sits next to what you already run (dbt, SQLMesh, Airflow, Kestra, Spark, OpenLineage,
|
|
11
|
+
warehouses) and:
|
|
12
|
+
|
|
13
|
+
- reads metadata and code (read-only by default);
|
|
14
|
+
- runs preventive *checks* on the pull request, before the job and continuously;
|
|
15
|
+
- traces column lineage, including Spark/Python/SQL jobs outside the project, and shows what breaks if a column changes;
|
|
16
|
+
- groups findings into incidents by root cause and routes them by owner (Slack, webhook, e-mail, PR comment);
|
|
17
|
+
- shows in one screen what is running, failing, at risk and being fixed.
|
|
18
|
+
|
|
19
|
+
The core is open source (Apache-2.0). SSO, per-project governance, governed fixes, AI and corporate integrations are part of
|
|
20
|
+
**IntentFlow Enterprise**: [EDITIONS](docs/EDITIONS.md).
|
|
21
|
+
|
|
22
|
+
## Problems covered
|
|
23
|
+
|
|
24
|
+
| # | Pain | How it is prevented | Verified with |
|
|
25
|
+
|---|---|---|---|
|
|
26
|
+
| 1 | Upstream changes break consumers (removed/renamed column, type) | catalog diff + column lineage → impact | real dbt (DuckDB and PostgreSQL) |
|
|
27
|
+
| 2 | "What breaks if I change this?" | column lineage (SQLGlot), external jobs (OpenLineage, declared Spark/Python/SQL) | answer key: 10 hard models, precision and recall 100%; real Spark |
|
|
28
|
+
| 3 | Badly written, expensive SQL that runs out of memory | 12 AST rules + cost through `EXPLAIN` + rewrite **checked by execution** | each rule fires on a planted model |
|
|
29
|
+
| 4 | Duplicated keys, abnormal volume | warehouse probes | real DuckDB and PostgreSQL |
|
|
30
|
+
| 5 | Unwanted data change in a PR | **data diff** (rows, keys, changed columns, sample) in the warehouse | real DuckDB and PostgreSQL |
|
|
31
|
+
| 6 | Predictable orchestration failure (no retry/timeout, backfill, secret in the flow YAML) | lint of Airflow DAGs and Kestra flows | sample files |
|
|
32
|
+
| 7 | Cluster memory: OOM, exhaustion, spill, saturated pool | host/Docker/Airflow samples + forecast + warehouse spill | simulated Docker, real Airflow |
|
|
33
|
+
| 8 | Recurring failures, duration regression, SLA and lateness | run history + policies | **real** Airflow and Kestra |
|
|
34
|
+
| 9 | Unmasked PII downstream | propagation through the lineage, also into external jobs | real dbt |
|
|
35
|
+
| 10 | Alert noise | root-cause incidents, anti-spam, `ack` with expiry, false positive rate per check | tested |
|
|
36
|
+
| 11 | "What can break in the whole process?" | `intentflow risks`: visibility gaps, fragile columns, external jobs, process gaps | [RISKS](docs/RISKS.md) |
|
|
37
|
+
|
|
38
|
+
Full catalog: [docs/CHECKS.md](docs/CHECKS.md).
|
|
39
|
+
|
|
40
|
+
Full setup: [INSTALLATION](docs/INSTALLATION.md). The commands below assume Bash/Linux and an activated venv. For dbt runtime findings, preserve build run_results before docs generation as described in [CHECKS](docs/CHECKS.md).
|
|
41
|
+
|
|
42
|
+
## Business rules and pre-production validation (Unreleased)
|
|
43
|
+
|
|
44
|
+
Declare native dbt tests with `tags: [business_rule]` and `meta.owner`. The Business rules page/`intentflow rules` shows results, owners, impact and the last 20 observed executions. `intentflow preflight` requires a fresh full-build result, catalog coverage, a trusted baseline and required checks; it blocks failures, skips and unavailable validation. Existing pre-run `gate` remains available.
|
|
45
|
+
|
|
46
|
+
`intentflow changes` and the Changes before production page expose removed/changed tests, contracts, schemas and incremental/freshness policies against the baseline. Preflight blocks changes needing review even if the remaining tests pass. See [CHANGE_REVIEW](docs/CHANGE_REVIEW.md) for exact acknowledgements, impact and limitations.
|
|
47
|
+
|
|
48
|
+
See [BUSINESS_RULES](docs/BUSINESS_RULES.md) for SQL/business examples and [PREFLIGHT](docs/PREFLIGHT.md) for CI/commit provenance, contracts, warning policies and limits. These source-checkout additions are not included in older release wheels. Configure a required CI/deployment gate to enforce the result.
|
|
49
|
+
|
|
50
|
+
## Usage (CLI)
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# from a release wheel (https://github.com/ailake-io/IntentFlow-community/releases):
|
|
54
|
+
python -m venv .venv && .venv/bin/python -m pip install /path/to/intentflow-*.whl
|
|
55
|
+
# or from this source checkout:
|
|
56
|
+
python -m venv .venv && .venv/bin/pip install -e '.[dev,secrets]'
|
|
57
|
+
source .venv/bin/activate
|
|
58
|
+
|
|
59
|
+
# one-time setup (in the store; connection credentials through environment variables)
|
|
60
|
+
intentflow config set dbt.target project/target
|
|
61
|
+
intentflow config set airflow.url http://airflow:8080
|
|
62
|
+
intentflow policy pii-allow customers # policies
|
|
63
|
+
intentflow policy sla airflow:etl 30 # SLA in minutes
|
|
64
|
+
intentflow notify add-sink data --type slack --url-env SLACK_URL
|
|
65
|
+
intentflow notify route data --min-severity high
|
|
66
|
+
|
|
67
|
+
# day to day
|
|
68
|
+
intentflow check --format github --fail-on high # CI
|
|
69
|
+
intentflow gate --stage pre-run # gate before dbt (Airflow/Kestra)
|
|
70
|
+
intentflow diff --base prod.orders --head dev.orders --key id --sample-pct 5 # huge table: ~5 % of the keys (hash), with an estimate of the total
|
|
71
|
+
intentflow lineage --column orders.status --impact # what this column affects (direct, indirect and external jobs)
|
|
72
|
+
intentflow risks --base main/target # what can break in the whole process
|
|
73
|
+
intentflow watch # scheduler: collect, check, notify
|
|
74
|
+
intentflow ui # http://127.0.0.1:8787 (local mode; see docs/DEPLOYMENT.md for a team)
|
|
75
|
+
intentflow user add maria --role admin # team mode: token login, roles, MFA, per-person audit trail
|
|
76
|
+
|
|
77
|
+
# OpenLineage input (Airflow, Spark, dbt, Flink, Dagster…)
|
|
78
|
+
intentflow openlineage serve --port 5000
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
This installs the Community core only. Enterprise is a separate, private extension and requires customer access plus a valid license. Its
|
|
82
|
+
package metadata requires `intentdataflow>=0.3.10` and `cryptography`; pip installs or reuses those dependencies when they are available from the
|
|
83
|
+
configured package sources. If the Community distribution is provided as a separate wheel, install both wheels together. Enterprise registers
|
|
84
|
+
through the `intentflow.extensions` entry point. See [EDITIONS](docs/EDITIONS.md) for package relationships and installation options.
|
|
85
|
+
|
|
86
|
+
### Language
|
|
87
|
+
|
|
88
|
+
The CLI, the UI and the findings come in **English** or **Portuguese**. The CLI follows `INTENTFLOW_LANG` (`en`/`pt`) or the
|
|
89
|
+
system locale (`LANG=pt_BR.UTF-8`). The UI follows the browser language and has a selector at the bottom of the sidebar.
|
|
90
|
+
Finding ids do not depend on the language, so switching never reopens findings.
|
|
91
|
+
|
|
92
|
+
## UI
|
|
93
|
+
|
|
94
|
+
`intentflow ui` (light/dark theme): overview with indicators, incidents, findings (filters, details with recommendation, acknowledge,
|
|
95
|
+
false positive), lineage and impact graph, data diff, pipelines, cluster/memory, integrations, settings by form, team and audit, and a
|
|
96
|
+
guided welcome screen the first time. With Enterprise: fixes with step by step (proposed → approved → validated → applied),
|
|
97
|
+
AI suggestions, SSO and per-project roles.
|
|
98
|
+
|
|
99
|
+
## How to measure the lineage on YOUR project
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
dbt build && dbt docs generate
|
|
103
|
+
intentflow lineage-verify --target target --duckdb warehouse.duckdb --package my_package
|
|
104
|
+
```
|
|
105
|
+
It perturbs the source data, rebuilds the models and compares with the static lineage (precision, recall, what indirect dependency explains).
|
|
106
|
+
On a large database: `--sample-rows 1000` (shrinks each source in the temporary **copy**, by key hash) and `--source NAME[.column]` (limits the sources).
|
|
107
|
+
Method and numbers on the real jaffle project: [BENCHMARKS](docs/BENCHMARKS.md).
|
|
108
|
+
|
|
109
|
+
## Verified against real systems (local)
|
|
110
|
+
|
|
111
|
+
dbt 1.12 with DuckDB **and** PostgreSQL 18 · SQLMesh 0.236 · Airflow 2.10 and **3.1** (APIs v1/v2, with a real OpenLineage emitter) · Kestra ·
|
|
112
|
+
Prefect · Dagster · Spark 3.5 (with the OpenLineage listener) · Kafka/Schema Registry (Redpanda) · Trino · ClickHouse · MySQL · Flink · Kubernetes ·
|
|
113
|
+
Prometheus · OpenTelemetry · SQLFluff · Delta/Iceberg · Airbyte · BigQuery (emulator) · Argo Workflows · Mage · Marquez · Mailpit · Mattermost ·
|
|
114
|
+
real outputs of Great Expectations 1.24 and Soda 3.5 · Keycloak 26 · PostgreSQL 18 as the store · Docker/host.
|
|
115
|
+
|
|
116
|
+
## Limits you need to know
|
|
117
|
+
|
|
118
|
+
- **Lineage:** answer key of 10 hard models (windows, unnest, union, pivot, macro, self-join, `exclude`), two sample projects and
|
|
119
|
+
Snowflake/BigQuery/Databricks fixtures. Measured with the dynamic oracle on real public dbt projects (jaffle-shop, dbt-project-evaluator,
|
|
120
|
+
ra_data_warehouse): **the impact never underestimated** (100 % recall at model level); **precision** is only a lower bound (~40 %). No
|
|
121
|
+
third-party production pipeline has been measured yet: [BENCH_REAL_PROJECT](docs/BENCH_REAL_PROJECT.md) and the [PILOT](docs/PILOT.md) guide.
|
|
122
|
+
- **External jobs:** Python analysis is heuristic (it never runs the code). Dynamic code (`exec`, `eval`, `getattr`), UDFs and `mapInPandas`
|
|
123
|
+
make the output conservative; `if/else` adds both branches. Without `columnLineage`/`feeds`/`sql_file`/`py_file` propagation is conservative.
|
|
124
|
+
- **Scale (measured):** synthetic lineage of 5,000 models / 56 thousand columns in ~11 s cold (4 processes) and 0.6 s cached; on a real
|
|
125
|
+
project expect ~3× more per model. `INTENTFLOW_WORKERS` sets the processes.
|
|
126
|
+
- **Load safety:** reading a SQLMesh project runs its code; it requires `INTENTFLOW_SQLMESH_ALLOW_EXEC=1` or the JSON from `sqlmesh-export`.
|
|
127
|
+
- **Cloud:** Snowflake, Databricks (SQL and Jobs), Redshift and Fivetran were tested **only with simulated responses**; BigQuery, with the
|
|
128
|
+
emulator. AWS (Glue, Step Functions, Athena, Glue Catalog) only on the `moto` emulator; Azure Data Factory and Unity Catalog only simulated.
|
|
129
|
+
How to connect each one: [CLOUD_SETUP](docs/CLOUD_SETUP.md).
|
|
130
|
+
- **False positives:** the rate per check is measured from your feedback; there is no real usage data yet.
|
|
131
|
+
- **Translations:** findings are stored in the language of the process that ran the check.
|
|
132
|
+
|
|
133
|
+
## Documentation
|
|
134
|
+
|
|
135
|
+
[PILOT](docs/PILOT.md) (guide to try it on a real pipeline) · [RISKS](docs/RISKS.md) · [DEPLOYMENT](docs/DEPLOYMENT.md) (team, roles, TLS) ·
|
|
136
|
+
[ARCHITECTURE](docs/ARCHITECTURE.md) · [CHECKS](docs/CHECKS.md) · [INTEGRATIONS](docs/INTEGRATIONS.md) · [CLOUD_SETUP](docs/CLOUD_SETUP.md) ·
|
|
137
|
+
[BENCHMARKS](docs/BENCHMARKS.md) · [BENCH_REAL_PROJECT](docs/BENCH_REAL_PROJECT.md) · [ROADMAP](docs/ROADMAP.md) · [DECISIONS](docs/DECISIONS.md) ·
|
|
138
|
+
[EDITIONS](docs/EDITIONS.md) · Portuguese: [docs/pt-BR](docs/pt-BR/)
|
|
139
|
+
|
|
140
|
+
## License
|
|
141
|
+
|
|
142
|
+
Open source core under [Apache-2.0](LICENSE). SSO, per-project governance, governed fixes, AI and corporate integrations form the commercial
|
|
143
|
+
edition: [EDITIONS](docs/EDITIONS.md). Copyright (c) 2026 Thiago Egon Lange, see [NOTICE](NOTICE). [CONTRIBUTING](CONTRIBUTING.md) · [SECURITY](SECURITY.md) · [CHANGELOG](CHANGELOG.md)
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "intentdataflow"
|
|
3
|
+
dynamic = ["version"]
|
|
4
|
+
description = "Control layer for data pipelines: column lineage, preventive checks, orchestrator visibility and impact of external jobs"
|
|
5
|
+
requires-python = ">=3.11"
|
|
6
|
+
readme = "README.md"
|
|
7
|
+
license = "Apache-2.0"
|
|
8
|
+
license-files = ["LICENSE", "NOTICE"]
|
|
9
|
+
authors = [{ name = "Thiago Egon Lange" }]
|
|
10
|
+
classifiers = ["Programming Language :: Python :: 3", "Topic :: Database"]
|
|
11
|
+
# sqlglot internals drive column lineage: new majors are tested before the bound moves
|
|
12
|
+
dependencies = ["sqlglot>=25,<31", "pyyaml>=6,<7", "duckdb>=1.0,<2"]
|
|
13
|
+
|
|
14
|
+
[project.optional-dependencies]
|
|
15
|
+
postgres = ["psycopg2-binary"]
|
|
16
|
+
snowflake = ["snowflake-connector-python"]
|
|
17
|
+
bigquery = ["google-cloud-bigquery"]
|
|
18
|
+
databricks = ["databricks-sql-connector"]
|
|
19
|
+
kafka = ["kafka-python-ng"]
|
|
20
|
+
lint = ["sqlfluff"]
|
|
21
|
+
aws = ["boto3"]
|
|
22
|
+
jev = ["typesafe-sdk"]
|
|
23
|
+
mysql = ["pymysql"]
|
|
24
|
+
secrets = ["cryptography"]
|
|
25
|
+
lakehouse = ["deltalake", "pyiceberg"]
|
|
26
|
+
warehouses = ["trino", "clickhouse-connect"]
|
|
27
|
+
dev = [
|
|
28
|
+
"pytest",
|
|
29
|
+
"dbt-core",
|
|
30
|
+
"dbt-duckdb",
|
|
31
|
+
"moto[glue]",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
[project.scripts]
|
|
35
|
+
intentflow = "intentflow.cli:main"
|
|
36
|
+
|
|
37
|
+
[build-system]
|
|
38
|
+
requires = ["setuptools>=77"]
|
|
39
|
+
build-backend = "setuptools.build_meta"
|
|
40
|
+
|
|
41
|
+
[tool.setuptools.dynamic]
|
|
42
|
+
version = {attr = "intentflow.__version__"}
|
|
43
|
+
|
|
44
|
+
[tool.setuptools.packages.find]
|
|
45
|
+
where = ["src"]
|
|
46
|
+
|
|
47
|
+
[tool.setuptools.package-data]
|
|
48
|
+
intentflow = ["web.html", "locale/*.json"]
|
|
49
|
+
|
|
50
|
+
[tool.ruff]
|
|
51
|
+
target-version = "py311"
|
|
52
|
+
line-length = 160
|
|
53
|
+
|
|
54
|
+
[tool.ruff.lint]
|
|
55
|
+
# pyflakes (unused/undefined names, shadowing) + syntax errors + bugbear; style is not enforced on existing code
|
|
56
|
+
select = ["F", "E9", "B", "UP", "SIM"]
|
|
57
|
+
ignore = ["B905", "SIM105"] # zip(strict=) and contextlib.suppress are style choices here
|
|
58
|
+
|
|
59
|
+
[tool.ruff.lint.per-file-ignores]
|
|
60
|
+
# pytest fixtures are imported and then requested by name
|
|
61
|
+
"tests/*" = ["F811", "F841", "B017", "UP031", "SIM113"]
|
|
62
|
+
|
|
63
|
+
[tool.pytest.ini_options]
|
|
64
|
+
testpaths = ["tests"]
|
|
65
|
+
pythonpath = ["src"]
|