atk-common 1.1.0__tar.gz → 1.3.0__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.
- {atk_common-1.1.0 → atk_common-1.3.0}/PKG-INFO +1 -1
- {atk_common-1.1.0 → atk_common-1.3.0}/setup.py +1 -1
- atk_common-1.3.0/src/atk_common/__init__.py +24 -0
- atk_common-1.3.0/src/atk_common/enums/__init__.py +8 -0
- {atk_common-1.1.0/src/atk_package → atk_common-1.3.0/src/atk_common}/env_utils.py +1 -1
- {atk_common-1.1.0/src/atk_package → atk_common-1.3.0/src/atk_common}/error_utils.py +3 -3
- {atk_common-1.1.0/src/atk_package → atk_common-1.3.0/src/atk_common}/log_utils.py +1 -1
- {atk_common-1.1.0 → atk_common-1.3.0}/src/atk_common.egg-info/PKG-INFO +1 -1
- atk_common-1.3.0/src/atk_common.egg-info/SOURCES.txt +23 -0
- {atk_common-1.1.0 → atk_common-1.3.0}/src/atk_common.egg-info/top_level.txt +1 -1
- {atk_common-1.1.0 → atk_common-1.3.0}/tests/test_log_utils.py +1 -1
- atk_common-1.1.0/src/atk_common.egg-info/SOURCES.txt +0 -23
- atk_common-1.1.0/src/atk_package/__init__.py +0 -23
- atk_common-1.1.0/src/atk_package/enums/__init__.py +0 -8
- {atk_common-1.1.0 → atk_common-1.3.0}/README.md +0 -0
- {atk_common-1.1.0 → atk_common-1.3.0}/license.txt +0 -0
- {atk_common-1.1.0 → atk_common-1.3.0}/pyproject.toml +0 -0
- {atk_common-1.1.0 → atk_common-1.3.0}/setup.cfg +0 -0
- {atk_common-1.1.0/src/atk_package → atk_common-1.3.0/src/atk_common}/datetime_utils.py +0 -0
- {atk_common-1.1.0/src/atk_package → atk_common-1.3.0/src/atk_common}/enums/command_status_enum.py +0 -0
- {atk_common-1.1.0/src/atk_package → atk_common-1.3.0/src/atk_common}/enums/speed_control_status_enum.py +0 -0
- {atk_common-1.1.0/src/atk_package → atk_common-1.3.0/src/atk_common}/http_utils.py +0 -0
- {atk_common-1.1.0/src/atk_package → atk_common-1.3.0/src/atk_common}/rabbitmq_consumer.py +0 -0
- {atk_common-1.1.0/src/atk_package → atk_common-1.3.0/src/atk_common}/response_utils.py +0 -0
- {atk_common-1.1.0 → atk_common-1.3.0}/src/atk_common.egg-info/dependency_links.txt +0 -0
- {atk_common-1.1.0 → atk_common-1.3.0}/src/atk_common.egg-info/requires.txt +0 -0
- {atk_common-1.1.0 → atk_common-1.3.0}/src/shared_python_atk_enforcement/__init__.py +0 -0
@@ -36,7 +36,7 @@ setup(
|
|
36
36
|
# For a discussion on single-sourcing the version across setup.py and the
|
37
37
|
# project code, see
|
38
38
|
# https://packaging.python.org/guides/single-sourcing-package-version/
|
39
|
-
version="1.
|
39
|
+
version="1.3.0", # Required
|
40
40
|
# This is a one-line description or tagline of what your project does. This
|
41
41
|
# corresponds to the "Summary" metadata field:
|
42
42
|
# https://packaging.python.org/specifications/core-metadata/#summary
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# __init__.py
|
2
|
+
from atk_common.datetime_utils import date_time_utc, get_utc_date_time
|
3
|
+
from atk_common.env_utils import get_env_value
|
4
|
+
from atk_common.error_utils import get_message, get_error_entity, handle_error, get_response_error, get_error_type
|
5
|
+
from atk_common.http_utils import is_status_code_ok
|
6
|
+
from atk_common.log_utils import add_log_item, add_log_item_http
|
7
|
+
from atk_common.rabbitmq_consumer import RabbitMQConsumer
|
8
|
+
from atk_common.response_utils import create_save_resp
|
9
|
+
|
10
|
+
__all__ = [
|
11
|
+
'date_time_utc',
|
12
|
+
'get_utc_date_time',
|
13
|
+
'get_env_value',
|
14
|
+
'get_message',
|
15
|
+
'get_error_entity',
|
16
|
+
'handle_error',
|
17
|
+
'get_response_error',
|
18
|
+
'get_error_type',
|
19
|
+
'is_status_code_ok',
|
20
|
+
'add_log_item',
|
21
|
+
'add_log_item_http',
|
22
|
+
'RabbitMQConsumer',
|
23
|
+
'create_save_resp'
|
24
|
+
]
|
@@ -1,8 +1,8 @@
|
|
1
1
|
from datetime import datetime
|
2
2
|
import json
|
3
|
-
from
|
4
|
-
from
|
5
|
-
from
|
3
|
+
from atk_common.datetime_utils import get_utc_date_time
|
4
|
+
from atk_common.log_utils import add_log_item
|
5
|
+
from atk_common.response_utils import create_save_resp
|
6
6
|
|
7
7
|
def get_message(error):
|
8
8
|
if hasattr(error, 'message'):
|
@@ -0,0 +1,23 @@
|
|
1
|
+
README.md
|
2
|
+
license.txt
|
3
|
+
pyproject.toml
|
4
|
+
setup.cfg
|
5
|
+
setup.py
|
6
|
+
src/atk_common/__init__.py
|
7
|
+
src/atk_common/datetime_utils.py
|
8
|
+
src/atk_common/env_utils.py
|
9
|
+
src/atk_common/error_utils.py
|
10
|
+
src/atk_common/http_utils.py
|
11
|
+
src/atk_common/log_utils.py
|
12
|
+
src/atk_common/rabbitmq_consumer.py
|
13
|
+
src/atk_common/response_utils.py
|
14
|
+
src/atk_common.egg-info/PKG-INFO
|
15
|
+
src/atk_common.egg-info/SOURCES.txt
|
16
|
+
src/atk_common.egg-info/dependency_links.txt
|
17
|
+
src/atk_common.egg-info/requires.txt
|
18
|
+
src/atk_common.egg-info/top_level.txt
|
19
|
+
src/atk_common/enums/__init__.py
|
20
|
+
src/atk_common/enums/command_status_enum.py
|
21
|
+
src/atk_common/enums/speed_control_status_enum.py
|
22
|
+
src/shared_python_atk_enforcement/__init__.py
|
23
|
+
tests/test_log_utils.py
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
atk_common
|
2
2
|
shared_python_atk_enforcement
|
@@ -1,23 +0,0 @@
|
|
1
|
-
README.md
|
2
|
-
license.txt
|
3
|
-
pyproject.toml
|
4
|
-
setup.cfg
|
5
|
-
setup.py
|
6
|
-
src/atk_common.egg-info/PKG-INFO
|
7
|
-
src/atk_common.egg-info/SOURCES.txt
|
8
|
-
src/atk_common.egg-info/dependency_links.txt
|
9
|
-
src/atk_common.egg-info/requires.txt
|
10
|
-
src/atk_common.egg-info/top_level.txt
|
11
|
-
src/atk_package/__init__.py
|
12
|
-
src/atk_package/datetime_utils.py
|
13
|
-
src/atk_package/env_utils.py
|
14
|
-
src/atk_package/error_utils.py
|
15
|
-
src/atk_package/http_utils.py
|
16
|
-
src/atk_package/log_utils.py
|
17
|
-
src/atk_package/rabbitmq_consumer.py
|
18
|
-
src/atk_package/response_utils.py
|
19
|
-
src/atk_package/enums/__init__.py
|
20
|
-
src/atk_package/enums/command_status_enum.py
|
21
|
-
src/atk_package/enums/speed_control_status_enum.py
|
22
|
-
src/shared_python_atk_enforcement/__init__.py
|
23
|
-
tests/test_log_utils.py
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# __init__.py
|
2
|
-
from atk_package.datetime_utils import date_time_utc, get_utc_date_time
|
3
|
-
from atk_package.env_utils import get_env_value
|
4
|
-
from atk_package.error_utils import get_message, get_error_entity, handle_error, get_response_error
|
5
|
-
from atk_package.http_utils import is_status_code_ok
|
6
|
-
from atk_package.log_utils import add_log_item, add_log_item_http
|
7
|
-
from atk_package.rabbitmq_consumer import RabbitMQConsumer
|
8
|
-
from atk_package.response_utils import create_save_resp
|
9
|
-
|
10
|
-
__all__ = [
|
11
|
-
'date_time_utc',
|
12
|
-
'get_utc_date_time',
|
13
|
-
'get_env_value',
|
14
|
-
'get_message',
|
15
|
-
'get_error_entity',
|
16
|
-
'handle_error',
|
17
|
-
'get_response_error',
|
18
|
-
'is_status_code_ok',
|
19
|
-
'add_log_item',
|
20
|
-
'add_log_item_http',
|
21
|
-
'RabbitMQConsumer',
|
22
|
-
'create_save_resp'
|
23
|
-
]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{atk_common-1.1.0/src/atk_package → atk_common-1.3.0/src/atk_common}/enums/command_status_enum.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|