Luci-Code-Tools 2.1.4__tar.gz → 2.1.5__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.
Potentially problematic release.
This version of Luci-Code-Tools might be problematic. Click here for more details.
- {luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/Luci_Code_Tools.egg-info/PKG-INFO +2 -2
- {luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/Luci_code_tools.py +2 -2
- {luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/PKG-INFO +2 -2
- {luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/setup.py +3 -3
- {luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/LICENCE +0 -0
- {luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/Luci_Code_Tools.egg-info/SOURCES.txt +0 -0
- {luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/Luci_Code_Tools.egg-info/dependency_links.txt +0 -0
- {luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/Luci_Code_Tools.egg-info/top_level.txt +0 -0
- {luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/README.md +0 -0
- {luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/setup.cfg +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Luci-Code-Tools
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.5
|
|
4
4
|
Summary: 一个简单的工具库 / A Eazy Tools Module
|
|
5
|
-
Home-page: https://github.com/Luci-
|
|
5
|
+
Home-page: https://github.com/Luci-Code-2014
|
|
6
6
|
Author: Luci_Code
|
|
7
7
|
Author-email: 3967742419@qq.com
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -7,7 +7,7 @@ import os
|
|
|
7
7
|
if os.name == "nt": # 系统名称 = "nt" 为 Windows
|
|
8
8
|
os.system("") # 激活 win10 / win7 的终端彩色显示功能
|
|
9
9
|
|
|
10
|
-
__version__ = "2.1.
|
|
10
|
+
__version__ = "2.1.5" # 明确版本号
|
|
11
11
|
__all__ = [
|
|
12
12
|
'color', 'color_rgb', 'clear_screen',
|
|
13
13
|
'safe_input', 'safe_int', 'safe_float'
|
|
@@ -208,7 +208,7 @@ def _safe_try_except(prompt, input_type = True, convert_func=None, text_color=No
|
|
|
208
208
|
def safe_input(prompt, text_color=None, bg_color=None, mode=0) -> str:
|
|
209
209
|
return _safe_try_except(prompt, True, None, text_color, bg_color, mode)
|
|
210
210
|
|
|
211
|
-
def _safe_number(prompt, convert_func, text_color=None, bg_color=None, mode=0):
|
|
211
|
+
def _safe_number(prompt, convert_func, text_color=None, bg_color=None, mode=0) -> Union[int, float]:
|
|
212
212
|
return _safe_try_except(prompt, False, convert_func, text_color, bg_color, mode)
|
|
213
213
|
|
|
214
214
|
def safe_int(prompt: str, text_color: Optional[int] = None, bg_color: Optional[int] = None, mode: int = 0) -> int:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Luci-Code-Tools
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.5
|
|
4
4
|
Summary: 一个简单的工具库 / A Eazy Tools Module
|
|
5
|
-
Home-page: https://github.com/Luci-
|
|
5
|
+
Home-page: https://github.com/Luci-Code-2014
|
|
6
6
|
Author: Luci_Code
|
|
7
7
|
Author-email: 3967742419@qq.com
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -5,17 +5,17 @@ with open("README.md", "r", encoding="utf-8") as f:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="Luci-Code-Tools",
|
|
8
|
-
version="2.1.
|
|
8
|
+
version="2.1.5",
|
|
9
9
|
author="Luci_Code",
|
|
10
10
|
author_email="3967742419@qq.com",
|
|
11
11
|
description="一个简单的工具库 / A Eazy Tools Module",
|
|
12
12
|
long_description=long_description,
|
|
13
13
|
long_description_content_type="text/markdown",
|
|
14
|
-
url="https://github.com/Luci-
|
|
14
|
+
url="https://github.com/Luci-Code-2014",
|
|
15
15
|
py_modules=["Luci_code_tools"],
|
|
16
16
|
classifiers=[
|
|
17
17
|
"Programming Language :: Python :: 3",
|
|
18
18
|
"License :: OSI Approved :: MIT License",
|
|
19
19
|
],
|
|
20
|
-
python_requires=">=3.6"
|
|
20
|
+
python_requires=">=3.6"
|
|
21
21
|
)
|
|
File without changes
|
|
File without changes
|
{luci_code_tools-2.1.4 → luci_code_tools-2.1.5}/Luci_Code_Tools.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|