ipulse-shared-core-ftredge 2.28__tar.gz → 2.30__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 ipulse-shared-core-ftredge might be problematic. Click here for more details.

Files changed (31) hide show
  1. {ipulse_shared_core_ftredge-2.28/src/ipulse_shared_core_ftredge.egg-info → ipulse_shared_core_ftredge-2.30}/PKG-INFO +1 -1
  2. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/setup.py +1 -1
  3. ipulse_shared_core_ftredge-2.30/src/ipulse_shared_core_ftredge/__init__.py +12 -0
  4. ipulse_shared_core_ftredge-2.30/src/ipulse_shared_core_ftredge/enums/__init__.py +6 -0
  5. ipulse_shared_core_ftredge-2.30/src/ipulse_shared_core_ftredge/enums/enums_data_classif.py +11 -0
  6. ipulse_shared_core_ftredge-2.30/src/ipulse_shared_core_ftredge/enums/enums_data_eng.py +41 -0
  7. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/models/pulse_enums.py +9 -35
  8. ipulse_shared_core_ftredge-2.30/src/ipulse_shared_core_ftredge/tests/__init__.py +0 -0
  9. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30/src/ipulse_shared_core_ftredge.egg-info}/PKG-INFO +1 -1
  10. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge.egg-info/SOURCES.txt +5 -1
  11. ipulse_shared_core_ftredge-2.28/src/ipulse_shared_core_ftredge/__init__.py +0 -6
  12. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/LICENCE +0 -0
  13. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/README.md +0 -0
  14. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/pyproject.toml +0 -0
  15. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/setup.cfg +0 -0
  16. {ipulse_shared_core_ftredge-2.28/src/ipulse_shared_core_ftredge → ipulse_shared_core_ftredge-2.30/src/ipulse_shared_core_ftredge/enums}/enums_common.py +0 -0
  17. /ipulse_shared_core_ftredge-2.28/src/ipulse_shared_core_ftredge/tests/__init__.py → /ipulse_shared_core_ftredge-2.30/src/ipulse_shared_core_ftredge/enums/enums_sourcing_data_category.py +0 -0
  18. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/models/__init__.py +0 -0
  19. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/models/audit_log_firestore.py +0 -0
  20. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/models/organisation.py +0 -0
  21. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/models/resource_catalog_item.py +0 -0
  22. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/models/user_auth.py +0 -0
  23. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/models/user_profile.py +0 -0
  24. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/models/user_profile_update.py +0 -0
  25. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/models/user_status.py +0 -0
  26. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/tests/test.py +0 -0
  27. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/utils_gcp.py +0 -0
  28. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge/utils_templates_and_schemas.py +0 -0
  29. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge.egg-info/dependency_links.txt +0 -0
  30. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge.egg-info/requires.txt +0 -0
  31. {ipulse_shared_core_ftredge-2.28 → ipulse_shared_core_ftredge-2.30}/src/ipulse_shared_core_ftredge.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ipulse_shared_core_ftredge
3
- Version: 2.28
3
+ Version: 2.30
4
4
  Summary: Shared Core models and Logger util for the Pulse platform project. Using AI for financial advisory and investment management.
5
5
  Home-page: https://github.com/TheFutureEdge/ipulse_shared_core
6
6
  Author: Russlan Ramdowar
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='ipulse_shared_core_ftredge',
5
- version='2.28',
5
+ version='2.30',
6
6
  package_dir={'': 'src'}, # Specify the source directory
7
7
  packages=find_packages(where='src'), # Look for packages in 'src'
