python-sdk-local 0.0.137__tar.gz → 0.0.138__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 (19) hide show
  1. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/PKG-INFO +1 -1
  2. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/utilities.py +2 -2
  3. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/PKG-INFO +1 -1
  4. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/setup.py +1 -1
  5. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/README.md +0 -0
  6. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/pyproject.toml +0 -0
  7. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/__init__.py +0 -0
  8. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/constants.py +0 -0
  9. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/http_response.py +0 -0
  10. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/item.py +0 -0
  11. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/our_object.py +0 -0
  12. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/unified_json.py +0 -0
  13. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/valid_json_versions.py +0 -0
  14. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/validate_environment.py +0 -0
  15. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/SOURCES.txt +0 -0
  16. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/dependency_links.txt +0 -0
  17. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/requires.txt +0 -0
  18. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/top_level.txt +0 -0
  19. {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-sdk-local
3
- Version: 0.0.137
3
+ Version: 0.0.138
4
4
  Summary: PyPI Package for Circles Python SDK Local Python
5
5
  Home-page: https://github.com/circles-zone/python-sdk-local-python-package
6
6
  Author: Circles
@@ -12,7 +12,6 @@ from dotenv import load_dotenv
12
12
 
13
13
  from python_sdk_remote.mini_logger import MiniLogger as logger
14
14
 
15
-
16
15
  load_dotenv()
17
16
  # If DOTENV_PATH is defined, load the environment variables from the specified file
18
17
  # If OVERRIDE_DOTENV is set to True, override the existing environment variables
@@ -275,7 +274,6 @@ def is_datetime_in_datetime_range(check_datetime: datetime, datetime_range: (dat
275
274
  return is_datetime_in_datetime_range_result
276
275
 
277
276
 
278
-
279
277
  def encode_jwt(payload: dict, key: str) -> str:
280
278
  """Example:
281
279
  payload = {
@@ -341,10 +339,12 @@ def reformat_time_string(input_str: str) -> str:
341
339
  return time_format
342
340
 
343
341
 
342
+ @lru_cache(maxsize=1)
344
343
  def get_ip_v4():
345
344
  return requests.get('https://ipv4.seeip.org/jsonip').json()['ip']
346
345
 
347
346
 
347
+ @lru_cache(maxsize=1)
348
348
  def get_ip_v6():
349
349
  return requests.get('https://api.seeip.org/jsonip').json()['ip']
350
350
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-sdk-local
3
- Version: 0.0.137
3
+ Version: 0.0.138
4
4
  Summary: PyPI Package for Circles Python SDK Local Python
5
5
  Home-page: https://github.com/circles-zone/python-sdk-local-python-package
6
6
  Author: Circles
@@ -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.137', # https://pypi.org/project/python-sdk-local/
10
+ version='0.0.138', # https://pypi.org/project/python-sdk-local/
11
11
  author="Circles",
12
12
  author_email="info@circlez.ai",
13
13
  description="PyPI Package for Circles Python SDK Local Python",