py2ls 0.1.7.4__py3-none-any.whl → 0.1.7.6__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
    
    | @@ -493,6 +493,7 @@ def downloader(url, dir_save=dir_save, kind=['.pdf'], contains=None, rm_folder=F | |
| 493 493 | 
             
                        new_filename = f"{base}_{counter_}{ext}"
         | 
| 494 494 | 
             
                        counter += 1
         | 
| 495 495 | 
             
                    return new_filename
         | 
| 496 | 
            +
                fpath_tmp=None
         | 
| 496 497 | 
             
                if not isinstance(kind,list):
         | 
| 497 498 | 
             
                    kind=[kind]
         | 
| 498 499 | 
             
                if isinstance(url, list):
         | 
| @@ -578,7 +579,7 @@ def downloader(url, dir_save=dir_save, kind=['.pdf'], contains=None, rm_folder=F | |
| 578 579 | 
             
                            except (ChunkedEncodingError, ConnectionError) as e:
         | 
| 579 580 | 
             
                                print(f"Attempt {itry+1} failed: {e}. Retrying in a few seconds...")
         | 
| 580 581 | 
             
                                # time.sleep(random.uniform(0, 2))  # Random sleep to mitigate server issues
         | 
| 581 | 
            -
                                if os.path.exists(fpath_tmp):
         | 
| 582 | 
            +
                                if fpath_tmp and os.path.exists(fpath_tmp):
         | 
| 582 583 | 
             
                                            os.remove(fpath_tmp)
         | 
| 583 584 | 
             
                                itry += 1
         | 
| 584 585 |  | 
| @@ -1072,7 +1073,7 @@ def flist(fpath, kind="all"): | |
| 1072 1073 | 
             
                for f in all_files:
         | 
| 1073 1074 | 
             
                    for kind_ in kind:
         | 
| 1074 1075 | 
             
                        if isa(f, kind_):
         | 
| 1075 | 
            -
                            filt_files. | 
| 1076 | 
            +
                            filt_files.append(f)
         | 
| 1076 1077 | 
             
                            break
         | 
| 1077 1078 | 
             
                return filt_files
         | 
| 1078 1079 |  | 
| @@ -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=9Mer8VAsOoIEew6wEW3wLZhg_46QpISPEsa_O16zO1k,47175
         | 
| 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.6.dist-info/METADATA,sha256=sA2AqQ6j0UbJH2s5hTkAAq5nrWvM0d3kNYciCIEcNTQ,20017
         | 
| 146 | 
            +
            py2ls-0.1.7.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
         | 
| 147 | 
            +
            py2ls-0.1.7.6.dist-info/RECORD,,
         | 
| 
            File without changes
         |