python-sdk-remote 0.0.226b4491__tar.gz → 0.0.226b4491.post35801__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.
Files changed (42) hide show
  1. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/PKG-INFO +1 -1
  2. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/pyproject.toml +1 -1
  3. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/http_response.py +3 -3
  4. python_sdk_remote-0.0.226b4491.post35801/python_sdk_remote/src/validate_environment.py +9 -0
  5. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote.egg-info/PKG-INFO +1 -1
  6. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/setup.py +1 -1
  7. python_sdk_remote-0.0.226b4491/python_sdk_remote/src/validate_environment.py +0 -48
  8. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/README.md +0 -0
  9. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/__init__.py +0 -0
  10. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/constants.py +0 -0
  11. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/constants_src_mini_logger_and_logger.py +0 -0
  12. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/datetime_range.py +0 -0
  13. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/dot_env_files.py +0 -0
  14. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/environment.py +0 -0
  15. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/environment_variable_exception.py +0 -0
  16. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/filename.py +0 -0
  17. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/filesystem.py +0 -0
  18. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/generic_crud.py +0 -0
  19. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/is_test_data.py +0 -0
  20. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/item.py +0 -0
  21. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/masking.py +0 -0
  22. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/mini_logger.py +0 -0
  23. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/our_environment_variable.py +0 -0
  24. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/our_environment_variable_exception.py +0 -0
  25. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/our_obfuscation.py +0 -0
  26. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/our_object.py +0 -0
  27. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/our_objects.py +0 -0
  28. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/our_objects_local.py +0 -0
  29. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/our_objects_remote.py +0 -0
  30. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/our_request.py +0 -0
  31. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/our_request_old.py +0 -0
  32. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/personal_repo.py +0 -0
  33. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/unified_json.py +0 -0
  34. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/username.py +0 -0
  35. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/utilities.py +0 -0
  36. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/valid_json_versions.py +0 -0
  37. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote/src/version.py +0 -0
  38. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote.egg-info/SOURCES.txt +0 -0
  39. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote.egg-info/dependency_links.txt +0 -0
  40. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote.egg-info/requires.txt +0 -0
  41. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/python_sdk_remote.egg-info/top_level.txt +0 -0
  42. {python_sdk_remote-0.0.226b4491 → python_sdk_remote-0.0.226b4491.post35801}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-sdk-remote
3
- Version: 0.0.226b4491
3
+ Version: 0.0.226b4491.post35801
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "python-sdk-local"
7
- version = "0.0.226b4491" # https://pypi.org/project/python-sdk-local
7
+ version = "0.0.226b4491.post35801" # https://pypi.org/project/python-sdk-local
8
8
  description = "python-sdk-local Python Package"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -22,7 +22,7 @@ def create_internal_server_error_http_response(error_message: str = "Internal Se
22
22
  error_message: Custom error message (default: "Internal Server Error")
23
23
 
24
24
  Returns:
25
- dict: HTTP response with the Internal Server Error (500) status code
25
+ dict: HTTP response with the HTTPStatus.INTERNAL_SERVER_ERROR status code
26
26
  """
27
27
  logger.start(object={"error_message": error_message})
28
28
  internal_server_error_response = {
@@ -36,13 +36,13 @@ def create_internal_server_error_http_response(error_message: str = "Internal Se
36
36
 
37
37
  def create_ok_http_response_simple(body: Any) -> dict:
38
38
  """
39
- Create a simple HTTP OK (200) response (alias for create_ok_http_response).
39
+ Create a simple HTTPStatus.OK response (alias for create_ok_http_response).
40
40
 
41
41
  Args:
42
42
  body: Response body data
43
43
 
44
44
  Returns:
45
- dict: HTTP response with the OK (200) status code
45
+ dict: HTTP response with the HTTPStatus.OK status code
46
46
  """
47
47
  return create_ok_http_response(body)
48
48
 
@@ -0,0 +1,9 @@
1
+ # deleted as the validation is done in utilities.our_get_env
2
+
3
+
4
+ # Implementation note: Align with https://github.com/circles-zone/typescript-sdk-remote-typescript-package/edit/dev/typescript-sdk/src/utils/index.ts validateTenantEnvironmentVariables() # noqa501
5
+ def validate_environment_variables():
6
+ """This is done for cross variables validation, as single variables are validated by our_get_env.
7
+ This should be called only once."""
8
+
9
+ pass # No cross validation needed yet
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-sdk-remote
3
- Version: 0.0.226b4491
3
+ Version: 0.0.226b4491.post35801
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,7 +8,7 @@ package_dir = PACKAGE_NAME.replace("-", "_")
8
8
  setuptools.setup(
9
9
  license='MIT',
10
10
  name=PACKAGE_NAME,
11
- version="0.0.226b4491", # https://pypi.org/project/python-sdk-remote#history
11
+ version="0.0.226b4491.post35801", # https://pypi.org/project/python-sdk-remote#history
12
12
  author="Circles",
13
13
  author_email="info@circlez.ai",
14
14
  description="PyPI Package for Circles Python SDK Local Python",
@@ -1,48 +0,0 @@
1
- # deleted as the validation is done in utilities.our_get_env
2
-
3
-
4
- # Implementation note: Align with https://github.com/circles-zone/typescript-sdk-remote-typescript-package/edit/dev/typescript-sdk/src/utils/index.ts validateTenantEnvironmentVariables() # noqa501
5
- def validate_environment_variables():
6
- """This is done for cross variables validation, as single variables are validated by our_get_env.
7
- This should be called only once."""
8
-
9
- pass # No cross validation needed yet
10
-
11
- # Implementation note: Delete the following code when no longer needed
12
-
13
- # validate_brand_name()
14
- # validate_environment_name()
15
- # if(os.getenv("PRODUCT_USER_IDENTIFIER") is None):
16
- # raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called "
17
- # "PRODUCT_USER_IDENTIFIER (instead of PRODUCT_USERNAME)")
18
- # removed by Idan because it dont has to be in every project
19
- # if(os.getenv("PRODUCT_PASSWORD") is None):
20
- # raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called PRODUCT_PASSWORD")
21
- # validate_logzio_token()
22
- # validate_google_port_for_authentication()
23
- #
24
- #
25
- # def validate_environment_name():
26
- # if ENVIRONMENT_NAME is None:
27
- # raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called "
28
- # "ENVIRONMENT_NAME=local or play1 (instead of ENVIRONMENT)")
29
- #
30
- #
31
- # def validate_brand_name():
32
- # if BRAND_NAME is None:
33
- # raise Exception(
34
- # "logger-local-python-package LoggerLocal.py please add Environment Variable called BRAND_NAME=Circlez")
35
- #
36
- #
37
- # def validate_logzio_token():
38
- # if LOGZIO_TOKEN is None:
39
- # raise Exception("logger-local-python-package LoggerLocal.py please add Environment Variable called"
40
- # " LOGZIO_TOKEN=cXNHuVkkffkilnkKzZlWExECRlSKqopE")
41
- #
42
- #
43
- # def validate_google_port_for_authentication():
44
- # if GOOGLE_PORT_FOR_AUTHENTICATION is None:
45
- # # The port is 54219 because the authentication url is http://localhost:54219/
46
- # raise Exception("please add Environment Variable"
47
- # " PORT_FOR_AUTHENTICATION=54219 because"
48
- # " the authentication url is http://localhost:54219/")