kevin-toolbox-dev 1.4.1__py3-none-any.whl → 1.4.2__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.
- kevin_toolbox/__init__.py +2 -2
- kevin_toolbox/patches/for_streamlit/markdown/show_table.py +1 -1
- {kevin_toolbox_dev-1.4.1.dist-info → kevin_toolbox_dev-1.4.2.dist-info}/METADATA +4 -13
- {kevin_toolbox_dev-1.4.1.dist-info → kevin_toolbox_dev-1.4.2.dist-info}/RECORD +6 -6
- {kevin_toolbox_dev-1.4.1.dist-info → kevin_toolbox_dev-1.4.2.dist-info}/WHEEL +0 -0
- {kevin_toolbox_dev-1.4.1.dist-info → kevin_toolbox_dev-1.4.2.dist-info}/top_level.txt +0 -0
kevin_toolbox/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "1.4.
|
1
|
+
__version__ = "1.4.2"
|
2
2
|
|
3
3
|
|
4
4
|
import os
|
@@ -12,5 +12,5 @@ os.system(
|
|
12
12
|
os.system(
|
13
13
|
f'python {os.path.split(__file__)[0]}/env_info/check_validity_and_uninstall.py '
|
14
14
|
f'--package_name kevin-toolbox-dev '
|
15
|
-
f'--expiration_timestamp
|
15
|
+
f'--expiration_timestamp 1742652267 --verbose 0'
|
16
16
|
)
|
@@ -53,7 +53,7 @@ def show_table(text, doc_dir=None, display_mode_s=None):
|
|
53
53
|
method(text=part, matrix=table_s["matrix"], doc_dir=doc_dir, table_name=f'Table {idx}')
|
54
54
|
else:
|
55
55
|
# 是表格,且内部无图片,则直接显示
|
56
|
-
show_image(text=part, doc_dir=
|
56
|
+
show_image(text=part, doc_dir=doc_dir)
|
57
57
|
|
58
58
|
# 另一种显示表格的方式是通过 data_editor 来显示,但是对图片的显示效果不好
|
59
59
|
# TODO 可以选择是通过 data_editor 还是 columns,或者原始格式(对本地图片不处理或者使用 base64 代替)来显示表格
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: kevin-toolbox-dev
|
3
|
-
Version: 1.4.
|
3
|
+
Version: 1.4.2
|
4
4
|
Summary: 一个常用的工具代码包集合
|
5
5
|
Home-page: https://github.com/cantbeblank96/kevin_toolbox
|
6
6
|
Download-URL: https://github.com/username/your-package/archive/refs/tags/v1.0.0.tar.gz
|
@@ -51,17 +51,8 @@ pip install kevin-toolbox --no-dependencies
|
|
51
51
|
|
52
52
|
[版本更新记录](./notes/Release_Record.md):
|
53
53
|
|
54
|
-
- v 1.4.
|
55
|
-
- patches
|
56
|
-
-
|
57
|
-
- 【bug fix】fix bug in show_table(),将原来的使用 st.expander 去包裹表格,改为使用 st.tabs 去包裹表格,避免在 streamlit<=1.38.0 下(截止2024-09-23最新版本),因为 st.expander 嵌套使用而造成的报错。具体参看:https://docs.streamlit.io/develop/api-reference/layout/st.expander
|
58
|
-
- 【bug fix】fix bug in show_table(),修复在 line 56 和 line 25 中对 show_image() 和 st.markdown 的函数参数写错,导致在显示无图表格时反而报错的问题。
|
59
|
-
- 增加了测试用例。
|
60
|
-
|
61
|
-
- for_matplotlib.common_charts
|
62
|
-
- 【new feature】 add para replace_zero_division_with to plot_confusion_matrix(),新增参数 replace_zero_division_with 用于指定在normalize时引发除0错误的矩阵元素要使用何种值进行替代。
|
63
|
-
- 增加了测试用例。
|
64
|
-
|
65
|
-
|
54
|
+
- v 1.4.2 (2024-09-23)【bug fix】
|
55
|
+
- patches.for_streamlit.markdown
|
56
|
+
- 【bug fix】fix bug in show_table(),line 56 typo。
|
66
57
|
|
67
58
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
kevin_toolbox/__init__.py,sha256=
|
1
|
+
kevin_toolbox/__init__.py,sha256=tjqb-s4WQXgWSqjDzizy9JE2ohYzD8NPYKPfprlUa4k,410
|
2
2
|
kevin_toolbox/computer_science/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
kevin_toolbox/computer_science/algorithm/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
4
4
|
kevin_toolbox/computer_science/algorithm/cache_manager/__init__.py,sha256=p2hddkZ1HfYF9-m2Hx-o9IotwQHd4QwDCePy2ADpTDA,41
|
@@ -324,7 +324,7 @@ kevin_toolbox/patches/for_streamlit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
|
|
324
324
|
kevin_toolbox/patches/for_streamlit/markdown/__init__.py,sha256=ZWNRNA7yn3LD_YMjBuUHrXcxDcG4iswIZtCJVCnRVB0,93
|
325
325
|
kevin_toolbox/patches/for_streamlit/markdown/show.py,sha256=uSkArSUv8N05TFWsIpXa8f15uhN1Lpm0ZHZst_IytgY,327
|
326
326
|
kevin_toolbox/patches/for_streamlit/markdown/show_image.py,sha256=8njiSDiPWWRNwevvpgipxZS3My7bGHp9j0dxLiut_x8,1546
|
327
|
-
kevin_toolbox/patches/for_streamlit/markdown/show_table.py,sha256=
|
327
|
+
kevin_toolbox/patches/for_streamlit/markdown/show_table.py,sha256=4Nv4SYGwLDi9txlUDSZ2B9uWrtvGhcbphIVfdqcSBN8,3254
|
328
328
|
kevin_toolbox/patches/for_test/__init__.py,sha256=sFr2VZD1zk8Vtjq2_F8uE4xNovJF6yDY8j1YND5XAw0,49
|
329
329
|
kevin_toolbox/patches/for_test/check_consistency.py,sha256=cerf4NywkvWYMvuJUjimfRRVU7D9vL30jTAX0NxxRoM,9422
|
330
330
|
kevin_toolbox/patches/for_torch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -342,7 +342,7 @@ kevin_toolbox/patches/for_torch/math/get_y_at_x.py,sha256=bfoVcasZ_tMdhR_1Me0Jli
|
|
342
342
|
kevin_toolbox/patches/for_torch/math/my_around.py,sha256=ptpU3ids50gwf663EpHbw7raj9tNrDGBFZ5t_uMNH14,1378
|
343
343
|
kevin_toolbox/patches/for_torch/nn/__init__.py,sha256=aJs3RMqRzQmd8KKDmQW9FxwCqS5yfPqEdg-m0PwlQro,39
|
344
344
|
kevin_toolbox/patches/for_torch/nn/lambda_layer.py,sha256=KUuLiX_Dr4bvRmpAaCW5QTDWDcnMPRnw0jg4NNXTFhM,223
|
345
|
-
kevin_toolbox_dev-1.4.
|
346
|
-
kevin_toolbox_dev-1.4.
|
347
|
-
kevin_toolbox_dev-1.4.
|
348
|
-
kevin_toolbox_dev-1.4.
|
345
|
+
kevin_toolbox_dev-1.4.2.dist-info/METADATA,sha256=9RegVoPtEcZ8XLpxShCiJsg0vsbqvXJlrPCKX02b7IA,1415
|
346
|
+
kevin_toolbox_dev-1.4.2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
347
|
+
kevin_toolbox_dev-1.4.2.dist-info/top_level.txt,sha256=S5TeRGF-PwlhsaUEPTI-f2vWrpLmh3axpyI6v-Fi75o,14
|
348
|
+
kevin_toolbox_dev-1.4.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|