MSTR-Robotics-magerdaniel 0.3.6__tar.gz → 0.3.8__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 (23) hide show
  1. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8/MSTR_Robotics_magerdaniel.egg-info}/PKG-INFO +4 -1
  2. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/MSTR_Robotics_magerdaniel.egg-info/requires.txt +3 -0
  3. {mstr_robotics_magerdaniel-0.3.6/MSTR_Robotics_magerdaniel.egg-info → mstr_robotics_magerdaniel-0.3.8}/PKG-INFO +4 -1
  4. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/read_out_prj_obj.py +7 -6
  5. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/report.py +2 -2
  6. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/setup.py +4 -1
  7. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/LICENSE +0 -0
  8. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/MANIFEST.in +0 -0
  9. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/MSTR_Robotics_magerdaniel.egg-info/SOURCES.txt +0 -0
  10. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/MSTR_Robotics_magerdaniel.egg-info/dependency_links.txt +0 -0
  11. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/MSTR_Robotics_magerdaniel.egg-info/top_level.txt +0 -0
  12. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/README.md +0 -0
  13. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/__init__.py +0 -0
  14. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/_connectors.py +0 -0
  15. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/_helper.py +0 -0
  16. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/_lu_data.py +0 -0
  17. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/_mod_prj_obj.py +0 -0
  18. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/ai_openAi_faisst.py +0 -0
  19. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/dossier.py +0 -0
  20. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/mstr_classes.py +0 -0
  21. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/mstr_pandas.py +0 -0
  22. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/prepare_AI_data.py +0 -0
  23. {mstr_robotics_magerdaniel-0.3.6 → mstr_robotics_magerdaniel-0.3.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: MSTR_Robotics_magerdaniel
3
- Version: 0.3.6
3
+ Version: 0.3.8
4
4
  Summary: MicroStrateg(P)ython
5
5
  Home-page: https://github.com/magerdaniel
6
6
  Author: Daniel Mager
@@ -14,6 +14,9 @@ License-File: LICENSE
14
14
  Requires-Dist: mstrio-py==11.4.6.101
15
15
  Requires-Dist: langchain
16
16
  Requires-Dist: openai
17
+ Requires-Dist: tiktoken
18
+ Requires-Dist: langchain-community
19
+ Requires-Dist: faiss-cpu
17
20
  Requires-Dist: flashtext>=2.7
18
21
  Dynamic: author
19
22
  Dynamic: author-email
@@ -1,4 +1,7 @@
1
1
  mstrio-py==11.4.6.101
2
2
  langchain
3
3
  openai
4
+ tiktoken
5
+ langchain-community
6
+ faiss-cpu
4
7
  flashtext>=2.7
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: MSTR_Robotics_magerdaniel
3
- Version: 0.3.6
3
+ Version: 0.3.8
4
4
  Summary: MicroStrateg(P)ython
5
5
  Home-page: https://github.com/magerdaniel
6
6
  Author: Daniel Mager
@@ -14,6 +14,9 @@ License-File: LICENSE
14
14
  Requires-Dist: mstrio-py==11.4.6.101
15
15
  Requires-Dist: langchain
16
16
  Requires-Dist: openai
17
+ Requires-Dist: tiktoken
18
+ Requires-Dist: langchain-community
19
+ Requires-Dist: faiss-cpu
17
20
  Requires-Dist: flashtext>=2.7
18
21
  Dynamic: author
19
22
  Dynamic: author-email
@@ -768,12 +768,13 @@ class read_report():
768
768
  filter_text=str(rep_def["dataSource"]["filter"]["text"])
769
769
  except:
770
770
  pass
771
- for u in rep_def["dataSource"]["dataTemplate"]['units']:
772
- if u["type"]=="metrics":
773
- try:
774
- report_limit_text=str(u["limit"]["text"])
775
- except:
776
- pass
771
+ if "dataTemplate" in rep_def["dataSource"].keys():
772
+ for u in rep_def["dataSource"]["dataTemplate"]['units']:
773
+ if u["type"]=="metrics":
774
+ try:
775
+ report_limit_text=str(u["limit"]["text"])
776
+ except:
777
+ pass
777
778
 
778
779
  rep_head_d=i_mstr_global.get_object_info_d(conn=conn,object_id=report_id,type="3")
779
780
  #rep_head_d.rename(columns={'id': 'report_id'}, inplace=True)
@@ -325,13 +325,13 @@ class prompts():
325
325
  if baseFormType in ["fixed_length_string","n_var_char","Char","varChar"]:
326
326
  exp_prp_data_type="Char"
327
327
 
328
- if baseFormType in ["integer","double","numeric","decimal"]:
328
+ if baseFormType in ["integer","double","numeric","decimal","int64","float"]:
329
329
  exp_prp_data_type="Numeric"
330
330
 
331
331
  if baseFormType in ["big_decimal","bigDecimal"]:
332
332
  exp_prp_data_type="BigDecimal"
333
333
 
334
- if baseFormType in ["time_stamp"]:
334
+ if baseFormType in ["time_stamp","date"]:
335
335
  exp_prp_data_type="DateTime"
336
336
 
337
337
  if exp_prp_data_type == "":
@@ -7,7 +7,7 @@ long_description = (this_directory / "README.md").read_text()
7
7
 
8
8
  setup(
9
9
  name="MSTR_Robotics_magerdaniel",
10
- version="0.3.06",
10
+ version="0.3.08",
11
11
  description="MicroStrateg(P)ython",
12
12
  author="Daniel Mager",
13
13
  author_email="danielmager@gmx.de",
@@ -19,6 +19,9 @@ setup(
19
19
  "mstrio-py==11.4.6.101", # Specify the exact or compatible version
20
20
  "langchain",
21
21
  "openai",
22
+ "tiktoken",
23
+ "langchain-community",
24
+ "faiss-cpu",
22
25
  "flashtext>=2.7", # Add a minimum version if applicable
23
26
  ],
24
27
  package_data={"mstr_robotics": ["jup_schema_monitor.ipynb"]}, # Include additional files