nl2pbip 1.1.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.
Files changed (60) hide show
  1. nl2pbip-1.1.0/LICENSE +61 -0
  2. nl2pbip-1.1.0/PKG-INFO +660 -0
  3. nl2pbip-1.1.0/README.md +618 -0
  4. nl2pbip-1.1.0/nl2pbip/__init__.py +3 -0
  5. nl2pbip-1.1.0/nl2pbip/cli.py +232 -0
  6. nl2pbip-1.1.0/nl2pbip/data_inspector.py +667 -0
  7. nl2pbip-1.1.0/nl2pbip/data_types.py +290 -0
  8. nl2pbip-1.1.0/nl2pbip/data_understanding.py +593 -0
  9. nl2pbip-1.1.0/nl2pbip/dax_catalog.py +149 -0
  10. nl2pbip-1.1.0/nl2pbip/dax_library.json +51 -0
  11. nl2pbip-1.1.0/nl2pbip/example_run.py +216 -0
  12. nl2pbip-1.1.0/nl2pbip/exporter/__init__.py +5 -0
  13. nl2pbip-1.1.0/nl2pbip/exporter/exporter.py +208 -0
  14. nl2pbip-1.1.0/nl2pbip/exporter/opc.py +281 -0
  15. nl2pbip-1.1.0/nl2pbip/exporter/pbit_builder.py +458 -0
  16. nl2pbip-1.1.0/nl2pbip/finetune/dataset_generator.py +213 -0
  17. nl2pbip-1.1.0/nl2pbip/finetune/train.py +199 -0
  18. nl2pbip-1.1.0/nl2pbip/llm_client.py +416 -0
  19. nl2pbip-1.1.0/nl2pbip/m_builder.py +458 -0
  20. nl2pbip-1.1.0/nl2pbip/ontology.py +1235 -0
  21. nl2pbip-1.1.0/nl2pbip/orchestrator.py +1540 -0
  22. nl2pbip-1.1.0/nl2pbip/packager.py +427 -0
  23. nl2pbip-1.1.0/nl2pbip/pbir_engine.py +736 -0
  24. nl2pbip-1.1.0/nl2pbip/pbir_validator.py +413 -0
  25. nl2pbip-1.1.0/nl2pbip/prompts.py +527 -0
  26. nl2pbip-1.1.0/nl2pbip/providers/local_finetuned.py +65 -0
  27. nl2pbip-1.1.0/nl2pbip/py.typed +0 -0
  28. nl2pbip-1.1.0/nl2pbip/schema_advisor.py +449 -0
  29. nl2pbip-1.1.0/nl2pbip/tmdl_engine.py +2538 -0
  30. nl2pbip-1.1.0/nl2pbip/tmdl_linter.py +19 -0
  31. nl2pbip-1.1.0/nl2pbip/visual_types.py +280 -0
  32. nl2pbip-1.1.0/nl2pbip.egg-info/PKG-INFO +660 -0
  33. nl2pbip-1.1.0/nl2pbip.egg-info/SOURCES.txt +58 -0
  34. nl2pbip-1.1.0/nl2pbip.egg-info/dependency_links.txt +1 -0
  35. nl2pbip-1.1.0/nl2pbip.egg-info/entry_points.txt +2 -0
  36. nl2pbip-1.1.0/nl2pbip.egg-info/requires.txt +23 -0
  37. nl2pbip-1.1.0/nl2pbip.egg-info/top_level.txt +1 -0
  38. nl2pbip-1.1.0/pyproject.toml +76 -0
  39. nl2pbip-1.1.0/setup.cfg +4 -0
  40. nl2pbip-1.1.0/tests/test_agentic_reflection.py +624 -0
  41. nl2pbip-1.1.0/tests/test_calculation_groups.py +514 -0
  42. nl2pbip-1.1.0/tests/test_data_inspector.py +675 -0
  43. nl2pbip-1.1.0/tests/test_data_types.py +435 -0
  44. nl2pbip-1.1.0/tests/test_data_understanding.py +477 -0
  45. nl2pbip-1.1.0/tests/test_exporter.py +92 -0
  46. nl2pbip-1.1.0/tests/test_fabric_metadata.py +517 -0
  47. nl2pbip-1.1.0/tests/test_field_parameters.py +427 -0
  48. nl2pbip-1.1.0/tests/test_finetune.py +135 -0
  49. nl2pbip-1.1.0/tests/test_llm_client.py +25 -0
  50. nl2pbip-1.1.0/tests/test_object_level_security.py +527 -0
  51. nl2pbip-1.1.0/tests/test_ontology.py +325 -0
  52. nl2pbip-1.1.0/tests/test_opc_export.py +603 -0
  53. nl2pbip-1.1.0/tests/test_orchestrator.py +161 -0
  54. nl2pbip-1.1.0/tests/test_performance.py +463 -0
  55. nl2pbip-1.1.0/tests/test_power_query.py +615 -0
  56. nl2pbip-1.1.0/tests/test_prompts.py +407 -0
  57. nl2pbip-1.1.0/tests/test_relationship_validation.py +610 -0
  58. nl2pbip-1.1.0/tests/test_repo_templates.py +576 -0
  59. nl2pbip-1.1.0/tests/test_schema_advisor.py +392 -0
  60. nl2pbip-1.1.0/tests/test_visual_types.py +393 -0
