L i/dZddlZ ddlZeedk(rddlZnddlmZd dZdZe dk(reyy#e$rdZY0wxYw) z Platform independent script to download all the `scipy.datasets` module data files. This doesn't require a full scipy build. Run: python _download_all.py N) _registryc&t td|tjd}tjddi}tj j D]0\}}tjtj|||||2y)a  Utility method to download all the dataset files for `scipy.datasets` module. Parameters ---------- path : str, optional Directory path to download all the dataset files. If None, default to the system cache_dir detected by pooch. Examples -------- Download the datasets to the default cache location: >>> from scipy import datasets >>> datasets.download_all() Download the datasets to the current directory: >>> datasets.download_all(".") NzsMissing optional dependency 'pooch' required for scipy.datasets module. Please use pip or conda to install 'pooch'. scipy-dataz User-AgentSciPy)headers)url known_hashfnamepath downloader) pooch ImportErroros_cacheHTTPDownloaderrregistryitemsretrieve registry_urls)r r dataset_name dataset_hashs b/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/scipy/datasets/_download_all.py download_allrs. }67 7 |~~l+%%|W.EFJ&/&8&8&>&>&@M" l 922<@".) MMctjd}|jddtt j dd|j }t|jy)NzDownload SciPy data files.) descriptionr ?rz.Directory path to download all the data files.)nargstypedefaulthelp) argparseArgumentParser add_argumentstrrr parse_argsrr )parserargss rmainr*=sX  $ $1M NF c %| <MO    Dr__main__)N) __doc__r#rr __package__rrrr*__name__rrr0se ++"MJ zFu Es 3==