semantic-link-labs 0.11.2__tar.gz → 0.12.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.

Potentially problematic release.


This version of semantic-link-labs might be problematic. Click here for more details.

Files changed (257) hide show
  1. semantic_link_labs-0.12.0/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  2. semantic_link_labs-0.12.0/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. semantic_link_labs-0.12.0/.github/ISSUE_TEMPLATE/issue--question---advice-needed.md +14 -0
  4. semantic_link_labs-0.12.0/.github/workflows/build.yaml +69 -0
  5. semantic_link_labs-0.12.0/.github/workflows/codeql.yaml +30 -0
  6. semantic_link_labs-0.12.0/.gitignore +160 -0
  7. semantic_link_labs-0.12.0/.readthedocs.yaml +33 -0
  8. semantic_link_labs-0.12.0/.vscode/settings.json +7 -0
  9. semantic_link_labs-0.12.0/CODE_OF_CONDUCT.md +9 -0
  10. {semantic_link_labs-0.11.2/src/semantic_link_labs.egg-info → semantic_link_labs-0.12.0}/PKG-INFO +7 -6
  11. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/README.md +5 -3
  12. semantic_link_labs-0.12.0/SECURITY.md +41 -0
  13. semantic_link_labs-0.12.0/SUPPORT.md +25 -0
  14. semantic_link_labs-0.12.0/docs/Makefile +20 -0
  15. semantic_link_labs-0.12.0/docs/make.bat +35 -0
  16. semantic_link_labs-0.12.0/docs/requirements.txt +14 -0
  17. semantic_link_labs-0.12.0/docs/source/conf.py +46 -0
  18. semantic_link_labs-0.12.0/docs/source/index.rst +20 -0
  19. semantic_link_labs-0.12.0/docs/source/modules.rst +7 -0
  20. semantic_link_labs-0.12.0/environment.yml +13 -0
  21. semantic_link_labs-0.12.0/notebooks/Best Practice Analyzer Report.ipynb +1 -0
  22. semantic_link_labs-0.12.0/notebooks/Capacity Migration.ipynb +340 -0
  23. semantic_link_labs-0.12.0/notebooks/Delta Analyzer.ipynb +171 -0
  24. semantic_link_labs-0.12.0/notebooks/Migration to Direct Lake.ipynb +462 -0
  25. semantic_link_labs-0.12.0/notebooks/Model Optimization.ipynb +444 -0
  26. semantic_link_labs-0.12.0/notebooks/Query Scale Out.ipynb +226 -0
  27. semantic_link_labs-0.12.0/notebooks/Report Analysis.ipynb +1 -0
  28. semantic_link_labs-0.12.0/notebooks/SQL.ipynb +226 -0
  29. semantic_link_labs-0.12.0/notebooks/Semantic Model Management.ipynb +144 -0
  30. semantic_link_labs-0.12.0/notebooks/Semantic Model Refresh.ipynb +1 -0
  31. semantic_link_labs-0.12.0/notebooks/Service Principal.ipynb +247 -0
  32. semantic_link_labs-0.12.0/notebooks/Tabular Object Model.ipynb +786 -0
  33. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/pyproject.toml +2 -3
  34. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0/src/semantic_link_labs.egg-info}/PKG-INFO +7 -6
  35. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/semantic_link_labs.egg-info/SOURCES.txt +40 -4
  36. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/semantic_link_labs.egg-info/requires.txt +1 -2
  37. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/__init__.py +18 -18
  38. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_a_lib_info.py +1 -1
  39. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_authentication.py +81 -32
  40. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_capacities.py +2 -2
  41. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_capacity_migration.py +4 -4
  42. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_clear_cache.py +1 -1
  43. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_connections.py +107 -70
  44. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_dashboards.py +6 -2
  45. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_data_pipelines.py +1 -1
  46. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_dataflows.py +1 -1
  47. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_dax.py +3 -3
  48. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_delta_analyzer.py +4 -4
  49. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_delta_analyzer_history.py +1 -1
  50. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_deployment_pipelines.py +1 -1
  51. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_environments.py +1 -1
  52. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_eventhouses.py +9 -3
  53. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_eventstreams.py +1 -1
  54. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_external_data_shares.py +56 -2
  55. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_gateways.py +14 -7
  56. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_generate_semantic_model.py +7 -12
  57. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_git.py +1 -1
  58. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_graphQL.py +1 -1
  59. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_helper_functions.py +293 -22
  60. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_job_scheduler.py +12 -1
  61. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_kql_databases.py +1 -1
  62. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_kql_querysets.py +10 -2
  63. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_kusto.py +2 -2
  64. semantic_link_labs-0.12.0/src/sempy_labs/_labels.py +126 -0
  65. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_list_functions.py +2 -2
  66. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_managed_private_endpoints.py +1 -1
  67. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_mirrored_databases.py +40 -16
  68. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_mirrored_warehouses.py +1 -1
  69. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_ml_experiments.py +1 -1
  70. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_model_bpa.py +6 -6
  71. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_model_bpa_bulk.py +3 -3
  72. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_model_dependencies.py +1 -1
  73. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_mounted_data_factories.py +3 -3
  74. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_notebooks.py +153 -3
  75. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_query_scale_out.py +2 -2
  76. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_refresh_semantic_model.py +1 -1
  77. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_semantic_models.py +15 -3
  78. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_spark.py +1 -1
  79. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_sql.py +3 -3
  80. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_sql_endpoints.py +5 -3
  81. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_sqldatabase.py +5 -1
  82. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_tags.py +3 -1
  83. semantic_link_labs-0.12.0/src/sempy_labs/_translations.py +43 -0
  84. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_user_delegation_key.py +2 -2
  85. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_utils.py +27 -0
  86. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_vertipaq.py +3 -3
  87. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_vpax.py +1 -1
  88. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_warehouses.py +5 -0
  89. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_workloads.py +1 -1
  90. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_workspace_identity.py +1 -1
  91. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_workspaces.py +145 -11
  92. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/__init__.py +6 -0
  93. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_capacities.py +34 -11
  94. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_items.py +2 -2
  95. semantic_link_labs-0.12.0/src/sempy_labs/admin/_tenant_keys.py +89 -0
  96. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_dl_helper.py +5 -2
  97. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/graph/_users.py +3 -5
  98. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/lakehouse/__init__.py +4 -0
  99. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/lakehouse/_helper.py +18 -9
  100. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/lakehouse/_lakehouse.py +18 -9
  101. semantic_link_labs-0.12.0/src/sempy_labs/lakehouse/_materialized_lake_views.py +76 -0
  102. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/lakehouse/_shortcuts.py +8 -2
  103. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/migration/_migrate_calctables_to_lakehouse.py +38 -47
  104. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/migration/_migrate_calctables_to_semantic_model.py +12 -22
  105. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/migration/_migrate_model_objects_to_semantic_model.py +7 -11
  106. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/migration/_migrate_tables_columns_to_semantic_model.py +14 -23
  107. semantic_link_labs-0.12.0/src/sempy_labs/ml_model/__init__.py +23 -0
  108. semantic_link_labs-0.12.0/src/sempy_labs/ml_model/_functions.py +427 -0
  109. semantic_link_labs-0.12.0/src/sempy_labs/report/_bpareporttemplate/.pbi/localSettings.json +9 -0
  110. semantic_link_labs-0.12.0/src/sempy_labs/report/_bpareporttemplate/.platform +11 -0
  111. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_download_report.py +4 -1
  112. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_export_report.py +12 -5
  113. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_generate_report.py +11 -3
  114. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_paginated.py +21 -15
  115. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_report_functions.py +19 -11
  116. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_report_rebind.py +21 -10
  117. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_reportwrapper.py +1 -1
  118. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/theme/_org_themes.py +5 -6
  119. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/tom/_model.py +13 -19
  120. semantic_link_labs-0.12.0/src/sempy_labs/variable_library/__init__.py +19 -0
  121. semantic_link_labs-0.12.0/src/sempy_labs/variable_library/_functions.py +403 -0
  122. semantic_link_labs-0.12.0/tests/__init__.py +0 -0
  123. semantic_link_labs-0.11.2/src/sempy_labs/_dax_query_view.py +0 -57
  124. semantic_link_labs-0.11.2/src/sempy_labs/_ml_models.py +0 -111
  125. semantic_link_labs-0.11.2/src/sempy_labs/_translations.py +0 -396
  126. semantic_link_labs-0.11.2/src/sempy_labs/_variable_libraries.py +0 -92
  127. semantic_link_labs-0.11.2/tests/test_friendly_case.py +0 -11
  128. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/LICENSE +0 -0
  129. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/setup.cfg +0 -0
  130. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/semantic_link_labs.egg-info/dependency_links.txt +0 -0
  131. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/semantic_link_labs.egg-info/top_level.txt +0 -0
  132. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_ai.py +0 -0
  133. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_am-ET.po +0 -0
  134. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_ar-AE.po +0 -0
  135. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_bg-BG.po +0 -0
  136. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_ca-ES.po +0 -0
  137. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_cs-CZ.po +0 -0
  138. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_da-DK.po +0 -0
  139. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_de-DE.po +0 -0
  140. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_el-GR.po +0 -0
  141. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_es-ES.po +0 -0
  142. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_fa-IR.po +0 -0
  143. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_fi-FI.po +0 -0
  144. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_fr-FR.po +0 -0
  145. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_ga-IE.po +0 -0
  146. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_he-IL.po +0 -0
  147. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_hi-IN.po +0 -0
  148. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_hu-HU.po +0 -0
  149. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_id-ID.po +0 -0
  150. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_is-IS.po +0 -0
  151. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_it-IT.po +0 -0
  152. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_ja-JP.po +0 -0
  153. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_ko-KR.po +0 -0
  154. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_mt-MT.po +0 -0
  155. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_nl-NL.po +0 -0
  156. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_pl-PL.po +0 -0
  157. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_pt-BR.po +0 -0
  158. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_pt-PT.po +0 -0
  159. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_ro-RO.po +0 -0
  160. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_ru-RU.po +0 -0
  161. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_sk-SK.po +0 -0
  162. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_sl-SL.po +0 -0
  163. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_sv-SE.po +0 -0
  164. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_ta-IN.po +0 -0
  165. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_te-IN.po +0 -0
  166. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_th-TH.po +0 -0
  167. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_tr-TR.po +0 -0
  168. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_uk-UA.po +0 -0
  169. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_zh-CN.po +0 -0
  170. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_bpa_translation/_model/_translations_zu-ZA.po +0 -0
  171. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_daxformatter.py +0 -0
  172. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_dictionary_diffs.py +0 -0
  173. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_documentation.py +0 -0
  174. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_icons.py +0 -0
  175. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_model_auto_build.py +0 -0
  176. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_model_bpa_rules.py +0 -0
  177. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/_one_lake_integration.py +0 -0
  178. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_activities.py +0 -0
  179. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_apps.py +0 -0
  180. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_artifacts.py +0 -0
  181. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_basic_functions.py +0 -0
  182. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_dataflows.py +0 -0
  183. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_datasets.py +0 -0
  184. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_domains.py +0 -0
  185. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_external_data_share.py +0 -0
  186. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_git.py +0 -0
  187. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_reports.py +0 -0
  188. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_scanner.py +0 -0
  189. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_shared.py +0 -0
  190. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_tags.py +0 -0
  191. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_tenant.py +0 -0
  192. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_users.py +0 -0
  193. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/admin/_workspaces.py +0 -0
  194. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/__init__.py +0 -0
  195. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_directlake_schema_compare.py +0 -0
  196. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_directlake_schema_sync.py +0 -0
  197. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_generate_shared_expression.py +0 -0
  198. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_get_directlake_lakehouse.py +0 -0
  199. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_get_shared_expression.py +0 -0
  200. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_guardrails.py +0 -0
  201. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_list_directlake_model_calc_tables.py +0 -0
  202. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_show_unsupported_directlake_objects.py +0 -0
  203. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_update_directlake_model_lakehouse_connection.py +0 -0
  204. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_update_directlake_partition_entity.py +0 -0
  205. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/directlake/_warm_cache.py +0 -0
  206. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/dotnet_lib/dotnet.runtime.config.json +0 -0
  207. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/graph/__init__.py +0 -0
  208. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/graph/_groups.py +0 -0
  209. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/graph/_teams.py +0 -0
  210. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/lakehouse/_blobs.py +0 -0
  211. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/lakehouse/_get_lakehouse_columns.py +0 -0
  212. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/lakehouse/_get_lakehouse_tables.py +0 -0
  213. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/lakehouse/_livy_sessions.py +0 -0
  214. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/migration/__init__.py +0 -0
  215. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/migration/_create_pqt_file.py +0 -0
  216. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/migration/_direct_lake_to_import.py +0 -0
  217. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/migration/_migration_validation.py +0 -0
  218. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/migration/_refresh_calc_tables.py +0 -0
  219. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/mirrored_azure_databricks_catalog/__init__.py +0 -0
  220. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/mirrored_azure_databricks_catalog/_discover.py +0 -0
  221. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/mirrored_azure_databricks_catalog/_refresh_catalog_metadata.py +0 -0
  222. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_BPAReportTemplate.json +0 -0
  223. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/__init__.py +0 -0
  224. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/StaticResources/SharedResources/BaseThemes/CY24SU06.json +0 -0
  225. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/page.json +0 -0
  226. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/1b08bce3bebabb0a27a8/visual.json +0 -0
  227. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/2f22ddb70c301693c165/visual.json +0 -0
  228. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/3b1182230aa6c600b43a/visual.json +0 -0
  229. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/58577ba6380c69891500/visual.json +0 -0
  230. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/a2a8fa5028b3b776c96c/visual.json +0 -0
  231. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/adfd47ef30652707b987/visual.json +0 -0
  232. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/b6a80ee459e716e170b1/visual.json +0 -0
  233. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/ce3130a721c020cc3d81/visual.json +0 -0
  234. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/92735ae19b31712208ad/page.json +0 -0
  235. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/92735ae19b31712208ad/visuals/66e60dfb526437cd78d1/visual.json +0 -0
  236. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/page.json +0 -0
  237. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/07deb8bce824e1be37d7/visual.json +0 -0
  238. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0b1c68838818b32ad03b/visual.json +0 -0
  239. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0c171de9d2683d10b930/visual.json +0 -0
  240. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0efa01be0510e40a645e/visual.json +0 -0
  241. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/6bf2f0eb830ab53cc668/visual.json +0 -0
  242. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/88d8141cb8500b60030c/visual.json +0 -0
  243. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/a753273590beed656a03/visual.json +0 -0
  244. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/b8fdc82cddd61ac447bc/visual.json +0 -0
  245. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/d37dce724a0ccc30044b/page.json +0 -0
  246. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/d37dce724a0ccc30044b/visuals/ce8532a7e25020271077/visual.json +0 -0
  247. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/pages/pages.json +0 -0
  248. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/report.json +0 -0
  249. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition/version.json +0 -0
  250. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_bpareporttemplate/definition.pbir +0 -0
  251. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_report_bpa.py +0 -0
  252. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_report_bpa_rules.py +0 -0
  253. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_report_helper.py +0 -0
  254. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_report_list_functions.py +0 -0
  255. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/report/_save_report.py +0 -0
  256. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/theme/__init__.py +0 -0
  257. {semantic_link_labs-0.11.2 → semantic_link_labs-0.12.0}/src/sempy_labs/tom/__init__.py +0 -0
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Desktop (please complete the following information):**
27
+ - OS: [e.g. iOS]
28
+ - Browser [e.g. chrome, safari]
29
+ - Version [e.g. 22]
30
+
31
+ **Additional context**
32
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,14 @@
1
+ ---
2
+ name: 'Issue: Question / Advice needed'
3
+ about: Ask a question about this project
4
+ title: ''
5
+ labels: question
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **What are you trying to achieve?**
11
+ Provide a brief background description of the problem you're trying to solve. Include information about the semantic engine you're working on (Power BI Desktop, Azure Analysis Services, etc.), as not everything is possible across engines.
12
+
13
+ **What have you tried so far?**
14
+ If applicable, describe the steps you have tried so far. For scripting-related questions, show the code that you have written.
@@ -0,0 +1,69 @@
1
+ name: Semantic Link Labs
2
+
3
+ on: [push]
4
+
5
+ permissions:
6
+ contents: write # This is required for actions/checkout@v1
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v4
16
+ with:
17
+ python-version: "3.10"
18
+
19
+ - name: Setup dotnet
20
+ uses: actions/setup-dotnet@v4
21
+ with:
22
+ dotnet-version: |
23
+ 8.0.x
24
+
25
+ - name: Get Date
26
+ id: get-date
27
+ run: echo "today=$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT
28
+ shell: bash
29
+
30
+ - name: Cache conda
31
+ uses: actions/cache@v3
32
+ env:
33
+ # Increase this value to reset cache if environment.yml has not changed
34
+ CACHE_NUMBER: 0
35
+ with:
36
+ path: ~/conda_pkgs_dir
37
+ key:
38
+ ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ steps.get-date.outputs.today }}-${{ hashFiles('environment.yml') }}
39
+
40
+ - uses: conda-incubator/setup-miniconda@v3
41
+ with:
42
+ auto-update-conda: true
43
+ activate-environment: fabric
44
+ python-version: "3.10"
45
+ environment-file: environment.yml
46
+ channel-priority: strict
47
+
48
+ - name: Install package
49
+ shell: bash -el {0}
50
+ run: |
51
+ conda info
52
+ pip install -e .
53
+
54
+ # - name: Lint with flake8
55
+ # shell: bash -el {0}
56
+ # run: |
57
+ # flake8 sempy_labs tests --count --show-source --statistics
58
+ # continue-on-error: false
59
+
60
+ # - name: Lint with mypy
61
+ # shell: bash -el {0}
62
+ # run: |
63
+ # mypy sempy_labs tests
64
+ # continue-on-error: false
65
+
66
+ - name: Test with pytest
67
+ shell: bash -el {0}
68
+ run: |
69
+ pytest -s tests/
@@ -0,0 +1,30 @@
1
+ on:
2
+ push:
3
+ branches: [main]
4
+ pull_request:
5
+ branches: [main]
6
+ schedule:
7
+ - cron: '20 14 * * 1'
8
+
9
+ permissions:
10
+ actions: read
11
+ contents: read
12
+ security-events: write # To upload sarif files
13
+
14
+ jobs:
15
+ analyze:
16
+ name: Analyze
17
+ runs-on: ubuntu-latest
18
+
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+
22
+ - name: Initialize CodeQL
23
+ uses: github/codeql-action/init@v3
24
+ with:
25
+ languages: python
26
+
27
+ - name: Perform CodeQL Analysis
28
+ uses: github/codeql-action/analyze@v3
29
+
30
+
@@ -0,0 +1,160 @@
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
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm.fming.dev/#use-with-ide
110
+ .pdm.toml
111
+
112
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
+ __pypackages__/
114
+
115
+ # Celery stuff
116
+ celerybeat-schedule
117
+ celerybeat.pid
118
+
119
+ # SageMath parsed files
120
+ *.sage.py
121
+
122
+ # Environments
123
+ .env
124
+ .venv
125
+ env/
126
+ venv/
127
+ ENV/
128
+ env.bak/
129
+ venv.bak/
130
+
131
+ # Spyder project settings
132
+ .spyderproject
133
+ .spyproject
134
+
135
+ # Rope project settings
136
+ .ropeproject
137
+
138
+ # mkdocs documentation
139
+ /site
140
+
141
+ # mypy
142
+ .mypy_cache/
143
+ .dmypy.json
144
+ dmypy.json
145
+
146
+ # Pyre type checker
147
+ .pyre/
148
+
149
+ # pytype static type analyzer
150
+ .pytype/
151
+
152
+ # Cython debug symbols
153
+ cython_debug/
154
+
155
+ # PyCharm
156
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
159
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
+ #.idea/
@@ -0,0 +1,33 @@
1
+ # .readthedocs.yaml
2
+ # Read the Docs configuration file
3
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
+
5
+ # Required
6
+ version: 2
7
+
8
+ # Set the OS, Python version and other tools you might need
9
+ build:
10
+ os: ubuntu-22.04
11
+ tools:
12
+ python: "3.12"
13
+ # You can also specify other tool versions:
14
+ # nodejs: "19"
15
+ # rust: "1.64"
16
+ # golang: "1.19"
17
+ jobs:
18
+ pre_build:
19
+ - sphinx-apidoc -f -o docs/source src/sempy_labs/
20
+
21
+ # Build documentation in the "docs/" directory with Sphinx
22
+ sphinx:
23
+ configuration: docs/source/conf.py
24
+
25
+ # Optionally build your docs in additional formats such as PDF and ePub
26
+ # formats:
27
+ # - pdf
28
+ # - epub
29
+
30
+ # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
31
+ python:
32
+ install:
33
+ - requirements: docs/requirements.txt
@@ -0,0 +1,7 @@
1
+ {
2
+ "python.testing.pytestArgs": [
3
+ "tests"
4
+ ],
5
+ "python.testing.unittestEnabled": false,
6
+ "python.testing.pytestEnabled": true
7
+ }
@@ -0,0 +1,9 @@
1
+ # Microsoft Open Source Code of Conduct
2
+
3
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4
+
5
+ Resources:
6
+
7
+ - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8
+ - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9
+ - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: semantic-link-labs
3
- Version: 0.11.2
3
+ Version: 0.12.0
4
4
  Summary: Semantic Link Labs for Microsoft Fabric
5
5
  Author: Microsoft Corporation
6
6
  License: MIT License
@@ -15,9 +15,8 @@ Classifier: Framework :: Jupyter
15
15
  Requires-Python: <3.12,>=3.10
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: semantic-link-sempy>=0.11.1
18
+ Requires-Dist: semantic-link-sempy>=0.12.0
19
19
  Requires-Dist: anytree
20
- Requires-Dist: powerbiclient
21
20
  Requires-Dist: polib
22
21
  Requires-Dist: jsonpath_ng
23
22
  Provides-Extra: test
@@ -27,7 +26,7 @@ Dynamic: license-file
27
26
  # Semantic Link Labs
28
27
 
29
28
  [![PyPI version](https://badge.fury.io/py/semantic-link-labs.svg)](https://badge.fury.io/py/semantic-link-labs)
30
- [![Read The Docs](https://readthedocs.org/projects/semantic-link-labs/badge/?version=0.11.2&style=flat)](https://readthedocs.org/projects/semantic-link-labs/)
29
+ [![Read The Docs](https://readthedocs.org/projects/semantic-link-labs/badge/?version=0.12.0&style=flat)](https://readthedocs.org/projects/semantic-link-labs/)
31
30
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
32
31
  [![Downloads](https://static.pepy.tech/badge/semantic-link-labs)](https://pepy.tech/project/semantic-link-labs)
33
32
 
@@ -129,7 +128,7 @@ for file_name, file_url in notebook_files.items():
129
128
  import sempy_labs as labs
130
129
  import sempy_labs.lakehouse as lake
131
130
  import sempy_labs.report as rep
132
- from sempy_labs import migration, directlake, admin, graph, theme, mirrored_azure_databricks_catalog
131
+ from sempy_labs import migration, directlake, admin, graph, theme, mirrored_azure_databricks_catalog, ml_model, variable_library
133
132
  from sempy_labs.tom import connect_semantic_model
134
133
  from sempy_labs.report import connect_report
135
134
  ```
@@ -155,6 +154,8 @@ An even better way to ensure the semantic-link-labs library is available in your
155
154
  2. Select your newly created environment within the 'Environment' drop down in the navigation bar at the top of the notebook
156
155
 
157
156
  ## Version History
157
+ * [0.12.0](https://github.com/microsoft/semantic-link-labs/releases/tag/0.12.0) (September 2, 2025)
158
+ * [0.11.3](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.3) (August 6, 2025)
158
159
  * [0.11.2](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.2) (July 8, 2025)
159
160
  * [0.11.1](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.1) (June 24, 2025)
160
161
  * [0.11.0](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.0) (June 23, 2025)
@@ -213,7 +214,7 @@ Check out my [blog post](https://www.elegantbi.com/post/direct-lake-migration) o
213
214
  ### Instructions
214
215
 
215
216
  1. Download this [notebook](https://github.com/microsoft/semantic-link-labs/blob/main/notebooks/Migration%20to%20Direct%20Lake.ipynb).
216
- 2. Make sure you are in the ['Data Engineering' persona](https://learn.microsoft.com/fabric/get-started/microsoft-fabric-overview#components-of-microsoft-fabric). Click the icon at the bottom left corner of your Workspace screen and select 'Data Engineering'
217
+ 2. Make sure you are in the 'Fabric Developer' experience. Click the icon at the bottom left corner of your Workspace screen and select 'Fabric'.
217
218
  3. In your workspace, select 'New -> Import notebook' and import the notebook from step 1.
218
219
  4. [Add your lakehouse](https://learn.microsoft.com/fabric/data-engineering/lakehouse-notebook-explore#add-or-remove-a-lakehouse) to your Fabric notebook
219
220
  5. Follow the instructions within the notebook.
@@ -1,7 +1,7 @@
1
1
  # Semantic Link Labs
2
2
 
3
3
  [![PyPI version](https://badge.fury.io/py/semantic-link-labs.svg)](https://badge.fury.io/py/semantic-link-labs)
4
- [![Read The Docs](https://readthedocs.org/projects/semantic-link-labs/badge/?version=0.11.2&style=flat)](https://readthedocs.org/projects/semantic-link-labs/)
4
+ [![Read The Docs](https://readthedocs.org/projects/semantic-link-labs/badge/?version=0.12.0&style=flat)](https://readthedocs.org/projects/semantic-link-labs/)
5
5
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
6
6
  [![Downloads](https://static.pepy.tech/badge/semantic-link-labs)](https://pepy.tech/project/semantic-link-labs)
7
7
 
@@ -103,7 +103,7 @@ for file_name, file_url in notebook_files.items():
103
103
  import sempy_labs as labs
104
104
  import sempy_labs.lakehouse as lake
105
105
  import sempy_labs.report as rep
106
- from sempy_labs import migration, directlake, admin, graph, theme, mirrored_azure_databricks_catalog
106
+ from sempy_labs import migration, directlake, admin, graph, theme, mirrored_azure_databricks_catalog, ml_model, variable_library
107
107
  from sempy_labs.tom import connect_semantic_model
108
108
  from sempy_labs.report import connect_report
109
109
  ```
@@ -129,6 +129,8 @@ An even better way to ensure the semantic-link-labs library is available in your
129
129
  2. Select your newly created environment within the 'Environment' drop down in the navigation bar at the top of the notebook
130
130
 
131
131
  ## Version History
132
+ * [0.12.0](https://github.com/microsoft/semantic-link-labs/releases/tag/0.12.0) (September 2, 2025)
133
+ * [0.11.3](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.3) (August 6, 2025)
132
134
  * [0.11.2](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.2) (July 8, 2025)
133
135
  * [0.11.1](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.1) (June 24, 2025)
134
136
  * [0.11.0](https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.0) (June 23, 2025)
@@ -187,7 +189,7 @@ Check out my [blog post](https://www.elegantbi.com/post/direct-lake-migration) o
187
189
  ### Instructions
188
190
 
189
191
  1. Download this [notebook](https://github.com/microsoft/semantic-link-labs/blob/main/notebooks/Migration%20to%20Direct%20Lake.ipynb).
190
- 2. Make sure you are in the ['Data Engineering' persona](https://learn.microsoft.com/fabric/get-started/microsoft-fabric-overview#components-of-microsoft-fabric). Click the icon at the bottom left corner of your Workspace screen and select 'Data Engineering'
192
+ 2. Make sure you are in the 'Fabric Developer' experience. Click the icon at the bottom left corner of your Workspace screen and select 'Fabric'.
191
193
  3. In your workspace, select 'New -> Import notebook' and import the notebook from step 1.
192
194
  4. [Add your lakehouse](https://learn.microsoft.com/fabric/data-engineering/lakehouse-notebook-explore#add-or-remove-a-lakehouse) to your Fabric notebook
193
195
  5. Follow the instructions within the notebook.
@@ -0,0 +1,41 @@
1
+ <!-- BEGIN MICROSOFT SECURITY.MD V0.0.9 BLOCK -->
2
+
3
+ ## Security
4
+
5
+ Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet) and [Xamarin](https://github.com/xamarin).
6
+
7
+ If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/security.md/definition), please report it to us as described below.
8
+
9
+ ## Reporting Security Issues
10
+
11
+ **Please do not report security vulnerabilities through public GitHub issues.**
12
+
13
+ Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/security.md/msrc/create-report).
14
+
15
+ If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp).
16
+
17
+ You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
18
+
19
+ Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20
+
21
+ * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22
+ * Full paths of source file(s) related to the manifestation of the issue
23
+ * The location of the affected source code (tag/branch/commit or direct URL)
24
+ * Any special configuration required to reproduce the issue
25
+ * Step-by-step instructions to reproduce the issue
26
+ * Proof-of-concept or exploit code (if possible)
27
+ * Impact of the issue, including how an attacker might exploit the issue
28
+
29
+ This information will help us triage your report more quickly.
30
+
31
+ If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/security.md/msrc/bounty) page for more details about our active programs.
32
+
33
+ ## Preferred Languages
34
+
35
+ We prefer all communications to be in English.
36
+
37
+ ## Policy
38
+
39
+ Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/security.md/cvd).
40
+
41
+ <!-- END MICROSOFT SECURITY.MD BLOCK -->
@@ -0,0 +1,25 @@
1
+ # TODO: The maintainer of this repo has not yet edited this file
2
+
3
+ **REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project?
4
+
5
+ - **No CSS support:** Fill out this template with information about how to file issues and get help.
6
+ - **Yes CSS support:** Fill out an intake form at [aka.ms/onboardsupport](https://aka.ms/onboardsupport). CSS will work with/help you to determine next steps.
7
+ - **Not sure?** Fill out an intake as though the answer were "Yes". CSS will help you decide.
8
+
9
+ *Then remove this first heading from this SUPPORT.MD file before publishing your repo.*
10
+
11
+ # Support
12
+
13
+ ## How to file issues and get help
14
+
15
+ This project uses GitHub Issues to track bugs and feature requests. Please search the existing
16
+ issues before filing new issues to avoid duplicates. For new issues, file your bug or
17
+ feature request as a new Issue.
18
+
19
+ For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE
20
+ FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER
21
+ CHANNEL. WHERE WILL YOU HELP PEOPLE?**.
22
+
23
+ ## Microsoft Support Policy
24
+
25
+ Support for this **PROJECT or PRODUCT** is limited to the resources listed above.
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = source
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,35 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=sphinx-build
9
+ )
10
+ set SOURCEDIR=source
11
+ set BUILDDIR=build
12
+
13
+ %SPHINXBUILD% >NUL 2>NUL
14
+ if errorlevel 9009 (
15
+ echo.
16
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo.installed, then set the SPHINXBUILD environment variable to point
18
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo.may add the Sphinx directory to PATH.
20
+ echo.
21
+ echo.If you don't have Sphinx installed, grab it from
22
+ echo.https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if "%1" == "" goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd
@@ -0,0 +1,14 @@
1
+ semantic-link-sempy
2
+ sphinx_rtd_theme
3
+ pandas==2.0.3
4
+ numpy<2.0.0 # 2.0.0 breaks the build
5
+ # pyspark==3.5.0
6
+ azure-identity==1.16.1
7
+ azure-keyvault-secrets
8
+ azure-storage-file-datalake==12.3.1
9
+ azure-storage-blob>=12.9.0
10
+ anytree
11
+ IPython
12
+ polib
13
+ powerbiclient
14
+ jsonpath_ng
@@ -0,0 +1,46 @@
1
+ import os
2
+ import sys
3
+ sys.path.insert(0, os.path.abspath('../../src/'))
4
+
5
+ # Configuration file for the Sphinx documentation builder.
6
+ #
7
+ # For the full list of built-in configuration values, see the documentation:
8
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
9
+
10
+ # -- Project information -----------------------------------------------------
11
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
12
+
13
+ project = 'semantic-link-labs'
14
+ copyright = '2024, Microsoft and community'
15
+ author = 'Microsoft and community'
16
+ release = '0.12.0'
17
+
18
+ # -- General configuration ---------------------------------------------------
19
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
20
+
21
+ extensions = [
22
+ 'sphinx.ext.autodoc',
23
+ 'sphinx.ext.napoleon',
24
+ "sphinx.ext.intersphinx",
25
+ ]
26
+
27
+ intersphinx_mapping = {
28
+ 'python': ('http://docs.python.org/', None),
29
+ 'numpy': ('https://numpy.org/doc/stable/', None),
30
+ 'pandas': ('http://pandas.pydata.org/pandas-docs/dev', None)
31
+ }
32
+
33
+ templates_path = ['_templates']
34
+ exclude_patterns = []
35
+
36
+
37
+ # -- Options for HTML output -------------------------------------------------
38
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
39
+
40
+ html_theme = 'sphinx_rtd_theme'
41
+ html_static_path = ['_static']
42
+
43
+ # List of packages we don't want to install in the environment
44
+ autodoc_mock_imports = ['delta', 'synapse', 'jwt', 'semantic-link-sempy', 'pyspark', 'powerbiclient']
45
+
46
+ napoleon_numpy_docstring = True