ezKit 1.7.2__tar.gz → 1.7.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ezKit
3
- Version: 1.7.2
3
+ Version: 1.7.4
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ezKit
3
- Version: 1.7.2
3
+ Version: 1.7.4
4
4
  Summary: Easy Kit
5
5
  Author: septvean
6
6
  Author-email: septvean@gmail.com
@@ -3,13 +3,13 @@ from setuptools import find_packages, setup
3
3
 
4
4
  setup(
5
5
  name='ezKit',
6
- version='1.7.2',
6
+ version='1.7.4',
7
7
  author='septvean',
8
8
  author_email='septvean@gmail.com',
9
9
  description='Easy Kit',
10
10
  packages=find_packages(exclude=['documents', 'tests']),
11
11
  include_package_data=True,
12
- python_requires='>=3.11',
12
+ python_requires='>=3.11'
13
13
  # install_requires=[
14
14
  # 'loguru>=0.7.0',
15
15
  # 'tomlkit>=0.12.0'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes