iflow-mcp_niclasolofsson-dbt-core-mcp 1.7.0__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.
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/.gitignore +186 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/LICENSE +21 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/PKG-INFO +784 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/README.md +753 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/examples/jaffle_shop/README.md +63 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/pyproject.toml +129 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/__init__.py +18 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/__main__.py +436 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/context.py +459 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/cte_generator.py +601 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/dbt/__init__.py +1 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/dbt/bridge_runner.py +1361 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/dbt/manifest.py +781 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/dbt/runner.py +67 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/dependencies.py +50 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/server.py +381 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/__init__.py +77 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/analyze_impact.py +78 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/build_models.py +190 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/demo/__init__.py +1 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/demo/hello.html +267 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/demo/ui_demo.py +41 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/get_column_lineage.py +1988 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/get_lineage.py +89 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/get_project_info.py +96 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/get_resource_info.py +134 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/install_deps.py +102 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/list_resources.py +84 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/load_seeds.py +179 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/query_database.py +459 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/run_models.py +234 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/snapshot_models.py +120 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/tools/test_models.py +238 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/utils/__init__.py +1 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/utils/env_detector.py +186 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/utils/process_check.py +130 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/utils/tool_utils.py +411 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/utils/warehouse_adapter.py +82 -0
- iflow_mcp_niclasolofsson_dbt_core_mcp-1.7.0/src/dbt_core_mcp/utils/warehouse_databricks.py +297 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
*.manifest
|
|
31
|
+
*.spec
|
|
32
|
+
|
|
33
|
+
# Installer logs
|
|
34
|
+
pip-log.txt
|
|
35
|
+
pip-delete-this-directory.txt
|
|
36
|
+
|
|
37
|
+
# Unit test / coverage reports
|
|
38
|
+
htmlcov/
|
|
39
|
+
.tox/
|
|
40
|
+
.nox/
|
|
41
|
+
.coverage
|
|
42
|
+
.coverage.*
|
|
43
|
+
.cache
|
|
44
|
+
nosetests.xml
|
|
45
|
+
coverage.xml
|
|
46
|
+
*.cover
|
|
47
|
+
*.py,cover
|
|
48
|
+
.hypothesis/
|
|
49
|
+
.pytest_cache/
|
|
50
|
+
cover/
|
|
51
|
+
|
|
52
|
+
# Translations
|
|
53
|
+
*.mo
|
|
54
|
+
*.pot
|
|
55
|
+
|
|
56
|
+
# Django stuff:
|
|
57
|
+
*.log
|
|
58
|
+
local_settings.py
|
|
59
|
+
db.sqlite3
|
|
60
|
+
db.sqlite3-journal
|
|
61
|
+
|
|
62
|
+
# Flask stuff:
|
|
63
|
+
instance/
|
|
64
|
+
.webassets-cache
|
|
65
|
+
|
|
66
|
+
# Scrapy stuff:
|
|
67
|
+
.scrapy
|
|
68
|
+
|
|
69
|
+
# Sphinx documentation
|
|
70
|
+
docs/_build/
|
|
71
|
+
|
|
72
|
+
# PyBuilder
|
|
73
|
+
.pybuilder/
|
|
74
|
+
target/
|
|
75
|
+
!tests/fixtures/target/
|
|
76
|
+
|
|
77
|
+
# Jupyter Notebook
|
|
78
|
+
.ipynb_checkpoints
|
|
79
|
+
|
|
80
|
+
# IPython
|
|
81
|
+
profile_default/
|
|
82
|
+
ipython_config.py
|
|
83
|
+
|
|
84
|
+
# pyenv
|
|
85
|
+
.python-version
|
|
86
|
+
|
|
87
|
+
# Environments
|
|
88
|
+
.env
|
|
89
|
+
.venv
|
|
90
|
+
env/
|
|
91
|
+
venv/
|
|
92
|
+
ENV/
|
|
93
|
+
env.bak/
|
|
94
|
+
venv.bak/
|
|
95
|
+
|
|
96
|
+
# Spyder project settings
|
|
97
|
+
.spyderproject
|
|
98
|
+
.spyproject
|
|
99
|
+
|
|
100
|
+
# Rope project settings
|
|
101
|
+
.ropeproject
|
|
102
|
+
|
|
103
|
+
# mkdocs documentation
|
|
104
|
+
/site
|
|
105
|
+
|
|
106
|
+
# mypy
|
|
107
|
+
.mypy_cache/
|
|
108
|
+
.dmypy.json
|
|
109
|
+
dmypy.json
|
|
110
|
+
|
|
111
|
+
# Ruff
|
|
112
|
+
.ruff_cache/
|
|
113
|
+
|
|
114
|
+
# Pyre type checker
|
|
115
|
+
.pyre/
|
|
116
|
+
|
|
117
|
+
# pytype static type analyzer
|
|
118
|
+
.pytype/
|
|
119
|
+
|
|
120
|
+
# Cython debug symbols
|
|
121
|
+
cython_debug/
|
|
122
|
+
|
|
123
|
+
# PyCharm
|
|
124
|
+
.idea/
|
|
125
|
+
|
|
126
|
+
# VS Code
|
|
127
|
+
.vscode/settings.json
|
|
128
|
+
.vscode/launch.json
|
|
129
|
+
!.vscode/extensions.json
|
|
130
|
+
.vscode/tasks.json
|
|
131
|
+
|
|
132
|
+
# macOS
|
|
133
|
+
.DS_Store
|
|
134
|
+
.AppleDouble
|
|
135
|
+
.LSOverride
|
|
136
|
+
|
|
137
|
+
# Windows
|
|
138
|
+
Thumbs.db
|
|
139
|
+
ehthumbs.db
|
|
140
|
+
Desktop.ini
|
|
141
|
+
$RECYCLE.BIN/
|
|
142
|
+
*.cab
|
|
143
|
+
*.msi
|
|
144
|
+
*.msm
|
|
145
|
+
*.msp
|
|
146
|
+
*.lnk
|
|
147
|
+
|
|
148
|
+
# Linux
|
|
149
|
+
*~
|
|
150
|
+
|
|
151
|
+
# Temporary files
|
|
152
|
+
*.tmp
|
|
153
|
+
*.temp
|
|
154
|
+
*.bak
|
|
155
|
+
*.backup
|
|
156
|
+
*.swp
|
|
157
|
+
*.swo
|
|
158
|
+
|
|
159
|
+
# Log files
|
|
160
|
+
*.log
|
|
161
|
+
|
|
162
|
+
# Test files and outputs
|
|
163
|
+
test_output/
|
|
164
|
+
*.test
|
|
165
|
+
|
|
166
|
+
# Temporary directories for AI processing
|
|
167
|
+
temp_auto/
|
|
168
|
+
temp_summary/
|
|
169
|
+
|
|
170
|
+
# Hatch
|
|
171
|
+
.hatch/
|
|
172
|
+
|
|
173
|
+
# UV
|
|
174
|
+
uv.lock
|
|
175
|
+
|
|
176
|
+
# DBT artifacts
|
|
177
|
+
examples/jaffle_shop/logs/
|
|
178
|
+
examples/jaffle_shop/target/
|
|
179
|
+
examples/jaffle_shop/*.duckdb
|
|
180
|
+
examples/jaffle_shop/*.duckdb.wal
|
|
181
|
+
|
|
182
|
+
# Generated CTE test artifacts (preprocessed by cte_test_generator.py)
|
|
183
|
+
models/**/__cte_tests/
|
|
184
|
+
unit_tests/**/__cte_tests/
|
|
185
|
+
examples/jaffle_shop/models/**/__cte_tests/
|
|
186
|
+
examples/jaffle_shop/unit_tests/**/__cte_tests/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Niclas Olofsson
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|