ezKit 1.7.3__py3-none-any.whl → 1.7.4__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.
ezKit/utils.py CHANGED
@@ -8,6 +8,7 @@ import json
8
8
  import os
9
9
  import subprocess
10
10
  import time
11
+ import tomllib
11
12
  from copy import deepcopy
12
13
  from multiprocessing import Pool, Process
13
14
  from multiprocessing.pool import ThreadPool
@@ -19,7 +20,6 @@ from urllib.parse import ParseResult, urlparse
19
20
  from uuid import uuid4
20
21
 
21
22
  from loguru import logger
22
- from tomlkit import load as toml_load
23
23
 
24
24
  # --------------------------------------------------------------------------------------------------
25
25
 
@@ -1516,7 +1516,7 @@ def load_toml_file(
1516
1516
  if v_true(debug, bool):
1517
1517
  logger.info(f'{info}[执行]')
1518
1518
  with open(file, "rb") as _file:
1519
- config = toml_load(_file)
1519
+ config = tomllib.load(_file)
1520
1520
  if v_true(debug, bool):
1521
1521
  logger.success(f'{info}[成功]')
1522
1522
  return config
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ezKit
3
- Version: 1.7.3
3
+ Version: 1.7.4
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
7
- Requires-Python: >=3.10
7
+ Requires-Python: >=3.11
8
8
  License-File: LICENSE
@@ -12,11 +12,11 @@ ezKit/redis.py,sha256=pY4SPlcgQ7S8IeY2xoDpxy-xCZxzZQrQJNAoWRsC1dI,1773
12
12
  ezKit/reports.py,sha256=dBBggggCCLuk5YD6SjdUPuxTr3wiJojP3lA7dQfg6Pk,8898
13
13
  ezKit/sendemail.py,sha256=AAdxBvEYN_AJVvBkSAvXzhXC5jkbRsD_8P51h2SdTRw,8413
14
14
  ezKit/token.py,sha256=4L6A26KsxvB4WfF8R7SYiBmihJK0PiN5Oh7dgDVJtxU,1382
15
- ezKit/utils.py,sha256=VkZzKy_jupr25Axa5I0juMsm1XiaimyiPoSITA91jcg,47826
15
+ ezKit/utils.py,sha256=W8RqgNvN9VIhqaD0vuMZkXwISEuVh6_L95P2YyJ-TR0,47806
16
16
  ezKit/xftp.py,sha256=qbCqFcGe22TDBSisj0Zoz78tnydDWoOfvywWpXdfaGw,6982
17
17
  ezKit/zabbix.py,sha256=soM5UEeYMfm7NczbPOVLirmHm3G20dECQ0aCBttZfhQ,28350
18
- ezKit-1.7.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
19
- ezKit-1.7.3.dist-info/METADATA,sha256=KisYwblMheFnzhCtB9WvgESi3-Z8VsnZ8jJPrw1swGQ,163
20
- ezKit-1.7.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
21
- ezKit-1.7.3.dist-info/top_level.txt,sha256=aYLB_1WODsqNTsTFWcKP-BN0KCTKcV-HZJ4zlHkCFw8,6
22
- ezKit-1.7.3.dist-info/RECORD,,
18
+ ezKit-1.7.4.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
19
+ ezKit-1.7.4.dist-info/METADATA,sha256=7AeW0LIvB6RBv2nDDuzCkTU13GJUW_Pqcqg6pSxJxio,163
20
+ ezKit-1.7.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
21
+ ezKit-1.7.4.dist-info/top_level.txt,sha256=aYLB_1WODsqNTsTFWcKP-BN0KCTKcV-HZJ4zlHkCFw8,6
22
+ ezKit-1.7.4.dist-info/RECORD,,
File without changes
File without changes