| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/scipy/datasets/__pycache__/ |
Upload File : |
�
d�c� � � � d Z ddlZ ddlZn
# e$ r dZY nw xY we�edk rddlZnddlmZ d d�Zd� Ze dk r e� � dS dS )
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 <download_dir>
� N� � )� _registryc � � t �t d� � �| �t j d� � } t j � � � D ]-\ }}t j t j | ||| �� � �.dS )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.
NzsMissing optional dependency 'pooch' required for scipy.datasets module. Please use pip or conda to install 'pooch'.�
scipy-data)�url�
known_hash�fname�path)�pooch�ImportError�os_cacher �registry�items�retrieve�
registry_urls)r �dataset_name�dataset_hashs �>/usr/lib/python3/dist-packages/scipy/datasets/_download_all.py�download_allr s� � �
�}�� 6� 7� 7� 7� �|��~�l�+�+��&/�&8�&>�&>�&@�&@� 6� 6�"��l�
��9�2�<�@�".�)�� 6� 6� 6� 6� 6�6� 6� c �� � t j d�� � } | � ddt t j d� � d�� � | � � � }t |j � � d S )NzDownload SciPy data files.)�descriptionr �?r z.Directory path to download all the data files.)�nargs�type�default�help) �argparse�ArgumentParser�add_argument�strr r �
parse_argsr r )�parser�argss r �mainr&