pyeasyphd 0.0.2__py3-none-any.whl → 0.0.3__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.

Potentially problematic release.


This version of pyeasyphd might be problematic. Click here for more details.

@@ -1,6 +1,7 @@
1
1
  {
2
2
  // config
3
3
  // config path
4
+ // Must be configured by the user.
4
5
  "path_config": "",
5
6
 
6
7
  // figures, templates, bibs
@@ -8,27 +9,27 @@
8
9
  "path_figures": "",
9
10
  "path_templates": "",
10
11
 
11
- // pypapers/bib/core/convert_str_to_str.py
12
+ // pyeasyphd/bib/core/convert_str_to_str.py
12
13
  "default_additional_field_list": [],
13
14
 
14
- // pypapers/bib/bibtexparser/middlewares_str_to_str.py
15
+ // pyeasyphd/bib/bibtexparser/middlewares_str_to_str.py
15
16
  "substitute_in_bib": true,
16
17
  "substitute_old_list": [],
17
18
  "substitute_new_list": [],
18
19
 
19
20
 
20
- // pypapers/bib/core/convert_str_to_library.py
21
+ // pyeasyphd/bib/core/convert_str_to_library.py
21
22
  "is_standardize_bib": true,
22
23
 
23
- // pypapers/bib/bibtexparser/middlewares_str_to_library.py
24
+ // pyeasyphd/bib/bibtexparser/middlewares_str_to_library.py
24
25
  "is_display_implicit_comments": true,
25
26
 
26
27
 
27
- // pypapers/bib/core/convert_library_to_library.py
28
+ // pyeasyphd/bib/core/convert_library_to_library.py
28
29
  // "abbr", "zotero", or "save"
29
30
  "choose_abbr_zotero_save": "save",
30
31
 
31
- // pypapers/bib/bibtexparser/middlewares_library_to_library.py
32
+ // pyeasyphd/bib/bibtexparser/middlewares_library_to_library.py
32
33
  "function_common_again": true,
33
34
  "function_common_again_abbr": true,
34
35
  "function_common_again_zotero": true,
@@ -134,13 +135,13 @@
134
135
  "delete_fields_list_for_save": [],
135
136
 
136
137
 
137
- // pypapers/bib/core/convert_library_to_str.py
138
+ // pyeasyphd/bib/core/convert_library_to_str.py
138
139
  "is_standardize_library": false,
139
140
  "empty_entry_cite_keys": false,
140
141
  "add_index_to_entries": false,
141
142
  "entries_necessary": true,
142
143
 
143
- // pypapers/bib/bibtexparser/middlewares_library_to_str.py
144
+ // pyeasyphd/bib/bibtexparser/middlewares_library_to_str.py
144
145
  "is_sort_entry_fields": true,
145
146
  "is_sort_blocks": true,
146
147
  "sort_entries_by_cite_keys": [],
@@ -148,7 +149,7 @@
148
149
  "sort_entries_by_field_keys_reverse": true,
149
150
 
150
151
 
151
- // pypapers/main/pandoc_md_to.py
152
+ // pyeasyphd/main/pandoc_md_to.py
152
153
  // for pandoc
153
154
  "csl_name": "apa-no-ampersand",
154
155
  // the number of columns in md files
@@ -160,7 +161,7 @@
160
161
  "cite_flag_in_tex": "cite",
161
162
 
162
163
  // for bib file
163
- // pypapers/main/python_writers.py
164
+ // pyeasyphd/main/python_writers.py
164
165
  // "abbr.bib", "zotero.bib", "save.bib"
165
166
  "bib_for_abbr_name": "abbr.bib",
166
167
  "bib_for_zotero_name": "zotero.bib",
@@ -174,7 +175,7 @@
174
175
  "bibtex_format_block_separator": "",
175
176
 
176
177
  // for md file
177
- // pypapers/main/python_run_md.py
178
+ // pyeasyphd/main/python_run_md.py
178
179
  // default is ""
179
180
  "final_output_main_md_name": "",
180
181
  // true, false
@@ -191,7 +192,7 @@
191
192
  "display_basic_beauty_complex_references_in_md": "beauty",
192
193
 
193
194
  // for tex file
194
- // pypapers/main/python_run_tex.py
195
+ // pyeasyphd/main/python_run_tex.py
195
196
  // handly preamble
196
197
  "handly_preamble": false,
197
198
 
@@ -208,7 +209,7 @@
208
209
  ".nav", ".snm", ".toc", ".xdv"
209
210
  ],
210
211
 
211
- // pypapers/tools/python_run_latex_md.py
212
+ // pyeasyphd/tools/python_run_latex_md.py
212
213
  // true, false
213
214
  "generate_html": false,
214
215
 
@@ -229,7 +230,7 @@
229
230
  "delete_original_tex_in_output_folder": false,
230
231
  "delete_original_bib_in_output_folder": false,
231
232
 
232
- // pypapers/pypapers.py
233
+ // pyeasyphd/pyeasyphd.py
233
234
  // default is the same with the active file
234
235
  "path_output": "",
235
236
  }
@@ -1,6 +1,7 @@
1
1
  import copy
2
2
  import os
3
3
  import re
4
+ from pathlib import Path
4
5
  from typing import Any, Dict, List
5
6
 