nl2pbip-1.1.0/LICENSE ADDED
@@ -0,0 +1,61 @@
1
+ NL2PBIP — COMMERCIAL LICENSE
2
+ Copyright (c) 2026 Royce. All Rights Reserved.
3
+
4
+ 1. OWNERSHIP
5
+ This software and all associated source code, documentation, and
6
+ artifacts (the "Software") are the exclusive intellectual property
7
+ of Royce (the "Licensor"). No ownership interest is transferred
8
+ under this License.
9
+
10
+ 2. NO GRANT FOR OPEN-SOURCE OR NON-COMMERCIAL USE
11
+ The Software is NOT licensed under any open-source license
12
+ (including, without limitation, MIT, Apache-2.0, BSD, GPL, AGPL,
13
+ LGPL, MPL, or the Unlicense). Use of the Software for any purpose
14
+ — including personal, academic, non-profit, evaluation,
15
+ research, or any commercial activity — requires a separate
16
+ written commercial agreement with the Licensor.
17
+
18
+ 3. COMMERCIAL LICENSE REQUIRED
19
+ To obtain a license to use, copy, modify, distribute, host,
20
+ embed, or otherwise exploit the Software, you must enter into a
21
+ written Commercial License Agreement with the Licensor. Contact:
22
+
23
+ Royce <rollroyces@users.noreply.github.com>
24
+
25
+ The Commercial License Agreement will, at minimum, define the
26
+ permitted scope of use, duration, fees, support obligations,
27
+ confidentiality, warranties, indemnification, and termination.
28
+
29
+ 4. RESERVATION OF RIGHTS
30
+ All rights not expressly granted in a signed Commercial License
31
+ Agreement are reserved by the Licensor. Until such an agreement
32
+ is executed, no license, express or implied, by estoppel, or
33
+ otherwise, is granted by this document.
34
+
35
+ 5. PRIOR APACHE-2.0 CONTRIBUTIONS
36
+ Files committed prior to commit 0af050c23393b3a4605f71ea1c8f49ccdb9cc1fb
37
+ that were originally distributed under the Apache License
38
+ 2.0 retain their original Apache-2.0 grant as a continuing
39
+ authorization. Such files are also made available under this
40
+ Commercial License on a dual basis at the Licensor's sole
41
+ discretion. The Licensor's re-licensing applies only to NEW
42
+ contributions going forward; it does not retroactively revoke
43
+ the Apache-2.0 grant for those earlier files.
44
+
45
+ 6. NO WARRANTY
46
+ THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
47
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
48
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
49
+ NON-INFRINGEMENT. IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR
50
+ ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF
51
+ CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN
52
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
53
+ SOFTWARE.
54
+
55
+ 7. TERMINATION
56
+ Any unauthorised use of the Software terminates any and all
57
+ rights that may otherwise have been granted by the Licensor,
58
+ without prejudice to any other remedies available at law or
59
+ equity.
60
+
61
+ — End of License —