python-sdk-local 0.0.146__tar.gz → 0.0.147__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.146 → python_sdk_local-0.0.147}/PKG-INFO +1 -1
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/utilities.py +17 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local.egg-info/PKG-INFO +1 -1
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/setup.py +1 -1
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/README.md +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/pyproject.toml +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/__init__.py +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/constants.py +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/http_response.py +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/item.py +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/our_object.py +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/service_response.py +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/unified_json.py +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/valid_json_versions.py +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/validate_environment.py +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local.egg-info/SOURCES.txt +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local.egg-info/dependency_links.txt +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local.egg-info/requires.txt +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local.egg-info/top_level.txt +0 -0
- {python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/setup.cfg +0 -0
|
@@ -361,3 +361,20 @@ def camel_to_snake(camel_str: str) -> str:
|
|
|
361
361
|
"""Converts camelCase to snake_case."""
|
|
362
362
|
snake_str = re.sub(r'(?<!^)(?=[A-Z])', '_', camel_str).lower()
|
|
363
363
|
return snake_str
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
def strtobool(val):
|
|
367
|
+
"""Convert a string representation of truth to true (1) or false (0).
|
|
368
|
+
True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values
|
|
369
|
+
are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if
|
|
370
|
+
'val' is anything else.
|
|
371
|
+
"""
|
|
372
|
+
if val is None:
|
|
373
|
+
return 0
|
|
374
|
+
val = val.lower()
|
|
375
|
+
if val in ('y', 'yes', 't', 'true', 'on', '1'):
|
|
376
|
+
return 1
|
|
377
|
+
elif val in ('n', 'no', 'f', 'false', 'off', '0'):
|
|
378
|
+
return 0
|
|
379
|
+
else:
|
|
380
|
+
raise ValueError("invalid truth value %r" % (val,))
|
|
@@ -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.147', # 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
|
{python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/service_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/valid_json_versions.py
RENAMED
|
File without changes
|
{python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local/src/validate_environment.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local.egg-info/requires.txt
RENAMED
|
File without changes
|
{python_sdk_local-0.0.146 → python_sdk_local-0.0.147}/python_sdk_local.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|