py2ls 0.1.7.2__py3-none-any.whl → 0.1.7.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.
py2ls/netfinder.py
CHANGED
@@ -115,7 +115,7 @@ def extract_text_from_content(content, content_type="text/html", where=None, wha
|
|
115
115
|
if extend:
|
116
116
|
texts = ""
|
117
117
|
for tag in result_set:
|
118
|
-
texts =texts+" "+ extract_text(tag) + "\n"
|
118
|
+
texts =texts+" "+ extract_text(tag) + " \n"
|
119
119
|
text_list = [tx.strip() for tx in texts.split("\n") if tx.strip()]
|
120
120
|
return text_list
|
121
121
|
else:
|
@@ -660,7 +660,7 @@ def find_img(url, driver='request',dir_save="images", rm_folder=False, verbose=T
|
|
660
660
|
print(f"Failed to process image {image_url}: {e}")
|
661
661
|
print(f"images were saved at\n{dir_save}")
|
662
662
|
if verbose:
|
663
|
-
display_thumbnail_figure(flist(dir_save,
|
663
|
+
display_thumbnail_figure(flist(dir_save,kind='img'),dpi=100)
|
664
664
|
return content
|
665
665
|
|
666
666
|
def svg_to_png(svg_file):
|
@@ -1071,7 +1071,7 @@ def flist(fpath, kind="all"):
|
|
1071
1071
|
filt_files=[]
|
1072
1072
|
for kind_ in kind:
|
1073
1073
|
if isa(f, kind_):
|
1074
|
-
filt_files.extend(flist(fpath, kind_))
|
1074
|
+
filt_files.extend(flist(fpath, kind=kind_))
|
1075
1075
|
return filt_files
|
1076
1076
|
|
1077
1077
|
def isa(fpath, kind='img'):
|
@@ -135,13 +135,13 @@ py2ls/doc.py,sha256=xN3g1OWfoaGUhikbJ0NqbN5eKy1VZVvWwRlhHMgyVEc,4243
|
|
135
135
|
py2ls/export_requirements.py,sha256=x2WgUF0jYKz9GfA1MVKN-MdsM-oQ8yUeC6Ua8oCymio,2325
|
136
136
|
py2ls/freqanalysis.py,sha256=F4218VSPbgL5tnngh6xNCYuNnfR-F_QjECUUxrPYZss,32594
|
137
137
|
py2ls/ips.py,sha256=KkrkGAF0VQ-N0rH4FQFLyP-C-skY6EPpeO8t_5RngWw,88519
|
138
|
-
py2ls/netfinder.py,sha256=
|
138
|
+
py2ls/netfinder.py,sha256=rUx8e67AQvTcnClik2BAcml4vI_9GjC5Yg_PJknfznw,47111
|
139
139
|
py2ls/plot.py,sha256=8_33-1wpkGZrDUuvRBfTPUi_BRKdf1njoR725OLSLSY,48579
|
140
140
|
py2ls/setuptools-70.1.0-py3-none-any.whl,sha256=2bi3cUVal8ip86s0SOvgspteEF8SKLukECi-EWmFomc,882588
|
141
141
|
py2ls/sleep_events_detectors.py,sha256=36MCuRrpurn0Uvzpo3p3b3_JlVsRNHSWCXbJxCGM3mg,51546
|
142
142
|
py2ls/stats.py,sha256=Wd9yCKQ_61QD29WMEgMuEcreFxF91NmlPW65iWT2B5w,39041
|
143
143
|
py2ls/translator.py,sha256=bc5FB-wqC4TtQz9gyCP1mE38HqNRJ_pmuRIgKnAlMzM,30581
|
144
144
|
py2ls/wb_detector.py,sha256=7y6TmBUj9exCZeIgBAJ_9hwuhkDh1x_-yg4dvNY1_GQ,6284
|
145
|
-
py2ls-0.1.7.
|
146
|
-
py2ls-0.1.7.
|
147
|
-
py2ls-0.1.7.
|
145
|
+
py2ls-0.1.7.3.dist-info/METADATA,sha256=-0kUkmru6K5NSNfPSbo-JyljxMb5tex2UZELDpb3VP8,20017
|
146
|
+
py2ls-0.1.7.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
147
|
+
py2ls-0.1.7.3.dist-info/RECORD,,
|
File without changes
|