python-sdk-remote 0.0.159b1234__tar.gz → 0.0.160__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.159b1234 → python_sdk_remote-0.0.160}/PKG-INFO +1 -1
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/mini_logger.py +10 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/utilities.py +1 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote.egg-info/PKG-INFO +1 -1
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/setup.py +1 -1
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/README.md +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/pyproject.toml +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/__init__.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/constants.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/constants_src_mini_logger_and_logger.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/datetime_range.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/exceptions.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/generic_crud.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/http_response.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/is_test_data.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/item.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/our_obfuscation.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/our_object.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/our_objects.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/our_objects_local.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/our_objects_remote.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/our_request.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/our_request_old.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/unified_json.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/valid_json_versions.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/validate_environment.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/version.py +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote.egg-info/SOURCES.txt +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote.egg-info/dependency_links.txt +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote.egg-info/requires.txt +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote.egg-info/top_level.txt +0 -0
- {python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/setup.cfg +0 -0
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/mini_logger.py
RENAMED
|
@@ -24,6 +24,16 @@ if LOGGER_MINIMUM_SEVERITY.isdigit():
|
|
|
24
24
|
else:
|
|
25
25
|
LOGGER_MINIMUM_SEVERITY = LogMessageSeverity.CRITICAL.name
|
|
26
26
|
|
|
27
|
+
# Some of our severity names (LogMessageSeverity) aren't recognized by Python's stdlib
|
|
28
|
+
# logging module, which only knows DEBUG/INFO/WARNING/ERROR/CRITICAL - translate before basicConfig
|
|
29
|
+
_CUSTOM_TO_STDLIB_LEVEL_NAME = {
|
|
30
|
+
"VERBOSE": "DEBUG",
|
|
31
|
+
"INIT": "DEBUG",
|
|
32
|
+
"INFORMATION": "INFO",
|
|
33
|
+
"EXCEPTION": "ERROR",
|
|
34
|
+
}
|
|
35
|
+
LOGGER_MINIMUM_SEVERITY = _CUSTOM_TO_STDLIB_LEVEL_NAME.get(LOGGER_MINIMUM_SEVERITY, LOGGER_MINIMUM_SEVERITY)
|
|
36
|
+
|
|
27
37
|
logging.basicConfig(level=LOGGER_MINIMUM_SEVERITY, stream=sys.stdout,
|
|
28
38
|
format="%(asctime)s - %(message)s")
|
|
29
39
|
logger = logging.getLogger(__name__)
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/utilities.py
RENAMED
|
@@ -331,6 +331,7 @@ def update_dot_env_example(key: str, value: str):
|
|
|
331
331
|
# TODO If running in a lower environment(i.e. local1, play1) if key do not exit in Personal Repo relevant .env.{environment_} or value diffrent update Personal Repo (create new and comment the old record)
|
|
332
332
|
# TODO If running in a lower environment(i.e. local1, play1) update .env.example with the key without the value
|
|
333
333
|
# TODO If running in a lower environment(i.e. local1, play1) and the key do not exist look for it in the Team Member Personal Repo and copy both the key and value to the repo .env.{environment_name} file
|
|
334
|
+
# TODO move all our_*_env() to our_env.py
|
|
334
335
|
def our_get_env(key: str, default: str = None, raise_if_not_found: bool = True,
|
|
335
336
|
raise_if_empty: bool = False, optional_prefix: str = None) -> str:
|
|
336
337
|
"""
|
|
@@ -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.160', # https://pypi.org/project/python-sdk-remote/
|
|
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
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/__init__.py
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/datetime_range.py
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/exceptions.py
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/generic_crud.py
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/http_response.py
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/is_test_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/our_object.py
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/our_objects.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/our_request.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/unified_json.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote/src/version.py
RENAMED
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{python_sdk_remote-0.0.159b1234 → python_sdk_remote-0.0.160}/python_sdk_remote.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|