python-sdk-remote 0.0.78__tar.gz → 0.0.80__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 python-sdk-remote might be problematic. Click here for more details.
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/PKG-INFO +1 -4
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote/src/utilities.py +0 -10
- python-sdk-remote-0.0.80/python_sdk_remote/src/validate_environment.py +50 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote.egg-info/PKG-INFO +1 -4
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote.egg-info/SOURCES.txt +2 -1
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/setup.py +1 -4
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/README.md +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/pyproject.toml +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote/src/__init__.py +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote/src/constants.py +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote/src/item.py +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote/src/mini_logger.py +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote/src/our_object.py +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote/src/unified_json.py +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote/src/valid_json_versions.py +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote.egg-info/dependency_links.txt +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote.egg-info/requires.txt +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote.egg-info/top_level.txt +0 -0
- {python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-sdk-remote
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.80
|
|
4
4
|
Summary: PyPI Package for Circles Python SDK Local Python
|
|
5
5
|
Home-page: https://github.com/circles-zone/python-sdk-remote-python-package
|
|
6
6
|
Author: Circles
|
|
@@ -8,9 +8,6 @@ Author-email: info@circles.life
|
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: License :: Other/Proprietary License
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: License :: Other/Proprietary License
|
|
13
|
-
Classifier: Operating System :: OS Independent
|
|
14
11
|
Description-Content-Type: text/markdown
|
|
15
12
|
Requires-Dist: python-dotenv
|
|
16
13
|
Requires-Dist: url-remote
|
|
@@ -305,13 +305,3 @@ def get_sql_password() -> str:
|
|
|
305
305
|
|
|
306
306
|
def remove_digits(text: str) -> str:
|
|
307
307
|
return ''.join([i for i in text if not i.isdigit()])
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
def validate_environment_variables():
|
|
311
|
-
"""This is done for cross variables validation, as single variables are validated by our_get_env.
|
|
312
|
-
This should be called only once."""
|
|
313
|
-
|
|
314
|
-
pass # No cross validation needed yet
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
validate_environment_variables()
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# deleted as the validation is done in utilities.our_get_env
|
|
2
|
+
from .constants import BRAND_NAME, ENVIRONMENT_NAME, LOGZIO_TOKEN, GOOGLE_PORT_FOR_AUTHENTICATION
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# TODO Align with https://github.com/circles-zone/typescript-sdk-remote-typescript-package/edit/dev/typescript-sdk/src/utils/index.ts validateTenantEnvironmentVariables() # noqa501
|
|
6
|
+
# TODO: validate_enviroment_variables() -> validate_environment_variables()
|
|
7
|
+
def validate_enviroment_variables():
|
|
8
|
+
"""This is done for cross variables validation, as single variables are validated by our_get_env.
|
|
9
|
+
This should be called only once."""
|
|
10
|
+
|
|
11
|
+
pass # No cross validation needed yet
|
|
12
|
+
|
|
13
|
+
# TODO: delete the following code
|
|
14
|
+
|
|
15
|
+
# validate_brand_name()
|
|
16
|
+
# validate_environment_name()
|
|
17
|
+
# if(os.getenv("PRODUCT_USER_IDENTIFIER") is None):
|
|
18
|
+
# raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called "
|
|
19
|
+
# "PRODUCT_USER_IDENTIFIER (instead of PRODUCT_USERNAME)")
|
|
20
|
+
# removed by Idan because it dont has to be in every project
|
|
21
|
+
# if(os.getenv("PRODUCT_PASSWORD") is None):
|
|
22
|
+
# raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called PRODUCT_PASSWORD")
|
|
23
|
+
# validate_logzio_token()
|
|
24
|
+
# validate_google_port_for_authentication()
|
|
25
|
+
#
|
|
26
|
+
#
|
|
27
|
+
# def validate_environment_name():
|
|
28
|
+
# if ENVIRONMENT_NAME is None:
|
|
29
|
+
# raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called "
|
|
30
|
+
# "ENVIRONMENT_NAME=local or play1 (instead of ENVIRONMENT)")
|
|
31
|
+
#
|
|
32
|
+
#
|
|
33
|
+
# def validate_brand_name():
|
|
34
|
+
# if BRAND_NAME is None:
|
|
35
|
+
# raise Exception(
|
|
36
|
+
# "logger-local-python-package LoggerLocal.py please add Environment Variable called BRAND_NAME=Circlez")
|
|
37
|
+
#
|
|
38
|
+
#
|
|
39
|
+
# def validate_logzio_token():
|
|
40
|
+
# if LOGZIO_TOKEN is None:
|
|
41
|
+
# raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called"
|
|
42
|
+
# " LOGZIO_TOKEN=cXNHuVkkffkilnkKzZlWExECRlSKqopE")
|
|
43
|
+
#
|
|
44
|
+
#
|
|
45
|
+
# def validate_google_port_for_authentication():
|
|
46
|
+
# if GOOGLE_PORT_FOR_AUTHENTICATION is None:
|
|
47
|
+
# # The port is 54219 because the authentication url is http://localhost:54219/
|
|
48
|
+
# raise Exception("please add Environment Variable"
|
|
49
|
+
# " PORT_FOR_AUTHENTICATION=54219 because"
|
|
50
|
+
# " the authentication url is http://localhost:54219/")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-sdk-remote
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.80
|
|
4
4
|
Summary: PyPI Package for Circles Python SDK Local Python
|
|
5
5
|
Home-page: https://github.com/circles-zone/python-sdk-remote-python-package
|
|
6
6
|
Author: Circles
|
|
@@ -8,9 +8,6 @@ Author-email: info@circles.life
|
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: License :: Other/Proprietary License
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: License :: Other/Proprietary License
|
|
13
|
-
Classifier: Operating System :: OS Independent
|
|
14
11
|
Description-Content-Type: text/markdown
|
|
15
12
|
Requires-Dist: python-dotenv
|
|
16
13
|
Requires-Dist: url-remote
|
{python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote.egg-info/SOURCES.txt
RENAMED
|
@@ -13,4 +13,5 @@ python_sdk_remote/src/mini_logger.py
|
|
|
13
13
|
python_sdk_remote/src/our_object.py
|
|
14
14
|
python_sdk_remote/src/unified_json.py
|
|
15
15
|
python_sdk_remote/src/utilities.py
|
|
16
|
-
python_sdk_remote/src/valid_json_versions.py
|
|
16
|
+
python_sdk_remote/src/valid_json_versions.py
|
|
17
|
+
python_sdk_remote/src/validate_environment.py
|
|
@@ -7,7 +7,7 @@ package_dir = PACKAGE_NAME.replace("-", "_")
|
|
|
7
7
|
# python -m build needs pyproject.toml or setup.py
|
|
8
8
|
setuptools.setup(
|
|
9
9
|
name=PACKAGE_NAME,
|
|
10
|
-
version='0.0.
|
|
10
|
+
version='0.0.80', # https://pypi.org/project/python-sdk-remote/
|
|
11
11
|
author="Circles",
|
|
12
12
|
author_email="info@circles.life",
|
|
13
13
|
description="PyPI Package for Circles Python SDK Local Python",
|
|
@@ -21,9 +21,6 @@ setuptools.setup(
|
|
|
21
21
|
"Programming Language :: Python :: 3",
|
|
22
22
|
"License :: Other/Proprietary License",
|
|
23
23
|
"Operating System :: OS Independent",
|
|
24
|
-
"Programming Language :: Python :: 3",
|
|
25
|
-
"License :: Other/Proprietary License",
|
|
26
|
-
"Operating System :: OS Independent",
|
|
27
24
|
],
|
|
28
25
|
install_requires=[
|
|
29
26
|
"python-dotenv",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote/src/valid_json_versions.py
RENAMED
|
File without changes
|
|
File without changes
|
{python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote.egg-info/requires.txt
RENAMED
|
File without changes
|
{python-sdk-remote-0.0.78 → python-sdk-remote-0.0.80}/python_sdk_remote.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|