8
8
  install_requires=[
@@ -0,0 +1,12 @@
1
+ from .models import (Organisation, UserAuth, UserProfile,
2
+ UserStatus, UserProfileUpdate, pulse_enums)
3
+ from .utils_gcp import (setup_gcp_logger_and_error_report,
4
+ read_csv_from_gcs, read_json_from_gcs,
5
+ write_csv_to_gcs, write_json_to_gcs)
6
+ from .utils_templates_and_schemas import (create_bigquery_schema_from_json,
7
+ update_check_with_schema_template)
8
+ from .enums import (NoticeSeverity,
9
+ SourcingPipelineType,
10
+ SourcingTriggerType,
11
+ DWEvent,
12
+ DWEventTriggerType )
@@ -0,0 +1,6 @@
1
+ from .enums_common import NoticeSeverity
2
+ from .enums_data_eng import (SourcingTriggerType,
3
+ SourcingPipelineType,
4
+ DWEvent,
5
+ DWEventTriggerType)
6
+ from .enums_data_classif import (RecordsCategory)
@@ -0,0 +1,11 @@
1
+ from enum import Enum,auto
2
+
3
+
4
+ class RecordsCategory(Enum):
5
+ PRICES = "pric"
6
+ ECONOMETRICS = "econ"
7
+ FUNDAMENTALS = "fund"
8
+ NEWS = "news"
9
+ SOCIAL = "soci"
10
+ TECHNICAL = "tech"
11
+ OTHER = "othr"
@@ -0,0 +1,41 @@
1
+ from enum import Enum
2
+
3
+
4
+ class SourcingTriggerType(Enum):
5
+ HISTORIC_MANUAL = "hist_manual"
6
+ LIVE_SCHEDULED = "live_schedul"
7
+ ADHOC_MANUAL = "adhoc_manual"
8
+ ADHOC_SCHEDULED = "adhoc_sched"
9
+ LIVE_MANUAL = "live_manual"
10
+
11
+ class SourcingPipelineType(Enum):
12
+ LOCAL_GET_API_TO_GCS_BUCKET_FILE = "loc_api_t_gcs"
13
+ LOCAL_GET_API_INMEMORY = "loc_api_inmem"
14
+ LOCAL_GET_API_TO_LOCAL_FILE = "loc_api_loc_f"
15
+ LOCAL_DOWNLOAD_WEB_FILE_TO_LOCAL = "loc_webf_loc"
16
+ LOCAL_DOWNLOAD_WEB_FILE_UPLOAD_TO_GCS_BUCKET = "loc_webv_t_gcs"
17
+ CLOUD_GET_API_TO_GCS_BUCKET_FILE = "cloud_api_t_gcs"
18
+ CLOUD_GET_API_INMEMORY = "cloud_api_inmem"
19
+
20
+ class DWEventTriggerType(Enum):
21
+ GCS_BUCKET_FILE_UPLOAD = "gcs_upload"
22
+ INSIDE_SOURCING_FUNCTION = "in_src_func"
23
+ MANUAL_FROM_GCS_BUCKET_FILE = "man_gcs_file"
24
+ MANUAL_FROM_LOCAL_FILE = "man_loc_file"
25
+ PUBSUBC_TOPIC = "pubsub_topic"
26
+
27
+ class DWEvent(Enum):
28
+ INSERT_NOREPLACE_1A_NT = "ins_norep_1ant"
29
+ MERGE_NOREPLACE_NA_1T = "merge_norep_na1t"
30
+ MERGE_NOREPLACE_NA_NT = "merge_norep_nant"
31
+ INSERT_NOREPLACE_1A_1T = "ins_norep_1a1t"
32
+ MERGE_NOREPLACE_1A_NT = "merge_norep_1nt"
33
+ INSERT_REPLACE_1A_1T = "insert_rep_1a1t"
34
+ INSERT_REPLACE_1A_NT = "insert_rep_1ant"
35
+ MERGE_REPL_NA_NT = "merge_repl_nant"
36
+ MERGE_REPL_1A_NT = "merge_rep_1ant"
37
+ MERGE_REPL_NA_1T = "merge_repl_na1t"
38
+ DELETE_1A_1T = "delete_1a1t"
39
+ DELETE_1A_NT = "delete_1ant"
40
+ DELETE_NA_1T = "delete_na1t"
41
+ DELETE_NA_NT = "delete_nant"
@@ -13,54 +13,40 @@ resource_classifications = {
13
13
  "internal_confidential", ## Few Internal employees Can Access. ex: internal user data, key financials, salaries and bonuses etc
14
14
  "internal_limitedacl", ## Has to employee usertype and in the ACL
15
15
  "internal_owner"
16
-
17
-
18
- }
19
-
20
- default_organisations_uids = {
21
-
22
16
  }
23
17
 
24
18
 
25
19
  resource_domain = {
26
20
  "*",
27
- ############### GYM #########
21
+ ############### GYM #########
28
22
  "gym_domain",
29
23
  "gym_data_domain",
30
24
  "gym_ai_domain",
31
- ############## ORACLE #########
25
+ ############## ORACLE #########
32
26
  "oracle_domain",
33
- "oracle_world_data_domain"
27
+ "oracle_historic_prices_domain",
34
28
  "oracle_ai_domain",
35
- "oracle_assets_historic_prices_domain",
36
- "oracle_assests_historic_info_dmoain",
37
- "oracle_indicators_historic_domain",
29
+ "oracle_assests_historic_info_domain",
30
+ "oracle_historic_econometrics_domain",
38
31
  "oracle_news_historic_domain",
39
32
  "oracle_calendar_domain",
40
33
  "oracle_modelinfo_domain",
41
34
  "oracle_modelmetrics_domain",
42
35
  "oracle_modelpredictions_domain",
43
- ######### ORGANISATIONS #########
36
+ ######### ORGANISATIONS #########
44
37
  "organisation_domain",
45
- ################### USER #########
38
+ ################### USER #########
46
39
  "user_domain",
47
40
  "user_management_domain",
48
41
  "user_portfolio_domain",
49
42
  "user_groups_and_roles_domain",
50
- ############### BUSINESS #########
43
+ ############### BUSINESS #########
51
44
  "business_domain",
52
- ############### ANALYTICS #########
45
+ ############### ANALYTICS #########
53
46
  "analytics_domain",
54
-
55
47
  "system_domain"
56
48
  }
57
49
 
58
- resource_location = {
59
- "firestore_default_",
60
- "github_ipulse_ui_main", "github_authz_main","github_authz_staging",
61
- }
62
-
63
-
64
50
  resource_types = {
65
51
  "db", "sql_db", "nosql_db", "dynamodb",
66
52
  "big_query", "big_query_project", "big_query_table", "big_query_column",
@@ -74,15 +60,6 @@ resource_types = {
74
60
  "api", "report", "dashboard", "webpage", "website", "web"
75
61
  }
76
62
 
77
- resource_origins = {"*", "internal", "external", "mixed"}
78
-
79
- resource_original_or_processed = {"*",
80
- "original_source", # Example User Profiles
81
- "original_copy",
82
- "processed_source",
83
- "processed_copy",
84
- "mixed_source",
85
- "mixed_copy" }
86
63
 
87
64
  pulse_modules={
88
65
  "*",
@@ -165,9 +142,6 @@ licences_types={
165
142
  }
166
143
 
167
144
 
168
-
169
- effects={"allow", "deny"}
170
-
171
145
  actions ={"GET",
172
146
  "POST",
173
147
  "DELETE",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ipulse_shared_core_ftredge
3
- Version: 2.28
3
+ Version: 2.30
4
4
  Summary: Shared Core models and Logger util for the Pulse platform project. Using AI for financial advisory and investment management.
5
5
  Home-page: https://github.com/TheFutureEdge/ipulse_shared_core
6
6
  Author: Russlan Ramdowar
@@ -3,7 +3,6 @@ README.md
3
3
  pyproject.toml
4
4
  setup.py
5
5
  src/ipulse_shared_core_ftredge/__init__.py
6
- src/ipulse_shared_core_ftredge/enums_common.py
7
6
  src/ipulse_shared_core_ftredge/utils_gcp.py
8
7
  src/ipulse_shared_core_ftredge/utils_templates_and_schemas.py
9
8
  src/ipulse_shared_core_ftredge.egg-info/PKG-INFO
@@ -11,6 +10,11 @@ src/ipulse_shared_core_ftredge.egg-info/SOURCES.txt
11
10
  src/ipulse_shared_core_ftredge.egg-info/dependency_links.txt
12
11
  src/ipulse_shared_core_ftredge.egg-info/requires.txt
13
12
  src/ipulse_shared_core_ftredge.egg-info/top_level.txt
13
+ src/ipulse_shared_core_ftredge/enums/__init__.py
14
+ src/ipulse_shared_core_ftredge/enums/enums_common.py
15
+ src/ipulse_shared_core_ftredge/enums/enums_data_classif.py
16
+ src/ipulse_shared_core_ftredge/enums/enums_data_eng.py
17
+ src/ipulse_shared_core_ftredge/enums/enums_sourcing_data_category.py
14
18
  src/ipulse_shared_core_ftredge/models/__init__.py
15
19
  src/ipulse_shared_core_ftredge/models/audit_log_firestore.py
16
20
  src/ipulse_shared_core_ftredge/models/organisation.py
@@ -1,6 +0,0 @@
1
- from .models import Organisation, UserAuth, UserProfile, UserStatus, UserProfileUpdate, pulse_enums
2
- from .utils_gcp import setup_gcp_logger_and_error_report, read_csv_from_gcs, read_json_from_gcs, write_csv_to_gcs, write_json_to_gcs
3
- from .utils_templates_and_schemas import create_bigquery_schema_from_json,update_check_with_schema_template
4
- from .enums_common import NoticeSeverity
5
-
6
-