siat 3.11.1__py3-none-any.whl → 3.11.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.
- siat/save2docx.py +2 -0
- siat/save2pdf.py +2 -0
- {siat-3.11.1.dist-info → siat-3.11.2.dist-info}/METADATA +2 -2
- {siat-3.11.1.dist-info → siat-3.11.2.dist-info}/RECORD +7 -7
- {siat-3.11.1.dist-info → siat-3.11.2.dist-info}/LICENSE +0 -0
- {siat-3.11.1.dist-info → siat-3.11.2.dist-info}/WHEEL +0 -0
- {siat-3.11.1.dist-info → siat-3.11.2.dist-info}/top_level.txt +0 -0
siat/save2docx.py
CHANGED
@@ -335,6 +335,8 @@ def ipynb2docx(ipynb_path, page_size="A3"):
|
|
335
335
|
print(f"Warning: {docx_path} occupied by other app, please close it and try again")
|
336
336
|
return
|
337
337
|
|
338
|
+
print(f"Converting to docx ...")
|
339
|
+
|
338
340
|
result = convert_ipynb_to_docx(ipynb_path, docx_path=None, page_size=page_size)
|
339
341
|
print(f"{result} created with TOC in {page_size} size")
|
340
342
|
print(f"However, TOC needs update manually in Microsoft Word")
|
siat/save2pdf.py
CHANGED
@@ -41,6 +41,8 @@ def ipynb2pdf(ipynb_path: str) -> str:
|
|
41
41
|
raise FileNotFoundError(f"找不到文件:{ipynb_path}")
|
42
42
|
output_pdf = ipynb_path[:-6] + ".pdf"
|
43
43
|
|
44
|
+
print(f"Converting to PDF ...")
|
45
|
+
|
44
46
|
# 1. 读 notebook → 提取目录结构
|
45
47
|
nb = nbformat.read(ipynb_path, as_version=4)
|
46
48
|
toc = _extract_toc(nb)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: siat
|
3
|
-
Version: 3.11.
|
3
|
+
Version: 3.11.2
|
4
4
|
Summary: Securities Investment Analysis Tools (siat)
|
5
5
|
Home-page: https://pypi.org/project/siat/
|
6
6
|
Author: Prof. WANG Dehong, International Business School, Beijing Foreign Studies University
|
@@ -11,7 +11,7 @@ Project-URL: Homepage, https://pypi.org/project/siat/
|
|
11
11
|
Keywords: investment,finance,technical analysis,siat
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
13
13
|
Classifier: Operating System :: OS Independent
|
14
|
-
Requires-Python:
|
14
|
+
Requires-Python: >=3.7
|
15
15
|
Description-Content-Type: text/markdown
|
16
16
|
License-File: LICENSE
|
17
17
|
Requires-Dist: pandas-datareader
|
@@ -50,8 +50,8 @@ siat/risk_adjusted_return.py,sha256=Q4ZRdTF57eNt4QCjeQ7uA8nG56Jls8f_QfJasZQEo0M,
|
|
50
50
|
siat/risk_adjusted_return2.py,sha256=gCtHhfGNlV1wHqU9gfHJ_n17wRSyTMxc7lS8jgZ-GQk,87409
|
51
51
|
siat/risk_evaluation.py,sha256=xfgLSKlIWYmRJrIL4kn2k2hp9fyOMAzYGIhi9ImvKOw,88917
|
52
52
|
siat/risk_free_rate.py,sha256=IBuRqA2kppdZsW4D4fapW7vnM5HMEXOn95A5r9Pkwlo,12384
|
53
|
-
siat/save2docx.py,sha256=
|
54
|
-
siat/save2pdf.py,sha256=
|
53
|
+
siat/save2docx.py,sha256=c43X3IGgfli4gg2VJilRaLzd_KCZX4yF_lLO2S9FvQA,12302
|
54
|
+
siat/save2pdf.py,sha256=cB1L5lH2n6RfgubCLFR7a617OGnrtT9IQhWXWGncoFs,5114
|
55
55
|
siat/sector_china.py,sha256=uLsDXdRBDVfgG6tnXWnQOTyDmyZfglVO9DRUYU2e3pk,157914
|
56
56
|
siat/security_price2.py,sha256=DDiZ2dlv_TYPLhA8-gGb9i9xrl88r4rgSMEcxqQ6aU0,28065
|
57
57
|
siat/security_prices.py,sha256=X3ip0q_m3OL3QRNRkr_lYQk-wsXLf6dWkFkyoZijhck,129368
|
@@ -73,8 +73,8 @@ siat/valuation.py,sha256=xGizcKJZ3ADLWWHm2TFQub18FxiDv2doQwBwbEqyqz0,51980
|
|
73
73
|
siat/valuation_china.py,sha256=eSKIDckyjG8QkENlW_OKkqbQHno8pzDcomBO9iGNJVM,83079
|
74
74
|
siat/var_model_validation.py,sha256=loqziBYO2p0xkeWm3Rb1rJsDhbcgAZ5aR9rBLRwLU5E,17624
|
75
75
|
siat/yf_name.py,sha256=laNKMTZ9hdenGX3IZ7G0a2RLBKEWtUQJFY9CWuk_fp8,24058
|
76
|
-
siat-3.11.
|
77
|
-
siat-3.11.
|
78
|
-
siat-3.11.
|
79
|
-
siat-3.11.
|
80
|
-
siat-3.11.
|
76
|
+
siat-3.11.2.dist-info/LICENSE,sha256=NTEMMROY9_4U1szoKC3N2BLHcDd_o5uTgqdVH8tbApw,1071
|
77
|
+
siat-3.11.2.dist-info/METADATA,sha256=Grx8mscqa3XjrFESmS2nlvTdGt_jFos7lvIeDo6lVXE,8578
|
78
|
+
siat-3.11.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
79
|
+
siat-3.11.2.dist-info/top_level.txt,sha256=X5R8wrVviq8agwJFVRVDsufkuOJuit-1qAT_kXeptrY,17
|
80
|
+
siat-3.11.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|