bw-essentials-core 0.0.1__tar.gz → 0.0.2__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 bw-essentials-core might be problematic. Click here for more details.
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/PKG-INFO +1 -1
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/data_loch/data_loch.py +1 -4
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/s3_utils/s3_utils.py +1 -4
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials_core.egg-info/PKG-INFO +1 -1
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/setup.py +1 -1
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/README.md +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/__init__.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/constants/__init__.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/constants/services.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/data_loch/__init__.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/email_client/__init__.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/email_client/email_client.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/notifications/__init__.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/notifications/teams_notification_schemas.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/notifications/teams_notifications.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/s3_utils/__init__.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/__init__.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/api_client.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/broker.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/market_pricer.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/master_data.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/model_portfolio_reporting.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/trade_placement.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/user_portfolio.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/user_portfolio_reporting.py +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials_core.egg-info/SOURCES.txt +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials_core.egg-info/dependency_links.txt +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials_core.egg-info/requires.txt +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials_core.egg-info/top_level.txt +0 -0
- {bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/setup.cfg +0 -0
|
@@ -39,14 +39,11 @@ class DataLoch:
|
|
|
39
39
|
LakeFS class for managing versioned data operations on LakeFS over S3.
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
|
-
def __init__(self
|
|
42
|
+
def __init__(self):
|
|
43
43
|
"""
|
|
44
44
|
Initialize a LakeFS instance with S3 and LakeFS client setup.
|
|
45
45
|
|
|
46
46
|
Args:
|
|
47
|
-
access_key (str): Access key for authentication with LakeFS/S3.
|
|
48
|
-
secret_key (str): Secret key for authentication with LakeFS/S3.
|
|
49
|
-
host (str): LakeFS server URL or S3 endpoint.
|
|
50
47
|
"""
|
|
51
48
|
logger.info("Initializing LakeFS instance")
|
|
52
49
|
self.access_key = self._get_env_var("DATA_LAKE_ACCESS_KEY")
|
|
@@ -33,12 +33,9 @@ class S3Utils:
|
|
|
33
33
|
Initialize S3Utils instance with AWS credentials.
|
|
34
34
|
|
|
35
35
|
Args:
|
|
36
|
-
access_key (str): AWS access key.
|
|
37
|
-
secret_key (str): AWS secret key.
|
|
38
|
-
endpoint_url (Optional[str]): Custom endpoint URL for S3-compatible services.
|
|
39
36
|
"""
|
|
40
37
|
self.access_key = self._get_env_var("S3_ACCESS_KEY")
|
|
41
|
-
self.secret_key = self._get_env_var("
|
|
38
|
+
self.secret_key = self._get_env_var("S3_SECRET_KEY")
|
|
42
39
|
self.endpoint_url = self._get_env_var("S3_ENDPOINT_URL")
|
|
43
40
|
self.s3_instance = self._get_s3_instance()
|
|
44
41
|
|
|
@@ -10,7 +10,7 @@ from setuptools import setup, find_packages
|
|
|
10
10
|
|
|
11
11
|
setup(
|
|
12
12
|
name="bw-essentials-core",
|
|
13
|
-
version="0.0.
|
|
13
|
+
version="0.0.2",
|
|
14
14
|
author="InvestorAI",
|
|
15
15
|
author_email="support+tech@investorai.in",
|
|
16
16
|
description="Reusable utilities for S3, email, Data Loch, Microsoft Teams Notifications and more.",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/email_client/__init__.py
RENAMED
|
File without changes
|
{bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/email_client/email_client.py
RENAMED
|
File without changes
|
{bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/notifications/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/market_pricer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/trade_placement.py
RENAMED
|
File without changes
|
{bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials/services/user_portfolio.py
RENAMED
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials_core.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials_core.egg-info/requires.txt
RENAMED
|
File without changes
|
{bw_essentials_core-0.0.1 → bw_essentials_core-0.0.2}/bw_essentials_core.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|