weaverstack 0.1.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.
Files changed (127) hide show
  1. weaver/__init__.py +59 -0
  2. weaver/build_bundle/__init__.py +109 -0
  3. weaver/build_bundle/aliases.py +325 -0
  4. weaver/build_bundle/bundle.py +359 -0
  5. weaver/build_bundle/catalogue_actions.py +275 -0
  6. weaver/build_bundle/changes.py +186 -0
  7. weaver/build_bundle/endpoints.py +83 -0
  8. weaver/build_bundle/executors/__init__.py +69 -0
  9. weaver/build_bundle/executors/alias.py +202 -0
  10. weaver/build_bundle/executors/base.py +132 -0
  11. weaver/build_bundle/executors/folder.py +71 -0
  12. weaver/build_bundle/executors/load_file.py +205 -0
  13. weaver/build_bundle/executors/spark_case.py +26 -0
  14. weaver/build_bundle/executors/spark_schema.py +60 -0
  15. weaver/build_bundle/executors/spark_sql.py +59 -0
  16. weaver/build_bundle/executors/spark_sql_batch.py +57 -0
  17. weaver/build_bundle/executors/spark_table.py +213 -0
  18. weaver/build_bundle/executors/sql_endpoint_refresh.py +34 -0
  19. weaver/build_bundle/executors/tsql.py +81 -0
  20. weaver/build_bundle/incremental.py +288 -0
  21. weaver/build_bundle/installer.py +384 -0
  22. weaver/build_bundle/models.py +288 -0
  23. weaver/build_bundle/payloads.py +34 -0
  24. weaver/build_bundle/physical.py +625 -0
  25. weaver/build_bundle/planner.py +389 -0
  26. weaver/build_bundle/prune.py +620 -0
  27. weaver/build_bundle/report.py +108 -0
  28. weaver/build_bundle/stages.py +196 -0
  29. weaver/build_bundle/targets.py +272 -0
  30. weaver/build_bundle/workflow.py +585 -0
  31. weaver/catalogue/__init__.py +73 -0
  32. weaver/catalogue/builtin.py +238 -0
  33. weaver/catalogue/claims.py +121 -0
  34. weaver/catalogue/projection.py +437 -0
  35. weaver/catalogue/reader.py +152 -0
  36. weaver/catalogue/reconcile.py +231 -0
  37. weaver/catalogue/render.py +410 -0
  38. weaver/catalogue/state.py +660 -0
  39. weaver/catalogue/tables.py +648 -0
  40. weaver/config.py +178 -0
  41. weaver/declaration/__init__.py +171 -0
  42. weaver/declaration/columns.py +223 -0
  43. weaver/declaration/ddl.py +266 -0
  44. weaver/declaration/dependencies.py +544 -0
  45. weaver/declaration/graph.py +240 -0
  46. weaver/declaration/item_dependencies.py +292 -0
  47. weaver/declaration/load.py +191 -0
  48. weaver/declaration/metadata.py +1405 -0
  49. weaver/declaration/model.py +448 -0
  50. weaver/declaration/references.py +294 -0
  51. weaver/declaration/repository.py +959 -0
  52. weaver/declaration/schemas.py +135 -0
  53. weaver/declaration/source.py +674 -0
  54. weaver/declaration/spark_load.py +759 -0
  55. weaver/declaration/sql_shaping.py +591 -0
  56. weaver/declaration/templates/ddl/declared_create_table.sql +64 -0
  57. weaver/declaration/templates/ddl/infer_create_table.sql +97 -0
  58. weaver/declaration/templates/ddl/metadata_column_validation.sql +30 -0
  59. weaver/declaration/templates/load/column_metadata.sql +40 -0
  60. weaver/declaration/templates/load/full_replace_body.sql +21 -0
  61. weaver/declaration/templates/load/install_load_procedure.sql +27 -0
  62. weaver/declaration/templates/load/load_procedure.sql +48 -0
  63. weaver/declaration/templates/load/primary_key_body.sql +113 -0
  64. weaver/declaration/tsql_ddl.py +468 -0
  65. weaver/declaration/tsql_load.py +417 -0
  66. weaver/declaration/warehouse_type_mapping.yml +93 -0
  67. weaver/diagnostics.py +247 -0
  68. weaver/errors.py +61 -0
  69. weaver/etl.py +469 -0
  70. weaver/fabric/__init__.py +107 -0
  71. weaver/fabric/auth.py +137 -0
  72. weaver/fabric/capacity.py +143 -0
  73. weaver/fabric/client.py +147 -0
  74. weaver/fabric/environment.py +460 -0
  75. weaver/fabric/livy.py +478 -0
  76. weaver/fabric/notebooks.py +201 -0
  77. weaver/fabric/onelake.py +263 -0
  78. weaver/fabric/resolution.py +344 -0
  79. weaver/fabric/resources.py +245 -0
  80. weaver/fabric/session.py +148 -0
  81. weaver/fabric/shortcuts.py +120 -0
  82. weaver/fabric/sql.py +118 -0
  83. weaver/fabric/store.py +198 -0
  84. weaver/initialise.py +209 -0
  85. weaver/lakehouse.py +386 -0
  86. weaver/load.py +474 -0
  87. weaver/load_execution.py +483 -0
  88. weaver/load_plan.py +912 -0
  89. weaver/load_report.py +330 -0
  90. weaver/load_resolution.py +386 -0
  91. weaver/locations.py +164 -0
  92. weaver/objects.py +392 -0
  93. weaver/operations.py +757 -0
  94. weaver/physical_wipe.py +369 -0
  95. weaver/push.py +76 -0
  96. weaver/resolution.py +292 -0
  97. weaver/runtime/__init__.py +30 -0
  98. weaver/runtime/folder_load.py +402 -0
  99. weaver/runtime/load_contract.py +245 -0
  100. weaver/runtime/load_result.py +104 -0
  101. weaver/runtime/spark_load.py +152 -0
  102. weaver/runtime/table_load.py +497 -0
  103. weaver/spark/__init__.py +49 -0
  104. weaver/spark/catalogue.py +245 -0
  105. weaver/spark/destination.py +195 -0
  106. weaver/spark/session.py +84 -0
  107. weaver/spark/tokens.py +138 -0
  108. weaver/sql/__init__.py +40 -0
  109. weaver/sql/authentication.py +38 -0
  110. weaver/sql/connection.py +90 -0
  111. weaver/sql/errors.py +25 -0
  112. weaver/sql/execution.py +123 -0
  113. weaver/sql/pool.py +174 -0
  114. weaver/sql/wipe.py +156 -0
  115. weaver/store.py +209 -0
  116. weaver/targets.py +257 -0
  117. weaver/task_logging.py +215 -0
  118. weaver/unbind.py +74 -0
  119. weaver/workspaces.py +175 -0
  120. weaver_cli/__init__.py +12 -0
  121. weaver_cli/__main__.py +7 -0
  122. weaver_cli/main.py +626 -0
  123. weaverstack-0.1.1.dist-info/METADATA +113 -0
  124. weaverstack-0.1.1.dist-info/RECORD +127 -0
  125. weaverstack-0.1.1.dist-info/WHEEL +4 -0
  126. weaverstack-0.1.1.dist-info/entry_points.txt +2 -0
  127. weaverstack-0.1.1.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,113 @@
