ipulse-shared-core-ftredge 2.28__py3-none-any.whl → 2.30__py3-none-any.whl

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.

@@ -1,6 +1,12 @@
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
-
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
@@ -1,11 +1,15 @@
1
- ipulse_shared_core_ftredge/__init__.py,sha256=gJQzYYV1NyehTS6ZPtzaGv6-ihRXaxaew7dBNxM4V1g,384
2
- ipulse_shared_core_ftredge/enums_common.py,sha256=abs_PFWpd79ZikFEWbwidPN4bKjcDq5qFsvYgupLQMo,1601
1
+ ipulse_shared_core_ftredge/__init__.py,sha256=ArT645xESuup8JtKnWVVz9o1H9RAk_JxBcIXS19D3qE,649
3
2
  ipulse_shared_core_ftredge/utils_gcp.py,sha256=E8TvZ05fTjNr-VQXxSZNCiqT9PwPhtqeKOifIGhb2sg,6289
4
3
  ipulse_shared_core_ftredge/utils_templates_and_schemas.py,sha256=rYk547qbiRx7Q5a5pcb29lkwSArjS_F9Hf1JkX05mBU,5861
4
+ ipulse_shared_core_ftredge/enums/__init__.py,sha256=vw1m8WGEYWdWaaBWcmoFuRLqSNvKYgsTMGmaSjlBZ6s,279
5
+ ipulse_shared_core_ftredge/enums/enums_common.py,sha256=abs_PFWpd79ZikFEWbwidPN4bKjcDq5qFsvYgupLQMo,1601
6
+ ipulse_shared_core_ftredge/enums/enums_data_classif.py,sha256=EL1AqjA4oWN0fdWFzgOotK_bKsbEGi1sXAtf_fg8lI8,209
7
+ ipulse_shared_core_ftredge/enums/enums_data_eng.py,sha256=KbWqHWbMPnr0AzZrZNx6vRRaGL0Ir6lGxEEcq81o0LE,1488
8
+ ipulse_shared_core_ftredge/enums/enums_sourcing_data_category.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
9
  ipulse_shared_core_ftredge/models/__init__.py,sha256=gE22Gzhil0RYQa7YLtdtT44_AsWqklcDfRtgLAQc1dI,200
6
10
  ipulse_shared_core_ftredge/models/audit_log_firestore.py,sha256=5AwO6NHuOncq65n400eqM8QPrS2EGGaP3Z_6l2rxdBE,261
7
11
  ipulse_shared_core_ftredge/models/organisation.py,sha256=4f1ATEWh5WT-CDJBLEZUhUwyl3V06ogRkteZAqW_nko,2953
8
- ipulse_shared_core_ftredge/models/pulse_enums.py,sha256=zBt03Ij1TBW3vIOof0SrH2cRNht_m0XzOq9D8u6twhY,5529
12
+ ipulse_shared_core_ftredge/models/pulse_enums.py,sha256=YJhtvoX6Dk3_SyJUD8vVDSRIzWy5n0I0AOwe19fmDT8,4851
9
13
  ipulse_shared_core_ftredge/models/resource_catalog_item.py,sha256=PxeRvI8fe8KOiHr6NW2Jz_yocyLId09PW8QyTZxjHAA,9809
10
14
  ipulse_shared_core_ftredge/models/user_auth.py,sha256=35HNN7ZW4ZELCqaJrAtoSsVLFAZ1KL2S_VmuzbcEMm4,119
11
15
  ipulse_shared_core_ftredge/models/user_profile.py,sha256=3-HHB3wK2s4hsP9d5Xp2JYrsGe8iFzz4VaoygDIO_-s,1930
@@ -13,8 +17,8 @@ ipulse_shared_core_ftredge/models/user_profile_update.py,sha256=oKK0XsQDKkgDvjFP
13
17
  ipulse_shared_core_ftredge/models/user_status.py,sha256=8TyRd8tBK9_xb0MPKbI5pn9-lX7ovKbeiuWYYPtIOiw,3202
14
18
  ipulse_shared_core_ftredge/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
19
  ipulse_shared_core_ftredge/tests/test.py,sha256=0lS8HP5Quo_BqNoscU40qOH9aJRaa1Pfam5VUBmdld8,682
16
- ipulse_shared_core_ftredge-2.28.dist-info/LICENCE,sha256=YBtYAXNqCCOo9Mr2hfkbSPAM9CeAr2j1VZBSwQTrNwE,1060
17
- ipulse_shared_core_ftredge-2.28.dist-info/METADATA,sha256=YqkikZJUwwzn1QwAU2f1Sk5rJPG30TxsSTF4yLQp-iU,561
18
- ipulse_shared_core_ftredge-2.28.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
19
- ipulse_shared_core_ftredge-2.28.dist-info/top_level.txt,sha256=8sgYrptpexkA_6_HyGvho26cVFH9kmtGvaK8tHbsGHk,27
20
- ipulse_shared_core_ftredge-2.28.dist-info/RECORD,,
20
+ ipulse_shared_core_ftredge-2.30.dist-info/LICENCE,sha256=YBtYAXNqCCOo9Mr2hfkbSPAM9CeAr2j1VZBSwQTrNwE,1060
21
+ ipulse_shared_core_ftredge-2.30.dist-info/METADATA,sha256=VBpUKZeWDediKAbxdJ1-za7bd-LKgIzCkv4eYN4HhU8,561
22
+ ipulse_shared_core_ftredge-2.30.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
23
+ ipulse_shared_core_ftredge-2.30.dist-info/top_level.txt,sha256=8sgYrptpexkA_6_HyGvho26cVFH9kmtGvaK8tHbsGHk,27
24
+ ipulse_shared_core_ftredge-2.30.dist-info/RECORD,,