nui-python-shared-utils 2.4__py3-none-any.whl → 2.4.1__py3-none-any.whl
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.
- {nui_python_shared_utils-2.4.dist-info → nui_python_shared_utils-2.4.1.dist-info}/METADATA +3 -4
- {nui_python_shared_utils-2.4.dist-info → nui_python_shared_utils-2.4.1.dist-info}/RECORD +8 -8
- {nui_python_shared_utils-2.4.dist-info → nui_python_shared_utils-2.4.1.dist-info}/WHEEL +1 -1
- nui_shared_utils/logging/binding.py +0 -1
- nui_shared_utils/timezone.py +4 -4
- {nui_python_shared_utils-2.4.dist-info → nui_python_shared_utils-2.4.1.dist-info}/entry_points.txt +0 -0
- {nui_python_shared_utils-2.4.dist-info → nui_python_shared_utils-2.4.1.dist-info}/licenses/LICENSE +0 -0
- {nui_python_shared_utils-2.4.dist-info → nui_python_shared_utils-2.4.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nui-python-shared-utils
|
|
3
|
-
Version: 2.4
|
|
3
|
+
Version: 2.4.1
|
|
4
4
|
Summary: Shared Python utilities for AWS Lambda, CLI tools, and agents with Slack, Elasticsearch, and monitoring integrations
|
|
5
5
|
Home-page: https://github.com/nuimarkets/nui-python-shared-utils
|
|
6
6
|
Author: NUI Markets
|
|
@@ -36,7 +36,6 @@ Classifier: Intended Audience :: Developers
|
|
|
36
36
|
Classifier: License :: OSI Approved :: MIT License
|
|
37
37
|
Classifier: Operating System :: OS Independent
|
|
38
38
|
Classifier: Programming Language :: Python :: 3
|
|
39
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
40
39
|
Classifier: Programming Language :: Python :: 3.10
|
|
41
40
|
Classifier: Programming Language :: Python :: 3.11
|
|
42
41
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -45,7 +44,7 @@ Classifier: Topic :: System :: Monitoring
|
|
|
45
44
|
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
46
45
|
Classifier: Environment :: Console
|
|
47
46
|
Classifier: Framework :: AWS CDK
|
|
48
|
-
Requires-Python: >=3.
|
|
47
|
+
Requires-Python: >=3.10
|
|
49
48
|
Description-Content-Type: text/markdown
|
|
50
49
|
License-File: LICENSE
|
|
51
50
|
Requires-Dist: boto3>=1.20.0
|
|
@@ -102,7 +101,7 @@ Dynamic: requires-python
|
|
|
102
101
|
# NUI Python Shared Utilities
|
|
103
102
|
|
|
104
103
|
[](https://badge.fury.io/py/nui-python-shared-utils)
|
|
105
|
-
[](https://www.python.org/downloads/)
|
|
106
105
|
[](https://opensource.org/licenses/MIT)
|
|
107
106
|
|
|
108
107
|
Production-ready shared Python utilities for AWS Lambda functions, CLI tools, and agents. Provides standardized integrations for Slack, Elasticsearch, database, and monitoring. Built and battle-tested on the NUI platform with sensible defaults configurable for any environment.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
nui_python_shared_utils-2.4.dist-info/licenses/LICENSE,sha256=vGe2mC5yLUb8toYlY3T36ZwCB5zQUW5hlCtEMiqokhM,1071
|
|
1
|
+
nui_python_shared_utils-2.4.1.dist-info/licenses/LICENSE,sha256=vGe2mC5yLUb8toYlY3T36ZwCB5zQUW5hlCtEMiqokhM,1071
|
|
2
2
|
nui_shared_utils/__init__.py,sha256=wbm10x7THNbrCBGClWiWSVkTNxcBKcHZ-HjYpRQBFrk,13354
|
|
3
3
|
nui_shared_utils/base_client.py,sha256=I1lKQGhrKyvujV2zps0TrtEdPDqMCwRQaIh6ceGONXQ,11016
|
|
4
4
|
nui_shared_utils/cli.py,sha256=JJpSoQWKvAz4b8cO30yFNi5vY9jmqrCHzbFpvrVTkbU,8747
|
|
@@ -17,18 +17,18 @@ nui_shared_utils/secrets_helper.py,sha256=_jQkMWzjayZ8vvyHG2yuuxur-SQYUUONfcsZ0M
|
|
|
17
17
|
nui_shared_utils/slack_client.py,sha256=jvkLeBMA8WHOqdRzCEpG42FfBlMeWue8bZ1g1ZxF-UI,40304
|
|
18
18
|
nui_shared_utils/slack_formatter.py,sha256=QT9VXApE0q09n_PmEVvaLCSfLW24vmowlCXF3Dzimfk,10850
|
|
19
19
|
nui_shared_utils/snowflake_client.py,sha256=e3jH6_2mMqbtP1TE8-mUFFYrfGW9eqUPT5tlcgeCqx8,16181
|
|
20
|
-
nui_shared_utils/timezone.py,sha256=
|
|
20
|
+
nui_shared_utils/timezone.py,sha256=m-Ilx9FI2Bwv-GZOZy71N_S94g26UK68jP8QEEKNw74,3867
|
|
21
21
|
nui_shared_utils/utils.py,sha256=gOpw80tZGC24QsyesR8EySRODY-TFXG8cXUvggPBsRI,8184
|
|
22
22
|
nui_shared_utils/logging/__init__.py,sha256=gVC853q3ja4RhcBVbf5jKO10lFX4upfsTvkKZx4wu54,1805
|
|
23
|
-
nui_shared_utils/logging/binding.py,sha256=
|
|
23
|
+
nui_shared_utils/logging/binding.py,sha256=FJhC2RjzhTczWz43Bk1HiQGsorSVFVHvmNmPhbwlW78,13495
|
|
24
24
|
nui_shared_utils/logging/fields.py,sha256=7jhBdyEXAJod61aKPCk68idECTAV-_BNjiABp9IRFZo,11194
|
|
25
25
|
nui_shared_utils/logging/redaction.py,sha256=t-EtNhR1nK6IOae70GnieHxn_36_jYuuta32T1dMlP8,6928
|
|
26
26
|
nui_shared_utils/slack_setup/__init__.py,sha256=OElyS3xk4F_YKH5uUUTDpN0ah1dOO3e52muIPjAMPW8,320
|
|
27
27
|
nui_shared_utils/slack_setup/channel_creator.py,sha256=0gyCBIS0EC96SVn1Z2dD4Fpzk0xNdHSWyiCxoUQIUe8,10667
|
|
28
28
|
nui_shared_utils/slack_setup/channel_definitions.py,sha256=atfz5ZhpqefOeLh1gShbWd-TLzgjPmhv95bfuTdmZog,5676
|
|
29
29
|
nui_shared_utils/slack_setup/setup_helpers.py,sha256=pzzXMs12GI9sdZttWeYzgLPgC0xqPz7ZLHM1GUPNNXc,7219
|
|
30
|
-
nui_python_shared_utils-2.4.dist-info/METADATA,sha256=
|
|
31
|
-
nui_python_shared_utils-2.4.dist-info/WHEEL,sha256=
|
|
32
|
-
nui_python_shared_utils-2.4.dist-info/entry_points.txt,sha256=TrJ3Z4kz3oXfy6InXn20jHu7rnTwo-4EA0KRFX3fkL0,66
|
|
33
|
-
nui_python_shared_utils-2.4.dist-info/top_level.txt,sha256=YMRu5cnn3hxHoYq9wNvaI9atVHnTNVdswO5_cQSfnJI,17
|
|
34
|
-
nui_python_shared_utils-2.4.dist-info/RECORD,,
|
|
30
|
+
nui_python_shared_utils-2.4.1.dist-info/METADATA,sha256=YIXzCX1TeKM2_D2zeukX6RcBLtszwORIH2_hc8O5gUM,22643
|
|
31
|
+
nui_python_shared_utils-2.4.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
32
|
+
nui_python_shared_utils-2.4.1.dist-info/entry_points.txt,sha256=TrJ3Z4kz3oXfy6InXn20jHu7rnTwo-4EA0KRFX3fkL0,66
|
|
33
|
+
nui_python_shared_utils-2.4.1.dist-info/top_level.txt,sha256=YMRu5cnn3hxHoYq9wNvaI9atVHnTNVdswO5_cQSfnJI,17
|
|
34
|
+
nui_python_shared_utils-2.4.1.dist-info/RECORD,,
|
|
@@ -306,7 +306,6 @@ def log_exception(binder: Any, exc: BaseException, message: str) -> None:
|
|
|
306
306
|
extra={
|
|
307
307
|
F.ERROR_TYPE: type(exc).__name__,
|
|
308
308
|
F.ERROR_MESSAGE: str(exc),
|
|
309
|
-
# 3-arg form for Python 3.9 compatibility (single-arg added in 3.10).
|
|
310
309
|
F.ERROR_STACK: "".join(traceback.format_exception(type(exc), exc, exc.__traceback__)),
|
|
311
310
|
},
|
|
312
311
|
)
|
nui_shared_utils/timezone.py
CHANGED
|
@@ -13,8 +13,8 @@ from zoneinfo import ZoneInfo
|
|
|
13
13
|
# Supported timezones
|
|
14
14
|
NZ_TZ = ZoneInfo("Pacific/Auckland") # Primary timezone
|
|
15
15
|
AUS_TZ = ZoneInfo("Australia/Sydney")
|
|
16
|
-
US_EAST_TZ = ZoneInfo("
|
|
17
|
-
US_WEST_TZ = ZoneInfo("
|
|
16
|
+
US_EAST_TZ = ZoneInfo("America/New_York")
|
|
17
|
+
US_WEST_TZ = ZoneInfo("America/Los_Angeles")
|
|
18
18
|
EUR_TZ = ZoneInfo("Europe/London")
|
|
19
19
|
|
|
20
20
|
|
|
@@ -115,7 +115,7 @@ def get_timezone_options() -> List[Tuple[str, str]]:
|
|
|
115
115
|
return [
|
|
116
116
|
("nz", "New Zealand (Pacific/Auckland)"),
|
|
117
117
|
("aus", "Australia (Australia/Sydney)"),
|
|
118
|
-
("us_east", "US Eastern (
|
|
119
|
-
("us_west", "US Pacific (
|
|
118
|
+
("us_east", "US Eastern (America/New_York)"),
|
|
119
|
+
("us_west", "US Pacific (America/Los_Angeles)"),
|
|
120
120
|
("eur", "Europe (Europe/London)"),
|
|
121
121
|
]
|
{nui_python_shared_utils-2.4.dist-info → nui_python_shared_utils-2.4.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{nui_python_shared_utils-2.4.dist-info → nui_python_shared_utils-2.4.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{nui_python_shared_utils-2.4.dist-info → nui_python_shared_utils-2.4.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|