1
+ Metadata-Version: 2.4
2
+ Name: weaverstack
3
+ Version: 0.1.1
4
+ Summary: Central-catalogue data engineering runtime for Microsoft Fabric Lakehouses and Warehouses.
5
+ Project-URL: Homepage, https://github.com/matthias-wong-dev/weaverstack
6
+ Author: Matthias Wong
7
+ License-Expression: Apache-2.0
8
+ License-File: LICENSE
9
+ Keywords: delta,etl,fabric,lakehouse,onelake,warehouse
10
+ Classifier: Development Status :: 2 - Pre-Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Topic :: Database
15
+ Requires-Python: >=3.11
16
+ Requires-Dist: mssql-python
17
+ Requires-Dist: pyyaml
18
+ Requires-Dist: sqlparse
19
+ Provides-Extra: cli
20
+ Requires-Dist: azure-identity>=1.23; extra == 'cli'
21
+ Requires-Dist: build>=1.2; extra == 'cli'
22
+ Requires-Dist: requests>=2.31; extra == 'cli'
23
+ Provides-Extra: dev
24
+ Requires-Dist: azure-identity>=1.23; extra == 'dev'
25
+ Requires-Dist: delta-spark<3.3,>=3.2; extra == 'dev'
26
+ Requires-Dist: pyspark<3.6,>=3.5; extra == 'dev'
27
+ Requires-Dist: pytest>=8.4; extra == 'dev'
28
+ Requires-Dist: requests>=2.31; extra == 'dev'
29
+ Provides-Extra: fabric
30
+ Requires-Dist: azure-identity>=1.23; extra == 'fabric'
31
+ Requires-Dist: requests>=2.31; extra == 'fabric'
32
+ Provides-Extra: spark
33
+ Requires-Dist: delta-spark<3.3,>=3.2; extra == 'spark'
34
+ Requires-Dist: pyspark<3.6,>=3.5; extra == 'spark'
35
+ Provides-Extra: test
36
+ Requires-Dist: azure-identity>=1.23; extra == 'test'
37
+ Requires-Dist: pytest>=8.4; extra == 'test'
38
+ Requires-Dist: requests>=2.31; extra == 'test'
39
+ Description-Content-Type: text/markdown
40
+
41
+ # Weaverstack
42
+
43
+ A data-engineering runtime for Microsoft Fabric, built around a central control
44
+ plane.
45
+
46
+ One mandatory **Weaver Lakehouse** holds your installed source repositories and
47
+ the authoritative catalogue. Destination Lakehouses and Warehouses hold only
48
+ materialised output — no copied runtime, no per-target catalogue, no attachment
49
+ requirements.
50
+
51
+ Folder, Delta and SQL Warehouse are materialisation targets. You
52
+ describe objects in one repository; Weaver routes them to the physical targets
53
+ you name, builds one global dependency graph across all three forms, and
54
+ certifies each object in the central catalogue only once it has built.
55
+
56
+ > **Status: pre-alpha.** The current CLI, Workspace and catalogue work follows
57
+ > [the Weaver master plan](design/weaver_master_cli_plan.md).
58
+
59
+ ## Installation
60
+
61
+ ```bash
62
+ pip install weaverstack # core, for a Fabric Environment or notebook
63
+ pip install 'weaverstack[cli]' # plus the optional desktop CLI
64
+ ```
65
+
66
+ Requires Python 3.11 or later. Tested on macOS, Linux and Windows across Python
67
+ 3.11 and 3.12.
68
+
69
+ Local Spark development additionally needs a JDK, and on Windows runs under
70
+ [WSL](https://learn.microsoft.com/windows/wsl/install) — Spark's local writes
71
+ need a `winutils.exe` that Windows does not carry. Everything else, including
72
+ the CLI and the whole Fabric path, runs natively on all three.
73
+
74
+ ## Local development
75
+
76
+ Weaver runs against a local filesystem standing in for Lakehouses, so build and
77
+ load can be developed without touching a workspace. It needs a JDK and a matched
78
+ Spark/Delta pair — all optional, none of it required to use Weaver on Fabric.
79
+
80
+ ```bash
81
+ weaver doctor
82
+ ```
83
+
84
+ reports what is present and what to install. See
85
+ [design/local-setup.md](design/local-setup.md).
86
+
87
+ ## CLI lifecycle
88
+
89
+ One Workspace configuration can abbreviate the full desktop lifecycle:
90
+
91
+ ```bash
92
+ weaver install --workspace-config workspace.yml
93
+ weaver build ./estate --workspace-config workspace.yml --bind Lakehouse/Sales_Dev
94
+ ```
95
+
96
+ The same commands work against a local folder with `--workspace-type local`,
97
+ except Warehouse work, which remains Fabric-only. See
98
+ [CLI usage](design/cli-usage.md) for repository sources, physical-first bindings, wipe and
99
+ unbind.
100
+
101
+ ## Documentation
102
+
103
+ - [Authoritative master plan](design/weaver_master_cli_plan.md)
104
+ - [How Weaver build works](design/how-does-build-work.md) — incremental selection, bundle order and certification
105
+ - [Where your Weaver document repository lives](design/weaver-repository.md) — a folder of files, and how it reaches Fabric
106
+ - [CLI usage](design/cli-usage.md) — signing in, workspaces, capacity, wipe
107
+ - [Local development setup](design/local-setup.md)
108
+ - [Fabric integration tests](design/fabric-testing.md)
109
+ - [Agent guide](AGENTS.md)
110
+
111
+ ## Licence
112
+
113
+ Apache 2.0. See [LICENSE](LICENSE).
@@ -0,0 +1,127 @@
1
+ weaver/__init__.py,sha256=VssKhYGCxONrOB-UR9RktLv9zy58VPLyovexcT-D75Y,1618
2
+ weaver/config.py,sha256=YSax8Qlq_D_nXZ8ea7yxEwQ83PluSTR_taotppqSlwI,6676
3
+ weaver/diagnostics.py,sha256=spFchPs1FFlzZIvRGPa3usaPlxRcuz_Z7mJRbcOe7_g,8239
4
+ weaver/errors.py,sha256=N371AEjJoGZCyZSvKXYhab_kxQKesDLDs-hTI4yApuw,1879
5
+ weaver/etl.py,sha256=c--SqQ8YHJA-M9o-KfSDrV8M_YqX542bsiCKthz4ut8,17330
6
+ weaver/initialise.py,sha256=I-SCatkP_JZD2izPKbXUF4o5d4JetbcYF8rtfyYozVA,7476
7
+ weaver/lakehouse.py,sha256=O7cCdUKuT3SHiMh-INm5gAK9gwymG1oFTZNsLFDPO04,15578
8
+ weaver/load.py,sha256=O4nbH5y1Jbq5Mdub1tYSSGLtebOAb41U_AHaSfXCa7Y,16749
9
+ weaver/load_execution.py,sha256=Mvd5c3Aidz8Isxp2iS3UM4FSJhkQt8MMoa3b9uQPwxs,17768
10
+ weaver/load_plan.py,sha256=ryhVtWyxYbQLH3A_2VPxP5zbl75cvF4BDJT93T3krcM,36141
11
+ weaver/load_report.py,sha256=eXbCk5qihk1yMY6SqtCeWW5nx94uVoAGBUKzW78D6fY,11381
12
+ weaver/load_resolution.py,sha256=nVRwDf2Ee2iulDfL-4ITdi3IVH33N93VTbEhZ-An01k,14043
13
+ weaver/locations.py,sha256=n6lkLXqFNMAm63ya4B0od8WNJs3PvnOi-uOu5zZHCtQ,6368
14
+ weaver/objects.py,sha256=QsOnpZ-_kG_8h0DslntQv9jlptvh5jSdoedsF5lFExs,15373
15
+ weaver/operations.py,sha256=PSHK1gXXCSf77AmzOBqp9JFhKGrJNbEo7H1EfVa0aWg,26976
16
+ weaver/physical_wipe.py,sha256=2ps_puWbbR8Ar50zplelGq6QjfiE7I4pJ_48t-si_co,13252
17
+ weaver/push.py,sha256=Iam1KCr14xDGSNZw4iqL3rFgQJKbmzF6gKTLE0oiUds,2417
18
+ weaver/resolution.py,sha256=u_m7_Fi5EGs8EmHkTlQx1vIDOZyjvDvyOw15BhXH5jU,11013
19
+ weaver/store.py,sha256=ILXQjjg6oQq66540LjUpnb4ril4Vb09q-4lrZ3m630g,8253
20
+ weaver/targets.py,sha256=0z5m6cl3TVFfCD70d4WvEjfgcJuJ7Tz2MZCypNUBXTI,9515
21
+ weaver/task_logging.py,sha256=dBlyEhUdMBWLkqKIuEiLq9g571gSIsK7QwqDzdMCLH0,7901
22
+ weaver/unbind.py,sha256=YXTZr5vDWUmhfd_D6xXBkofj37do27vLz1M8OC5mQEQ,2151
23
+ weaver/workspaces.py,sha256=qXUJQHpDlxbevL6TA5Z8JynQ2eSCotnpooeFpmtOnIw,5812
24
+ weaver/build_bundle/__init__.py,sha256=yr9p8Lly1tN-925rsY1N17tsOvBk0unZIRr7SXmiDkg,2951
25
+ weaver/build_bundle/aliases.py,sha256=WzHXh0OogoXAkXGFJfTS-dsa0IzlcBzmtjUmLSXhEbE,12268
26
+ weaver/build_bundle/bundle.py,sha256=XJeyoOaOSNhToPB5-Xk2jwKZRzSm_5A5Rt1PLQCZWD8,13652
27
+ weaver/build_bundle/catalogue_actions.py,sha256=G-14DLXmUDhe0uSLdKmT7GckdCCglI7C15qYwa7IeCw,9617
28
+ weaver/build_bundle/changes.py,sha256=xdUDFEy4szxi1r3txfjUSNStbQwdNLzQMgdiuPF1iYo,7181
29
+ weaver/build_bundle/endpoints.py,sha256=bxSWHp36VPoFbUPUSWCDwk69T3WTISkOgn_quVHdAfs,3296
30
+ weaver/build_bundle/incremental.py,sha256=qz59GUUeDt72gZTObLW9BnCENHZrAao8aWYucOw9Gs8,11304
31
+ weaver/build_bundle/installer.py,sha256=_inCTkmzoJaUW_1cXIOUpW8kLtRjDGOKvBHQPriE25Q,13652
32
+ weaver/build_bundle/models.py,sha256=yYATKDM5Pi08JqIb5FvndZpP37u97feyDHVJavABQ4s,10716
33
+ weaver/build_bundle/payloads.py,sha256=q-sqo7zLwOCnebsi6aykquQqiL9tSoXG-Tg8jjUiC_s,1222
34
+ weaver/build_bundle/physical.py,sha256=kM3XIbIN5EnOVrKci0rBIyZ0v1ZXYfWLwx3GolodG-8,21156
35
+ weaver/build_bundle/planner.py,sha256=IKwL-ZGv_tC8Jnc6sBC8BOzgaqzdrwgRvUs8ae736xI,14715
36
+ weaver/build_bundle/prune.py,sha256=rgCPmCKDa22_6KeNidDlsGbMyd2iiD15pzL5dSYsGMA,24127
37
+ weaver/build_bundle/report.py,sha256=PNglV8b3Bvw6-u2b38v90YngI46vjwb4FM93LQK-_UM,3221
38
+ weaver/build_bundle/stages.py,sha256=12vrYtECvP2LEdgfaFd0HIyhl5ZigBR4HWmHeuLvGkE,8109
39
+ weaver/build_bundle/targets.py,sha256=GFYklQYtVXuK4kZMM798GBfi7PeT3gT4LEVrd4wC2RU,10165
40
+ weaver/build_bundle/workflow.py,sha256=yc3QSExShBmVRUz0RXSph4xm-TpPUrXhETVpwYgG_pk,20654
41
+ weaver/build_bundle/executors/__init__.py,sha256=Crnbkg6-dDl3nblMn_VIoiC92bAkDUMcfQ4aCvcs0ZQ,2623
42
+ weaver/build_bundle/executors/alias.py,sha256=bapM0eupaXdS0cgMBhMHhXMR9HZ65Zy_sCuzr1sL5xo,8479
43
+ weaver/build_bundle/executors/base.py,sha256=qUCN1CBnWQNooa8sc7GicOrL1csxbSWe-0XTHN8WIdg,5231
44
+ weaver/build_bundle/executors/folder.py,sha256=OTqRb0m3AjcVePgkZ4J9GZyCPozWxw7xbvDpoE2zOZk,3196
45
+ weaver/build_bundle/executors/load_file.py,sha256=77HYrA9NeGpkQY6Cyx3xHIiUskjv1mC2SE1WbZPVgNY,9311
46
+ weaver/build_bundle/executors/spark_case.py,sha256=EQJ4XugyVeXfcN_goFyL2d-miqcCgSMRxPvkNn4stpE,673
47
+ weaver/build_bundle/executors/spark_schema.py,sha256=P01SoiH4v_LjiCqvZ3dHA6ACeD25-bf2KQxB2u3y24Q,2267
48
+ weaver/build_bundle/executors/spark_sql.py,sha256=W22tXv1-3Z2dRpHUIf5J_WxWL-MlT1PxSVQvzcE-eus,2517
49
+ weaver/build_bundle/executors/spark_sql_batch.py,sha256=WpDtaFEHUYp_E01YwoW1SeLNhYRrzCrbm5xZgyNv0Uw,2211
50
+ weaver/build_bundle/executors/spark_table.py,sha256=mFc6734XvfUtvillURJrTAQ79cyvmPryY-WNo5_-uPc,8201
51
+ weaver/build_bundle/executors/sql_endpoint_refresh.py,sha256=U_eF10qdcZlbaY7bGT9HcuiIwlUghHmmo1vD9ggmWJo,1236
52
+ weaver/build_bundle/executors/tsql.py,sha256=YnotVuBM80AcwAp-yhQ_vK9KBDPycAKZUH0d48DV00g,3112
53
+ weaver/catalogue/__init__.py,sha256=TWxOFOuZCQNCAq3UZDVAWvYVd2qeh95BPEd2q2EYY0I,2075
54
+ weaver/catalogue/builtin.py,sha256=XOzvfFeASzL1XNangOf-ZAptklgyf8fMEmhcyhbMdAg,8802
55
+ weaver/catalogue/claims.py,sha256=QMZ7ZLOs7Xm9MWFdMCu_-TXwmmVAPMa7bCzuNVAw788,4179
56
+ weaver/catalogue/projection.py,sha256=lN-RHCxuGjleenbFLDioDx_26e38qtV0jloEwNXAhyc,17026
57
+ weaver/catalogue/reader.py,sha256=dtzDBRh8JQUX2iaXZ5Ev63UZAfVNnRfxPm41UdsE1BY,6375
58
+ weaver/catalogue/reconcile.py,sha256=0R3SXD_3B_T8eYnCQPHeB1yEHCgNWNg7eO69sHbYIuk,8086
59
+ weaver/catalogue/render.py,sha256=ReMJY31uU3zHYr9A_jQ8cmHmWMlvsgTR7_1LmE03YnI,16073
60
+ weaver/catalogue/state.py,sha256=UNJ01KqzsFZBchMsk9LBd3ifn3vF0qrokkdCw0yq5yc,27386
61
+ weaver/catalogue/tables.py,sha256=m6rrHu-Pdk82ihBSfisxjI9_tAY4iKJhsTVBvKq4lD8,23353
62
+ weaver/declaration/__init__.py,sha256=AOz--KKB_PwF2kh3S41N8CxI_Hy9lsH1NsmGBq7i5eQ,3618
63
+ weaver/declaration/columns.py,sha256=8NheFiwdxBCcx33ypQc-ggVWMpjgDQxQCvyf3Iz24dg,9240
64
+ weaver/declaration/ddl.py,sha256=45aH0gzw-PF9CfOEODMCGbzRfVHe5lCCh5UaeHBe5XI,11246
65
+ weaver/declaration/dependencies.py,sha256=ZHV3C-0WLH4QjDrgs6axgp-cB5FkyqfpWW8JaC5gV-0,18119
66
+ weaver/declaration/graph.py,sha256=ex_Ay1mqARZB3z7Tzw5tpeSprLCsKmELzDFYjxXDFj4,8478
67
+ weaver/declaration/item_dependencies.py,sha256=N8qUXmyf7JQjYywcM4me-IXgAX01ZZHSKec-HHjOx3c,11520
68
+ weaver/declaration/load.py,sha256=IeKBBrYq0OLKGRvE40Mq3SLf6RlWKUtb7k3wWwASmx8,7614
69
+ weaver/declaration/metadata.py,sha256=yBRrPMUNs0s2QyUJqR6nnAsXtTTYZ_EE7FwSSzWeNlM,54846
70
+ weaver/declaration/model.py,sha256=UB1Cg3xmkDr8brgSntOMCzsvNtK1vcvxYcEbvwdlUJE,18646
71
+ weaver/declaration/references.py,sha256=dqHQdf8oMul1erKvhdi_okB60h-1BY5-HXmpMUE0Y_s,11106
72
+ weaver/declaration/repository.py,sha256=7r5IRN8_s6CW7kqmbagt9MNFmO-Yzw-Fl_5AsDVmj24,35577
73
+ weaver/declaration/schemas.py,sha256=UQ3ovIS8c-RJMTNfizuKfclPgFwFMKGipXpA_7VOCN0,4658
74
+ weaver/declaration/source.py,sha256=fld9wOzXhkoasa7nkulFIMoJhN09AdfnLHqEU4XmrMM,23624
75
+ weaver/declaration/spark_load.py,sha256=k-SNrCT8Q6zJZUt9L-jp66URSlvIDuZruCiYmpKu64E,32489
76
+ weaver/declaration/sql_shaping.py,sha256=BYrFD9OcdniwXs5xPo2Vc6gPWWnI2xT5ohaLLPHq_RQ,18621
77
+ weaver/declaration/tsql_ddl.py,sha256=8qhvSIShdkc9CIPz3P5uRgM-HBFDewLnb-sprBanyko,16592
78
+ weaver/declaration/tsql_load.py,sha256=w58VLkdv3PNXZ4UGZwoCZTbfG1dTd3NkYpAWUK3cWp0,16201
79
+ weaver/declaration/warehouse_type_mapping.yml,sha256=6M82dNXzERmI-Pe_uC5rLiqD0Helhad89HlCFy_30fY,1571
80
+ weaver/declaration/templates/ddl/declared_create_table.sql,sha256=B14k_dY-wQ-BOoVUwj_qNDeWb2T7lzu2IadmXCLmcs4,1662
81
+ weaver/declaration/templates/ddl/infer_create_table.sql,sha256=-8-d81x25jO0UjKJo1YXKG5ILMlG-D0S8k5ZTFLDwGI,2886
82
+ weaver/declaration/templates/ddl/metadata_column_validation.sql,sha256=l1_D75-mL5YU3XpQUUANR52iikt0-8ZB6v_Zx9L9Mxc,938
83
+ weaver/declaration/templates/load/column_metadata.sql,sha256=S3ZqxaVxn54ObYsMkr98mbm7hOvySm7J9u1Y1VQtH18,1777
84
+ weaver/declaration/templates/load/full_replace_body.sql,sha256=7NUcjP5HNYr_vEx4CvtnPng3ffWmn__Cdjwk_MyAcr8,578
85
+ weaver/declaration/templates/load/install_load_procedure.sql,sha256=St7mKZwOmez4v3wR2KIi7tweDmZAoamx86uh97hEnpY,1349
86
+ weaver/declaration/templates/load/load_procedure.sql,sha256=HQpDWRVofO43LTwuBqCtYSjRyWGrkHlDTjC5BSK0WJ8,1671
87
+ weaver/declaration/templates/load/primary_key_body.sql,sha256=PxSEwQomGy8jpe4hqDjP_uhHiUPzDXgx561VqCBsczg,4124
88
+ weaver/fabric/__init__.py,sha256=QnMf005iJddHmjbwGe5Be1cFs88ScWMrvrUiVPQcvbU,2423
89
+ weaver/fabric/auth.py,sha256=o3wQCBeatoNHXA6PHwJhlv6VlhJlO3XofRcWshlvGrs,5342
90
+ weaver/fabric/capacity.py,sha256=1PNFwZOttscAL8mX3kXrxQ4QTkaU4DfZW8eOopU3JSU,4069
91
+ weaver/fabric/client.py,sha256=vdfHPSPeDo6085mAiO_Y42EKwhNSHUZTh7Jm3sK1s6I,5045
92
+ weaver/fabric/environment.py,sha256=B7_je5BWCTzCxX-xy0PKeZOirztablCLepmFpLSz7IQ,16341
93
+ weaver/fabric/livy.py,sha256=ekhedinddGWAmEhwgo9LBFEwoL-Zt_T3LtPysV0LLPw,17537
94
+ weaver/fabric/notebooks.py,sha256=g2W2yJPNsJa4ScXLFxFkVzaFIbOkrxHh44E-N5n0q_c,6210
95
+ weaver/fabric/onelake.py,sha256=_Mgic65sb8hfVdXxJMeCtQDsforXeoXZE4x6JpwadW0,10060
96
+ weaver/fabric/resolution.py,sha256=ifgP3QFeHcu__uSVnee_GihkZdyauMSFMBZ0W0ZTPu8,12483
97
+ weaver/fabric/resources.py,sha256=06Xqy79HAQXOuWJkgi87V60507iD8TM8lLtBaJizNN4,7976
98
+ weaver/fabric/session.py,sha256=mxzxJGc5FfUGXgtjBNjsGClE2GHyz8Dsd-TLJ9kRq94,5607
99
+ weaver/fabric/shortcuts.py,sha256=_GG1jXFskuH3w7sYtUSUTKrwZ5MFD5JjHwJJ6IS42lo,4233
100
+ weaver/fabric/sql.py,sha256=9K3-lfS3vrCnRYIK2OmnehDw-8ZR-UUNw-HBLuV2TyI,3617
101
+ weaver/fabric/store.py,sha256=O7wSg6EjLqd32lqDq9lqS0jZqu7_3b5jvIyIqJzBvk8,8230
102
+ weaver/runtime/__init__.py,sha256=PcN0ZjmhiOhtlOmzR8vxnUk_yShsnnZva4OzlD2QZNI,1218
103
+ weaver/runtime/folder_load.py,sha256=i_gR0QyFhkfOYEq5oNCm9r5ymWTnRCrQ2PttZVimF9c,14666
104
+ weaver/runtime/load_contract.py,sha256=FhaFbjDB0R9S4JapCUZtn5meJqMoLiNosHI6w6ZHnSw,9262
105
+ weaver/runtime/load_result.py,sha256=GIY_dW6jfmJ8XUGvxZ4lNUumBvxg5i92FK6w7JZIUes,4133
106
+ weaver/runtime/spark_load.py,sha256=cr8d0LcHe5VqX6U3F5X19DIiXWhne97O-neJ_VqE8hw,5632
107
+ weaver/runtime/table_load.py,sha256=iO6gdAIt4PDU2wUG8jbEdqEBNaDUfRqoxlVX5kpg3WA,20256
108
+ weaver/spark/__init__.py,sha256=VEbQXKdzy-GUQ1sUlx5TnyApqCjo25FlP9q-2_kEItY,1584
109
+ weaver/spark/catalogue.py,sha256=EEvUvH3vazf5lz3DCw39lM3MQNW47eupn4z3CWV8YHA,10849
110
+ weaver/spark/destination.py,sha256=tN-VEghC3SNbqE9I6VZBpsBG-B-0fv_PypBt-zbkM8M,8185
111
+ weaver/spark/session.py,sha256=HxV0fAmj4IiAy2L_MXx66bvwhA0vpM_r7t-oxId8-DA,3118
112
+ weaver/spark/tokens.py,sha256=ruZeaEgVY21cajlOYiUJXhdSI-lRVrxtHwqSbAqRyQ8,5541
113
+ weaver/sql/__init__.py,sha256=lHd_vWWFd4M_G31UF3U92Dba5WKtI6ND8vwlpgUZpYE,1018
114
+ weaver/sql/authentication.py,sha256=3mrmUr9p5QHKwZIry8VaKJq2IYef2Yydt-40E_wELB4,1286
115
+ weaver/sql/connection.py,sha256=1MDDFxcB2U1oPTdB8rC30o3BJChsi6JSsqE77GwVILY,2590
116
+ weaver/sql/errors.py,sha256=K3ISinXFey2H_PmVNZdepTTmtQBDBK7TdMR2S3yWz9c,653
117
+ weaver/sql/execution.py,sha256=W5WaXEzNEjOSQis6BH0BnbTzFcu87YJjlve9J4FdWKI,3644
118
+ weaver/sql/pool.py,sha256=9xEXUdFsT1LWoXgEW8rJeQsbHWqOpZ7t_RbYj1GD2yQ,5357
119
+ weaver/sql/wipe.py,sha256=2LpiAeDCJP0iLQfxNU3zMI7qWDDpJUniVYwseasEdXs,4122
120
+ weaver_cli/__init__.py,sha256=FixU40wpKlVUUbH3KbFutvFa031_qpij-TW9lX1W7M0,364
121
+ weaver_cli/__main__.py,sha256=SI2leQvN8qKJAa6LrNft1Pfi5_3_Oe6sMAxpe2lXM_w,124
122
+ weaver_cli/main.py,sha256=3PWyE3BX64VWtgbO_-ac5lTzpYxqVrHoqcWJvP23fLg,21556
123
+ weaverstack-0.1.1.dist-info/METADATA,sha256=EzQPpeQCEIrhrY5uPNuZqh77rqAyTXFIWR0rU15Fj_I,4355
124
+ weaverstack-0.1.1.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
125
+ weaverstack-0.1.1.dist-info/entry_points.txt,sha256=z-Hxf09vB4N0MidnmtDbWOS4-CUrj57G4gsD2j62G4U,43
126
+ weaverstack-0.1.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
127
+ weaverstack-0.1.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.31.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ weaver = weaver_cli:main
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.