python-sdk-local 0.0.129__tar.gz → 0.0.130__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.129 → python_sdk_local-0.0.130}/PKG-INFO +2 -2
- {python_sdk_local-0.0.129 → python_sdk_local-0.0.130}/README.md +1 -1
- {python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/constants.py +1 -1
- {python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/http_response.py +1 -1
- {python_sdk_local-0.0.129 → python_sdk_local-0.0.130}/python_sdk_local.egg-info/PKG-INFO +2 -2
- python_sdk_local-0.0.130/python_sdk_local.egg-info/SOURCES.txt +18 -0
- python_sdk_local-0.0.130/python_sdk_local.egg-info/top_level.txt +1 -0
- {python_sdk_local-0.0.129 → python_sdk_local-0.0.130}/setup.py +3 -3
- python_sdk_local-0.0.129/python_sdk_local.egg-info/SOURCES.txt +0 -18
- python_sdk_local-0.0.129/python_sdk_local.egg-info/top_level.txt +0 -1
- {python_sdk_local-0.0.129 → python_sdk_local-0.0.130}/pyproject.toml +0 -0
- {python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/__init__.py +0 -0
- {python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/item.py +0 -0
- {python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/mini_logger.py +0 -0
- {python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/our_object.py +0 -0
- {python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/unified_json.py +0 -0
- {python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/utilities.py +0 -0
- {python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/valid_json_versions.py +0 -0
- {python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/validate_environment.py +0 -0
- {python_sdk_local-0.0.129 → python_sdk_local-0.0.130}/python_sdk_local.egg-info/dependency_links.txt +0 -0
- {python_sdk_local-0.0.129 → python_sdk_local-0.0.130}/python_sdk_local.egg-info/requires.txt +0 -0
- {python_sdk_local-0.0.129 → python_sdk_local-0.0.130}/setup.cfg +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-sdk-local
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.130
|
|
4
4
|
Summary: PyPI Package for Circles Python SDK Local Python
|
|
5
|
-
Home-page: https://github.com/circles-zone/python-sdk-
|
|
5
|
+
Home-page: https://github.com/circles-zone/python-sdk-local-python-package
|
|
6
6
|
Author: Circles
|
|
7
7
|
Author-email: info@circlez.ai
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
In serverless, use this decorator:
|
|
4
4
|
```py
|
|
5
|
-
from
|
|
5
|
+
from python_sdk_local.http_response import handler_decorator
|
|
6
6
|
from logger_local.Logger import Logger
|
|
7
7
|
logger = Logger.create_logger(object=your_logger_object)
|
|
8
8
|
@handler_decorator(logger=logger)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from logger_local.LoggerComponentEnum import LoggerComponentEnum
|
|
2
2
|
|
|
3
3
|
PYTHON_SDK_REMOTE_COMPONENT_ID = 184
|
|
4
|
-
PYTHON_SDK_REMOTE_COMPONENT_NAME = '
|
|
4
|
+
PYTHON_SDK_REMOTE_COMPONENT_NAME = 'python_sdk_local'
|
|
5
5
|
|
|
6
6
|
OBJECT_TO_INSERT_CODE = {
|
|
7
7
|
'component_id': PYTHON_SDK_REMOTE_COMPONENT_ID,
|
|
@@ -49,7 +49,7 @@ def get_request_parameters_from_event(event: dict) -> dict:
|
|
|
49
49
|
def handler_decorator(logger, user_context = None):
|
|
50
50
|
"""Decorator for AWS Lambda handler functions. It wraps the handler function with logging and error handling.
|
|
51
51
|
Usage:
|
|
52
|
-
from
|
|
52
|
+
from python_sdk_local.http_response import handler_decorator
|
|
53
53
|
logger = ...
|
|
54
54
|
@handler_decorator(logger=logger)
|
|
55
55
|
def my_handler(request_parameters: dict) -> dict:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-sdk-local
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.130
|
|
4
4
|
Summary: PyPI Package for Circles Python SDK Local Python
|
|
5
|
-
Home-page: https://github.com/circles-zone/python-sdk-
|
|
5
|
+
Home-page: https://github.com/circles-zone/python-sdk-local-python-package
|
|
6
6
|
Author: Circles
|
|
7
7
|
Author-email: info@circlez.ai
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
setup.py
|
|
4
|
+
python_sdk_local.egg-info/PKG-INFO
|
|
5
|
+
python_sdk_local.egg-info/SOURCES.txt
|
|
6
|
+
python_sdk_local.egg-info/dependency_links.txt
|
|
7
|
+
python_sdk_local.egg-info/requires.txt
|
|
8
|
+
python_sdk_local.egg-info/top_level.txt
|
|
9
|
+
python_sdk_local/src/__init__.py
|
|
10
|
+
python_sdk_local/src/constants.py
|
|
11
|
+
python_sdk_local/src/http_response.py
|
|
12
|
+
python_sdk_local/src/item.py
|
|
13
|
+
python_sdk_local/src/mini_logger.py
|
|
14
|
+
python_sdk_local/src/our_object.py
|
|
15
|
+
python_sdk_local/src/unified_json.py
|
|
16
|
+
python_sdk_local/src/utilities.py
|
|
17
|
+
python_sdk_local/src/valid_json_versions.py
|
|
18
|
+
python_sdk_local/src/validate_environment.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
python_sdk_local
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import setuptools
|
|
2
2
|
|
|
3
|
-
PACKAGE_NAME = "python-sdk-
|
|
3
|
+
PACKAGE_NAME = "python-sdk-local"
|
|
4
4
|
package_dir = PACKAGE_NAME.replace("-", "_")
|
|
5
5
|
|
|
6
6
|
# used by python -m build
|
|
7
7
|
# python -m build needs pyproject.toml or setup.py
|
|
8
8
|
setuptools.setup(
|
|
9
|
-
name=
|
|
10
|
-
version='0.0.
|
|
9
|
+
name=PACKAGE_NAME,
|
|
10
|
+
version='0.0.130', # 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",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
README.md
|
|
2
|
-
pyproject.toml
|
|
3
|
-
setup.py
|
|
4
|
-
python_sdk_local.egg-info/PKG-INFO
|
|
5
|
-
python_sdk_local.egg-info/SOURCES.txt
|
|
6
|
-
python_sdk_local.egg-info/dependency_links.txt
|
|
7
|
-
python_sdk_local.egg-info/requires.txt
|
|
8
|
-
python_sdk_local.egg-info/top_level.txt
|
|
9
|
-
python_sdk_remote/src/__init__.py
|
|
10
|
-
python_sdk_remote/src/constants.py
|
|
11
|
-
python_sdk_remote/src/http_response.py
|
|
12
|
-
python_sdk_remote/src/item.py
|
|
13
|
-
python_sdk_remote/src/mini_logger.py
|
|
14
|
-
python_sdk_remote/src/our_object.py
|
|
15
|
-
python_sdk_remote/src/unified_json.py
|
|
16
|
-
python_sdk_remote/src/utilities.py
|
|
17
|
-
python_sdk_remote/src/valid_json_versions.py
|
|
18
|
-
python_sdk_remote/src/validate_environment.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
python_sdk_remote
|
|
File without changes
|
|
File without changes
|
{python_sdk_local-0.0.129/python_sdk_remote → python_sdk_local-0.0.130/python_sdk_local}/src/item.py
RENAMED
|
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.129 → python_sdk_local-0.0.130}/python_sdk_local.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{python_sdk_local-0.0.129 → python_sdk_local-0.0.130}/python_sdk_local.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|