python-sdk-local 0.0.42__tar.gz → 0.0.43__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.
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/PKG-INFO +1 -1
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/python_sdk_local.egg-info/PKG-INFO +1 -1
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/python_sdk_local.egg-info/SOURCES.txt +2 -1
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/sdk/src/utilities.py +0 -11
- python-sdk-local-0.0.43/sdk/src/validate.py +13 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/setup.py +1 -1
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/README.md +0 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/pyproject.toml +0 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/python_sdk_local.egg-info/dependency_links.txt +0 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/python_sdk_local.egg-info/top_level.txt +0 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/sdk/__init__.py +0 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/sdk/src/__init__.py +0 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/sdk/src/constants.py +0 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/sdk/src/item.py +0 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/sdk/src/mini_logger.py +0 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/sdk/src/our_object.py +0 -0
- {python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/setup.cfg +0 -0
|
@@ -247,14 +247,3 @@ def create_http_headers(jwt_token: str):
|
|
|
247
247
|
'Authorization': f'Bearer {jwt_token}',
|
|
248
248
|
}
|
|
249
249
|
return http_header
|
|
250
|
-
|
|
251
|
-
def validate_enviroment_variables():
|
|
252
|
-
if(os.getenv("ENVIRONMENT_NAME") is None):
|
|
253
|
-
raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called ENVIRONMENT_NAME=local or play1 (instead of ENVIRONMENT)")
|
|
254
|
-
if(os.getenv("PRODUCT_USER_IDENTIFIER") is None):
|
|
255
|
-
raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called PRODUCT_USER_IDENTIFIER (instead of PRODUCT_USERNAME)")
|
|
256
|
-
if(os.getenv("PRODUCT_PASSWORD") is None):
|
|
257
|
-
raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called PRODUCT_PASSWORD")
|
|
258
|
-
if(os.getenv("LOGZIO_TOKEN") is None):
|
|
259
|
-
raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called LOGZIO_TOKEN=cXNHuVkkffkilnkKzZlWExECRlSKqopE")
|
|
260
|
-
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import os
|
|
2
|
+
|
|
3
|
+
def validate_enviroment_variables():
|
|
4
|
+
if(os.getenv("ENVIRONMENT_NAME") is None):
|
|
5
|
+
raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called ENVIRONMENT_NAME=local or play1 (instead of ENVIRONMENT)")
|
|
6
|
+
if(os.getenv("PRODUCT_USER_IDENTIFIER") is None):
|
|
7
|
+
raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called PRODUCT_USER_IDENTIFIER (instead of PRODUCT_USERNAME)")
|
|
8
|
+
if(os.getenv("PRODUCT_PASSWORD") is None):
|
|
9
|
+
raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called PRODUCT_PASSWORD")
|
|
10
|
+
if(os.getenv("LOGZIO_TOKEN") is None):
|
|
11
|
+
raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called LOGZIO_TOKEN=cXNHuVkkffkilnkKzZlWExECRlSKqopE")
|
|
12
|
+
|
|
13
|
+
|
|
@@ -3,7 +3,7 @@ import setuptools
|
|
|
3
3
|
# python -m build needs pyproject.toml or setup.py
|
|
4
4
|
setuptools.setup(
|
|
5
5
|
name='python-sdk-local',
|
|
6
|
-
version='0.0.
|
|
6
|
+
version='0.0.43', # https://pypi.org/project/python-sdk-local/
|
|
7
7
|
author="Circles",
|
|
8
8
|
author_email="info@circles.life",
|
|
9
9
|
description="PyPI Package for Circles Python SDK Local Python",
|
|
File without changes
|
|
File without changes
|
{python-sdk-local-0.0.42 → python-sdk-local-0.0.43}/python_sdk_local.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|