pdstools 4.5.2__tar.gz → 4.6.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 (179) hide show
  1. {pdstools-4.5.2 → pdstools-4.6.0}/PKG-INFO +4 -6
  2. {pdstools-4.5.2 → pdstools-4.6.0}/README.md +0 -1
  3. {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/PKG-INFO +4 -6
  4. {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/SOURCES.txt +17 -12
  5. {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/requires.txt +1 -6
  6. {pdstools-4.5.2 → pdstools-4.6.0}/pyproject.toml +22 -10
  7. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/__init__.py +9 -9
  8. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/ADMDatamart.py +109 -108
  9. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/ADMTrees.py +238 -264
  10. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/Aggregates.py +134 -161
  11. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/BinAggregator.py +131 -162
  12. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/Plots.py +195 -174
  13. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/Reports.py +71 -88
  14. pdstools-4.6.0/python/pdstools/app/assets/pega-logo.svg +32 -0
  15. pdstools-4.6.0/python/pdstools/app/decision_analyzer/Home.py +187 -0
  16. pdstools-4.6.0/python/pdstools/app/decision_analyzer/da_streamlit_utils.py +601 -0
  17. pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/10_Arbitration_Component_Distribution.py +122 -0
  18. pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/1_Global_Data_Filters.py +107 -0
  19. pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/2_Overview.py +84 -0
  20. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/decision_analyzer/pages/3_Action_Distribution.py +31 -33
  21. pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/4_Action_Funnel.py +191 -0
  22. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/decision_analyzer/pages/5_Global_Sensitivity.py +12 -11
  23. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/decision_analyzer/pages/6_Win_Loss_Analysis.py +22 -29
  24. pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/8_Offer_Quality_Analysis.py +105 -0
  25. pdstools-4.6.0/python/pdstools/app/decision_analyzer/pages/9_Thresholding_Analysis.py +210 -0
  26. pdstools-4.6.0/python/pdstools/app/health_check/Home.py +102 -0
  27. pdstools-4.5.2/python/pdstools/app/health_check/pages/2_Data_Filters.py → pdstools-4.6.0/python/pdstools/app/health_check/pages/1_Data_Filters.py +17 -7
  28. pdstools-4.5.2/python/pdstools/app/health_check/pages/3_Reports.py → pdstools-4.6.0/python/pdstools/app/health_check/pages/2_Reports.py +17 -21
  29. pdstools-4.6.0/python/pdstools/app/health_check/pages/3_About.py +6 -0
  30. pdstools-4.6.0/python/pdstools/app/impact_analyzer/Home.py +151 -0
  31. pdstools-4.6.0/python/pdstools/app/impact_analyzer/ia_streamlit_utils.py +67 -0
  32. pdstools-4.6.0/python/pdstools/app/impact_analyzer/pages/1_Overall_Summary.py +32 -0
  33. pdstools-4.6.0/python/pdstools/app/impact_analyzer/pages/2_Trend.py +42 -0
  34. pdstools-4.6.0/python/pdstools/app/impact_analyzer/pages/3_About.py +6 -0
  35. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/cli.py +78 -25
  36. pdstools-4.5.2/python/pdstools/decision_analyzer/decision_data.py → pdstools-4.6.0/python/pdstools/decision_analyzer/DecisionAnalyzer.py +724 -467
  37. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/decision_analyzer/__init__.py +2 -2
  38. pdstools-4.5.2/python/pdstools/decision_analyzer/table_definition.py → pdstools-4.6.0/python/pdstools/decision_analyzer/column_schema.py +89 -99
  39. pdstools-4.6.0/python/pdstools/decision_analyzer/data_read_utils.py +196 -0
  40. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/decision_analyzer/plots.py +425 -227
  41. pdstools-4.6.0/python/pdstools/decision_analyzer/utils.py +665 -0
  42. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/Aggregate.py +72 -88
  43. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/Explanations.py +11 -8
  44. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/ExplanationsUtils.py +31 -30
  45. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/FilterWidget.py +43 -40
  46. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/Plots.py +47 -49
  47. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/Preprocess.py +32 -48
  48. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/Reports.py +11 -6
  49. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/create.sql +1 -1
  50. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/model_contexts.sql +3 -3
  51. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/numeric.sql +3 -4
  52. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/numeric_overall.sql +2 -3
  53. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/symbolic.sql +3 -3
  54. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/queries/symbolic_overall.sql +2 -3
  55. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/ih/Aggregates.py +37 -54
  56. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/ih/IH.py +85 -106
  57. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/ih/Plots.py +62 -57
  58. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/ih/__init__.py +1 -1
  59. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/impactanalyzer/ImpactAnalyzer.py +81 -78
  60. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/impactanalyzer/Plots.py +31 -29
  61. pdstools-4.6.0/python/pdstools/infinity/__init__.py +56 -0
  62. pdstools-4.6.0/python/pdstools/infinity/client.py +113 -0
  63. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/internal/_auth.py +5 -4
  64. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/internal/_base_client.py +268 -105
  65. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/internal/_exceptions.py +16 -9
  66. pdstools-4.6.0/python/pdstools/infinity/internal/_pagination.py +311 -0
  67. pdstools-4.6.0/python/pdstools/infinity/internal/_resource.py +210 -0
  68. pdstools-4.6.0/python/pdstools/infinity/resources/__init__.py +4 -0
  69. pdstools-4.6.0/python/pdstools/infinity/resources/knowledge_buddy/__init__.py +3 -0
  70. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/knowledge_buddy/knowledge_buddy.py +69 -41
  71. pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/__init__.py +34 -0
  72. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/base.py +108 -57
  73. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/local_model_utils.py +127 -120
  74. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/types.py +1 -1
  75. pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_1/__init__.py +15 -0
  76. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/v24_1/prediction.py +30 -9
  77. pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_1/prediction_studio.py +49 -0
  78. pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_1/repository.py +14 -0
  79. pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_2/__init__.py +21 -0
  80. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/v24_2/champion_challenger.py +413 -307
  81. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/v24_2/datamart_export.py +26 -14
  82. pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_2/model.py +128 -0
  83. pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_2/prediction.py +603 -0
  84. pdstools-4.6.0/python/pdstools/infinity/resources/prediction_studio/v24_2/prediction_studio.py +530 -0
  85. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/v24_2/repository.py +12 -1
  86. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/pega_io/API.py +1 -1
  87. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/pega_io/Anonymization.py +45 -49
  88. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/pega_io/File.py +57 -55
  89. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/pega_io/S3.py +24 -13
  90. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/prediction/Prediction.py +132 -145
  91. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/_quarto.yml +2 -3
  92. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/assets/templates/all_context_content.qmd +1 -1
  93. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/assets/templates/all_context_header.qmd +1 -1
  94. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/assets/templates/getting-started.qmd +1 -1
  95. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/assets/templates/overview.qmd +3 -3
  96. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/scripts/generate_report.py +9 -30
  97. pdstools-4.6.0/python/pdstools/reports/__init__.py +0 -0
  98. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/assets/pega-report-overrides.css +1 -1
  99. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/resources/__init__.py +1 -0
  100. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/cdh_utils.py +217 -212
  101. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/datasets.py +8 -7
  102. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/metric_limits.py +53 -71
  103. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/namespaces.py +7 -8
  104. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/number_format.py +20 -14
  105. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/pega_template.py +0 -1
  106. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/plot_utils.py +7 -5
  107. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/polars_ext.py +6 -7
  108. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/report_utils.py +106 -98
  109. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/show_versions.py +20 -28
  110. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/streamlit_utils.py +246 -39
  111. pdstools-4.6.0/python/pdstools/utils/types.py +7 -0
  112. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/valuefinder/Aggregates.py +6 -9
  113. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/valuefinder/Plots.py +57 -45
  114. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/valuefinder/Schema.py +1 -1
  115. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/valuefinder/ValueFinder.py +28 -22
  116. pdstools-4.6.0/python/pdstools/valuefinder/__init__.py +0 -0
  117. pdstools-4.5.2/python/pdstools/app/decision_analyzer/Home.py +0 -94
  118. pdstools-4.5.2/python/pdstools/app/decision_analyzer/da_streamlit_utils.py +0 -366
  119. pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/10_Arbitration_Component_Distribution.py +0 -77
  120. pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/11_Business_Lever_Analysis.py +0 -320
  121. pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/1_Global_Filters.py +0 -76
  122. pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/2_Global_Dashboard.py +0 -115
  123. pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/4_Action_Funnel.py +0 -179
  124. pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/7_Personalization_Analysis.py +0 -135
  125. pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/unfinished_pages/8_Offer_Quality_Analysis.py +0 -119
  126. pdstools-4.5.2/python/pdstools/app/decision_analyzer/pages/unfinished_pages/9_Thresholding_Analysis.py +0 -108
  127. pdstools-4.5.2/python/pdstools/app/health_check/Home.py +0 -59
  128. pdstools-4.5.2/python/pdstools/app/health_check/pages/1_Data_Import.py +0 -63
  129. pdstools-4.5.2/python/pdstools/decision_analyzer/data_read_utils.py +0 -177
  130. pdstools-4.5.2/python/pdstools/decision_analyzer/utils.py +0 -553
  131. pdstools-4.5.2/python/pdstools/infinity/__init__.py +0 -48
  132. pdstools-4.5.2/python/pdstools/infinity/client.py +0 -61
  133. pdstools-4.5.2/python/pdstools/infinity/internal/_pagination.py +0 -191
  134. pdstools-4.5.2/python/pdstools/infinity/internal/_resource.py +0 -100
  135. pdstools-4.5.2/python/pdstools/infinity/resources/__init__.py +0 -4
  136. pdstools-4.5.2/python/pdstools/infinity/resources/knowledge_buddy/__init__.py +0 -3
  137. pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/__init__.py +0 -24
  138. pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/async_base.py +0 -71
  139. pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_1/__init__.py +0 -11
  140. pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_1/prediction_studio.py +0 -26
  141. pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_1/repository.py +0 -7
  142. pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_2/__init__.py +0 -4
  143. pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_2/model.py +0 -76
  144. pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_2/prediction.py +0 -390
  145. pdstools-4.5.2/python/pdstools/infinity/resources/prediction_studio/v24_2/prediction_studio.py +0 -318
  146. pdstools-4.5.2/python/pdstools/utils/types.py +0 -7
  147. {pdstools-4.5.2 → pdstools-4.6.0}/LICENSE +0 -0
  148. {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/dependency_links.txt +0 -0
  149. {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/entry_points.txt +0 -0
  150. {pdstools-4.5.2 → pdstools-4.6.0}/pdstools.egg-info/top_level.txt +0 -0
  151. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/Schema.py +0 -0
  152. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/adm/__init__.py +0 -0
  153. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/__init__.py +0 -0
  154. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/decision_analyzer/__init__.py +0 -0
  155. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/decision_analyzer/pages/__init__.py +0 -0
  156. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/health_check/__init__.py +0 -0
  157. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/app/health_check/pages/__init__.py +0 -0
  158. {pdstools-4.5.2/python/pdstools/explanations/resources/queries → pdstools-4.6.0/python/pdstools/app/impact_analyzer}/__init__.py +0 -0
  159. {pdstools-4.5.2/python/pdstools/infinity/internal → pdstools-4.6.0/python/pdstools/app/impact_analyzer/pages}/__init__.py +0 -0
  160. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/__init__.py +0 -0
  161. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/explanations/resources/__init__.py +0 -0
  162. {pdstools-4.5.2/python/pdstools/reports → pdstools-4.6.0/python/pdstools/explanations/resources/queries}/__init__.py +0 -0
  163. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/impactanalyzer/__init__.py +0 -0
  164. {pdstools-4.5.2/python/pdstools/valuefinder → pdstools-4.6.0/python/pdstools/infinity/internal}/__init__.py +0 -0
  165. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/internal/_constants.py +0 -0
  166. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/infinity/resources/prediction_studio/v24_2/model_upload.py +0 -0
  167. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/pega_io/__init__.py +4 -4
  168. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/prediction/__init__.py +0 -0
  169. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/py.typed +0 -0
  170. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/__init__.py +0 -0
  171. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/assets/templates/context.qmd +0 -0
  172. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/GlobalExplanations/scripts/__init__.py +0 -0
  173. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/HealthCheck.qmd +0 -0
  174. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/reports/ModelReport.qmd +0 -0
  175. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/resources/MetricLimits.csv +0 -0
  176. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/__init__.py +0 -0
  177. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/errors.py +0 -0
  178. {pdstools-4.5.2 → pdstools-4.6.0}/python/pdstools/utils/table_definitions.py +0 -0
  179. {pdstools-4.5.2 → pdstools-4.6.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pdstools
3
- Version: 4.5.2
3
+ Version: 4.6.0
4
4
  Summary: Open source tooling that helps Data Scientists to analyze Pega models and conduct impactful analyses.
5
5
  Author-email: Stijn Kas <stijn.kas@pega.com>
6
6
  License: Apache-2.0
@@ -12,7 +12,7 @@ Classifier: License :: OSI Approved :: Apache Software License
12
12
  Classifier: Development Status :: 4 - Beta
13
13
  Classifier: Intended Audience :: Developers
14
14
  Classifier: Programming Language :: Python :: 3
15
- Requires-Python: <3.14,>=3.9
15
+ Requires-Python: <3.14,>=3.10
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
18
  Requires-Dist: polars!=1.35.1,<=1.36.1,>=1.30
@@ -50,9 +50,8 @@ Requires-Dist: scikit-learn>=1.6.1; extra == "onnx"
50
50
  Requires-Dist: skl2onnx>=1.19.1; extra == "onnx"
51
51
  Requires-Dist: onnx<1.20,>=1.18; extra == "onnx"
52
52
  Requires-Dist: pdstools[api]; extra == "onnx"
53
- Requires-Dist: onnxruntime==1.18.1; python_full_version < "3.10" and extra == "onnx"
54
- Requires-Dist: onnxruntime>=1.22; python_full_version >= "3.10" and extra == "onnx"
55
- Requires-Dist: scipy>=1.15.3; python_full_version >= "3.10" and extra == "onnx"
53
+ Requires-Dist: onnxruntime<1.24,>=1.22; extra == "onnx"
54
+ Requires-Dist: scipy>=1.15.3; extra == "onnx"
56
55
  Provides-Extra: all
57
56
  Requires-Dist: pdstools[app,explanations,onnx,pega_io]; extra == "all"
58
57
  Provides-Extra: dev
@@ -131,4 +130,3 @@ The installation and getting started guide can be found [in the documentation](h
131
130
  # Contributing
132
131
 
133
132
  We love feedback. See [Contributing](https://github.com/pegasystems/pega-datascientist-tools/blob/master/CONTRIBUTING.md) for guidelines.
134
-
@@ -43,4 +43,3 @@ The installation and getting started guide can be found [in the documentation](h
43
43
  # Contributing
44
44
 
45
45
  We love feedback. See [Contributing](https://github.com/pegasystems/pega-datascientist-tools/blob/master/CONTRIBUTING.md) for guidelines.
46
-
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pdstools
3
- Version: 4.5.2
3
+ Version: 4.6.0
4
4
  Summary: Open source tooling that helps Data Scientists to analyze Pega models and conduct impactful analyses.
5
5
  Author-email: Stijn Kas <stijn.kas@pega.com>
6
6
  License: Apache-2.0
@@ -12,7 +12,7 @@ Classifier: License :: OSI Approved :: Apache Software License
12
12
  Classifier: Development Status :: 4 - Beta
13
13
  Classifier: Intended Audience :: Developers
14
14
  Classifier: Programming Language :: Python :: 3
15
- Requires-Python: <3.14,>=3.9
15
+ Requires-Python: <3.14,>=3.10
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
18
  Requires-Dist: polars!=1.35.1,<=1.36.1,>=1.30
@@ -50,9 +50,8 @@ Requires-Dist: scikit-learn>=1.6.1; extra == "onnx"
50
50
  Requires-Dist: skl2onnx>=1.19.1; extra == "onnx"
51
51
  Requires-Dist: onnx<1.20,>=1.18; extra == "onnx"
52
52
  Requires-Dist: pdstools[api]; extra == "onnx"
53
- Requires-Dist: onnxruntime==1.18.1; python_full_version < "3.10" and extra == "onnx"
54
- Requires-Dist: onnxruntime>=1.22; python_full_version >= "3.10" and extra == "onnx"
55
- Requires-Dist: scipy>=1.15.3; python_full_version >= "3.10" and extra == "onnx"
53
+ Requires-Dist: onnxruntime<1.24,>=1.22; extra == "onnx"
54
+ Requires-Dist: scipy>=1.15.3; extra == "onnx"
56
55
  Provides-Extra: all
57
56
  Requires-Dist: pdstools[app,explanations,onnx,pega_io]; extra == "all"
58
57
  Provides-Extra: dev
@@ -131,4 +130,3 @@ The installation and getting started guide can be found [in the documentation](h
131
130
  # Contributing
132
131
 
133
132
  We love feedback. See [Contributing](https://github.com/pegasystems/pega-datascientist-tools/blob/master/CONTRIBUTING.md) for guidelines.
134
-
@@ -19,32 +19,38 @@ python/pdstools/adm/Reports.py
19
19
  python/pdstools/adm/Schema.py
20
20
  python/pdstools/adm/__init__.py
21
21
  python/pdstools/app/__init__.py
22
+ python/pdstools/app/assets/pega-logo.svg
22
23
  python/pdstools/app/decision_analyzer/Home.py
23
24
  python/pdstools/app/decision_analyzer/__init__.py
24
25
  python/pdstools/app/decision_analyzer/da_streamlit_utils.py
25
26
  python/pdstools/app/decision_analyzer/pages/10_Arbitration_Component_Distribution.py
26
- python/pdstools/app/decision_analyzer/pages/11_Business_Lever_Analysis.py
27
- python/pdstools/app/decision_analyzer/pages/1_Global_Filters.py
28
- python/pdstools/app/decision_analyzer/pages/2_Global_Dashboard.py
27
+ python/pdstools/app/decision_analyzer/pages/1_Global_Data_Filters.py
28
+ python/pdstools/app/decision_analyzer/pages/2_Overview.py
29
29
  python/pdstools/app/decision_analyzer/pages/3_Action_Distribution.py
30
30
  python/pdstools/app/decision_analyzer/pages/4_Action_Funnel.py
31
31
  python/pdstools/app/decision_analyzer/pages/5_Global_Sensitivity.py
32
32
  python/pdstools/app/decision_analyzer/pages/6_Win_Loss_Analysis.py
33
- python/pdstools/app/decision_analyzer/pages/7_Personalization_Analysis.py
33
+ python/pdstools/app/decision_analyzer/pages/8_Offer_Quality_Analysis.py
34
+ python/pdstools/app/decision_analyzer/pages/9_Thresholding_Analysis.py
34
35
  python/pdstools/app/decision_analyzer/pages/__init__.py
35
- python/pdstools/app/decision_analyzer/pages/unfinished_pages/8_Offer_Quality_Analysis.py
36
- python/pdstools/app/decision_analyzer/pages/unfinished_pages/9_Thresholding_Analysis.py
37
36
  python/pdstools/app/health_check/Home.py
38
37
  python/pdstools/app/health_check/__init__.py
39
- python/pdstools/app/health_check/pages/1_Data_Import.py
40
- python/pdstools/app/health_check/pages/2_Data_Filters.py
41
- python/pdstools/app/health_check/pages/3_Reports.py
38
+ python/pdstools/app/health_check/pages/1_Data_Filters.py
39
+ python/pdstools/app/health_check/pages/2_Reports.py
40
+ python/pdstools/app/health_check/pages/3_About.py
42
41
  python/pdstools/app/health_check/pages/__init__.py
42
+ python/pdstools/app/impact_analyzer/Home.py
43
+ python/pdstools/app/impact_analyzer/__init__.py
44
+ python/pdstools/app/impact_analyzer/ia_streamlit_utils.py
45
+ python/pdstools/app/impact_analyzer/pages/1_Overall_Summary.py
46
+ python/pdstools/app/impact_analyzer/pages/2_Trend.py
47
+ python/pdstools/app/impact_analyzer/pages/3_About.py
48
+ python/pdstools/app/impact_analyzer/pages/__init__.py
49
+ python/pdstools/decision_analyzer/DecisionAnalyzer.py
43
50
  python/pdstools/decision_analyzer/__init__.py
51
+ python/pdstools/decision_analyzer/column_schema.py
44
52
  python/pdstools/decision_analyzer/data_read_utils.py
45
- python/pdstools/decision_analyzer/decision_data.py
46
53
  python/pdstools/decision_analyzer/plots.py
47
- python/pdstools/decision_analyzer/table_definition.py
48
54
  python/pdstools/decision_analyzer/utils.py
49
55
  python/pdstools/explanations/Aggregate.py
50
56
  python/pdstools/explanations/Explanations.py
@@ -82,7 +88,6 @@ python/pdstools/infinity/resources/__init__.py
82
88
  python/pdstools/infinity/resources/knowledge_buddy/__init__.py
83
89
  python/pdstools/infinity/resources/knowledge_buddy/knowledge_buddy.py
84
90
  python/pdstools/infinity/resources/prediction_studio/__init__.py
85
- python/pdstools/infinity/resources/prediction_studio/async_base.py
86
91
  python/pdstools/infinity/resources/prediction_studio/base.py
87
92
  python/pdstools/infinity/resources/prediction_studio/local_model_utils.py
88
93
  python/pdstools/infinity/resources/prediction_studio/types.py
@@ -58,12 +58,7 @@ scikit-learn>=1.6.1
58
58
  skl2onnx>=1.19.1
59
59
  onnx<1.20,>=1.18
60
60
  pdstools[api]
61
-
62
- [onnx:python_full_version < "3.10"]
63
- onnxruntime==1.18.1
64
-
65
- [onnx:python_full_version >= "3.10"]
66
- onnxruntime>=1.22
61
+ onnxruntime<1.24,>=1.22
67
62
  scipy>=1.15.3
68
63
 
69
64
  [pega_io]
@@ -8,7 +8,7 @@ include = ['pdstools*']
8
8
  exclude = ['/tests/*', '*.dist-info', '/docs/*']
9
9
 
10
10
  [tool.setuptools.package-data]
11
- "*" = ['*.qmd', '*/pega-report-overrides.css', 'py.typed', '*.sql', 'GlobalExplanations/**/*', 'resources/*.csv']
11
+ "*" = ['*.qmd', '*/pega-report-overrides.css', 'py.typed', '*.sql', 'GlobalExplanations/**/*', 'resources/*.csv', 'app/assets/*.svg']
12
12
 
13
13
  [project]
14
14
  name = "pdstools"
@@ -30,7 +30,7 @@ keywords = [
30
30
  "datascientist",
31
31
  "tools",
32
32
  ]
33
- requires-python = ">=3.9,<3.14"
33
+ requires-python = ">=3.10,<3.14"
34
34
  dependencies = [
35
35
  "polars>=1.30,!=1.35.1,<=1.36.1",
36
36
  'typing_extensions',
@@ -52,12 +52,11 @@ explanations = ['duckdb', "plotly[express]", "pyarrow", "pyyaml", "ipywidgets"]
52
52
  app = ['pdstools[healthcheck]', 'streamlit>=1.45']
53
53
  onnx = [
54
54
  'scikit-learn>=1.6.1',
55
- 'skl2onnx>=1.19.1', # Updated to be compatible with onnx 1.19.0+
56
- 'onnx>=1.18,<1.20', # Using ONNX 1.18.x specifically
55
+ 'skl2onnx>=1.19.1', # Updated to be compatible with onnx 1.19.0+
56
+ 'onnx>=1.18,<1.20', # Using ONNX 1.18.x specifically
57
57
  'pdstools[api]',
58
- "onnxruntime==1.18.1 ; python_full_version < '3.10'",
59
- "onnxruntime>=1.22 ; python_full_version >= '3.10'",
60
- "scipy>=1.15.3 ; python_full_version >= '3.10'",
58
+ "onnxruntime>=1.22,<1.24",
59
+ "scipy>=1.15.3",
61
60
  ]
62
61
  all = ['pdstools[app, pega_io, onnx, explanations]']
63
62
  dev = ['pre-commit']
@@ -84,9 +83,16 @@ tests = [
84
83
  [project.scripts]
85
84
  pdstools = 'pdstools.cli:main'
86
85
 
87
- [dependency-groups]
88
- dev = [
89
- "flake8>=7.3.0",
86
+ [tool.ruff]
87
+ target-version = "py310"
88
+ line-length = 120
89
+
90
+ [tool.ruff.lint]
91
+ extend-select = [
92
+ "UP006", # deprecated-collection-type (Dict -> dict, List -> list, etc.)
93
+ "UP007", # non-pep604-annotation (Union[X, Y] -> X | Y)
94
+ "UP035", # deprecated-import (typing.Dict -> dict, etc.)
95
+ "UP045", # non-pep604-isinstance (Optional[X] -> X | None)
90
96
  ]
91
97
 
92
98
  [tool.pytest.ini_options]
@@ -95,3 +101,9 @@ addopts = "--strict-markers"
95
101
  markers = [
96
102
  "slow: marks tests as slow (report generation, integration tests)"
97
103
  ]
104
+
105
+ [tool.mypy]
106
+ python_version = "3.10"
107
+ ignore_missing_imports = true
108
+ warn_unused_ignores = true
109
+ no_implicit_optional = true
@@ -1,6 +1,6 @@
1
1
  """Pega Data Scientist Tools Python library"""
2
2
 
3
- __version__ = "4.5.2"
3
+ __version__ = "4.6.0"
4
4
 
5
5
  from pathlib import Path
6
6
 
@@ -9,7 +9,7 @@ from polars import enable_string_cache
9
9
  from .adm.ADMDatamart import ADMDatamart
10
10
  from .ih.IH import IH
11
11
  from .impactanalyzer.ImpactAnalyzer import ImpactAnalyzer
12
- from .infinity import Infinity
12
+ from .infinity import AsyncInfinity, Infinity
13
13
  from .pega_io import Anonymization, read_ds_export
14
14
  from .prediction.Prediction import Prediction
15
15
  from .utils import datasets
@@ -20,21 +20,21 @@ from .valuefinder.ValueFinder import ValueFinder
20
20
 
21
21
  enable_string_cache()
22
22
 
23
-
24
23
  __reports__ = Path(__file__).parents[0] / "reports"
25
24
 
26
25
  __all__ = [
27
- "ADMDatamart",
28
26
  "IH",
29
- "ImpactAnalyzer",
27
+ "ADMDatamart",
30
28
  "Anonymization",
31
- "read_ds_export",
29
+ "AsyncInfinity",
30
+ "ImpactAnalyzer",
31
+ "Infinity",
32
32
  "Prediction",
33
+ "ValueFinder",
34
+ "cdh_sample",
33
35
  "datasets",
34
36
  "default_predictor_categorization",
35
- "cdh_sample",
37
+ "read_ds_export",
36
38
  "sample_value_finder",
37
39
  "show_versions",
38
- "ValueFinder",
39
- "Infinity",
40
40
  ]