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.
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/PKG-INFO +1 -1
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/utilities.py +2 -2
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/PKG-INFO +1 -1
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/setup.py +1 -1
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/README.md +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/pyproject.toml +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/__init__.py +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/constants.py +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/http_response.py +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/item.py +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/our_object.py +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/unified_json.py +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/valid_json_versions.py +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/validate_environment.py +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/SOURCES.txt +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/dependency_links.txt +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/requires.txt +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/top_level.txt +0 -0
- {python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/setup.cfg +0 -0
|
@@ -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
|
|
|
@@ -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.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",
|
|
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_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/valid_json_versions.py
RENAMED
|
File without changes
|
{python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local/src/validate_environment.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/requires.txt
RENAMED
|
File without changes
|
{python_sdk_local-0.0.137 → python_sdk_local-0.0.138}/python_sdk_local.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|