6
7
  from pyadvtools import (
@@ -214,11 +215,11 @@ class Searchkeywords(object):
214
215
  data_list.append(f"<td>{name}</td>\n")
215
216
 
216
217
  for f in data_dict[name]:
218
+ folders = Path(f).parts[1:]
217
219
  if index == "combine":
218
- data_list.append(x.format(f, f.split("-")[0].split("/")[-1].title() + ":" + f.split(".")[-1]))
220
+ data_list.append(x.format(f, folders[-1].split("-")[0].title() + ":" + f.split(".")[-1]))
219
221
  elif index == "separate":
220
- data_list.append(x.format(f, f.split("/")[-2].split("-")[0].title() + ":" + f.split(".")[-1]))
221
-
222
+ data_list.append(x.format(f, folders[-2].split("-")[0].title() + ":" + f.split(".")[-1]))
222
223
  data_list.append("</tr>\n")
223
224
  data_list.append("</tbody>\n")
224
225
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyeasyphd
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: pyeasyphd
5
5
  License: GPL-3.0-or-later
6
6
  Keywords: Python,Markdown,LaTex
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.11
17
17
  Classifier: Programming Language :: Python :: 3.12
18
18
  Classifier: Programming Language :: Python :: 3.13
19
19
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
- Requires-Dist: pyadvtools (>=0.0.3,<0.0.4)
20
+ Requires-Dist: pyadvtools (>=0.0.5,<0.0.6)
21
21
  Project-URL: Documentation, https://github.com/NextArtifIntell/pyeasyphd
22
22
  Project-URL: Homepage, https://github.com/NextArtifIntell/pyeasyphd
23
23
  Project-URL: Repository, https://github.com/NextArtifIntell/pyeasyphd
@@ -55,7 +55,7 @@ pyeasyphd/main/python_run_md.py,sha256=6K4zqYtl298-iS1XVGH4jY9FkDD9ezwpGfZk0NIgk
55
55
  pyeasyphd/main/python_run_tex.py,sha256=LQirSh_5Mv5t-SdAtV5Ge2aCTTkvaPNAloFTH6hkzCI,5691
56
56
  pyeasyphd/main/python_writers.py,sha256=VQpaAbdNNa1s327ADgl8Wy-rKBZy1alqmtmx6E3RDWI,8510
57
57
  pyeasyphd/pyeasyphd.py,sha256=vPM4uPmr6jSxVOy0zYetoijc8wUkQdXExUVdJyWynVQ,2875
58
- pyeasyphd/pyeasyphd.sublime-settings,sha256=ZtclkJnOoZUmCLhWWsEDu3eiHyHv1JGP7g6gOMG6yEY,8664
58
+ pyeasyphd/pyeasyphd.sublime-settings,sha256=6D5SYWsG6xn8OEu6IchIDGGGH7uLX4v451X28yeAevU,8718
59
59
  pyeasyphd/pyeasyphd.sublime-syntax,sha256=pXylbA-tye-K5dCTjEJLFVRqtY1T7AgWZ4laxo-dnaE,73
60
60
  pyeasyphd/tools/__init__.py,sha256=4l2e19MWmVrAvIH3IOA7v1EPaaBBvuq1UbXhmd6_bts,1041
61
61
  pyeasyphd/tools/compare/compare_bibs.py,sha256=QZlqVHbF133nnZZpzDa6jYlkHnai_x7kqgq62hpIzw0,10156
@@ -68,13 +68,13 @@ pyeasyphd/tools/replace/replace.py,sha256=wXdO72PpqZ-Iyzq5AjVCIpx8h2d1YCTiWY9VSb
68
68
  pyeasyphd/tools/search/data.py,sha256=7uHXfHTcn88zkfqAGZMNcSd2OjS2LhkpE9paNuSUUqw,10754
69
69
  pyeasyphd/tools/search/search_base.py,sha256=Q8IWqVLk-rGZwRZ316WkZNs0qyF7PVHP6lx6Ul5mLKI,4507
70
70
  pyeasyphd/tools/search/search_core.py,sha256=16nVB2j3mtrTxUJKgtYg65ux6bI81ofTHn1IAB3twPc,13783
71
- pyeasyphd/tools/search/search_keywords.py,sha256=mNlwLWSgi19KiErCb5IB433L96sBWVFWgjd5IO_GQuU,10372
71
+ pyeasyphd/tools/search/search_keywords.py,sha256=O_ivQzElsjujTHqU0Sxw4w4v3VwcN560HcoBhS1B3WA,10430
72
72
  pyeasyphd/tools/search/search_writers.py,sha256=TuQGm9QwHy0bZHNtO_qg-MYEcip_rUPfwHyvPKO-sEg,12551
73
73
  pyeasyphd/tools/search/utils.py,sha256=yLKrMmM2x-fHdm6P8haFZzagd9sLkViTdwJTHyGRgXY,6092
74
74
  pyeasyphd/tools/spider/process_spider_bib.py,sha256=p1UNUaLAxMZPYtuwjNi20e1ms--cyjlB7CIZFP3SX6U,10443
75
75
  pyeasyphd/tools/spider/process_spider_url.py,sha256=YKG4GER5TiFDjyk94n1ocUQ8bM7ZvXImx0lKNvnyVC4,2970
76
76
  pyeasyphd/tools/spider/process_spider_url_bib.py,sha256=1b0FnUlTt5BzaOqFZJmnY5gnAhdD4pbQolHR1e3wiyE,2705
77
77
  pyeasyphd/utils/utils.py,sha256=yuHy6D2mTsd2aAwNBSMC7CU4LV-MkWwzKeO_0Iehbyg,1655
78
- pyeasyphd-0.0.2.dist-info/METADATA,sha256=pK0O12eHXWGFLRBzOsmyxyd4hXmjVjGBT9j-I1D-blg,1043
79
- pyeasyphd-0.0.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
80
- pyeasyphd-0.0.2.dist-info/RECORD,,
78
+ pyeasyphd-0.0.3.dist-info/METADATA,sha256=kdJqcjdJmco0oqwtJJGkTAhThc5va21YIm58E6XYGzM,1043
79
+ pyeasyphd-0.0.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
80
+ pyeasyphd-0.0.3.dist-info/RECORD,,