§
    fŠtj~  ã                   óÀ   — d Z ddlmZ ddlZ	 ddlZn# e$ r dZY nw xY we�edk    rddlZnddlmZ  ed¬¦  «        dd	„¦   «         Z	d
„ Z
edk    r e
¦   «          dS dS )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>
é    )Úxp_capabilitiesNÚ é   )Ú	_registryT)Úout_of_scopec                 ó&  — t           €t          d¦  «        ‚| €t          j        d¦  «        } t          j        ddi¬¦  «        }t          j                             ¦   «         D ].\  }}t          j        t          j        |         ||| |¬¦  «         Œ/dS )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-AgentÚSciPy)Úheaders)ÚurlÚ
known_hashÚfnameÚpathÚ
downloader)	ÚpoochÚImportErrorÚos_cacheÚHTTPDownloaderr   ÚregistryÚitemsÚretrieveÚregistry_urls)r   r   Údataset_nameÚdataset_hashs       úZ/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/scipy/datasets/_download_all.pyÚdownload_allr      s¶   € õ0 €}Ýð 6ñ 7ô 7ð 	7ð €|ÝŒ~˜lÑ+Ô+ˆåÔ%¨|¸WÐ.EÐFÑFÔF€JÝ&/Ô&8×&>Ò&>Ñ&@Ô&@ð Mð MÑ"ˆ�lÝŒ�9Ô2°<Ô@Ø".Ø)°Àð	Mñ 	Mô 	Mð 	Mð 	MðMð Mó    c                  óâ   — t          j        d¬¦  «        } |                      ddt          t	          j        d¦  «        d¬¦  «         |                      ¦   «         }t          |j        ¦  «         d S )NzDownload 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,   @   su   € ÝÔ$Ð1MÐNÑNÔN€FØ
×Ò˜ cµÝ %¤¨|Ñ <Ô <ØMð ñ Oô Oð Oð ×ÒÑÔ€DÝ�”ÑÔÐÐÐr   Ú__main__)N)Ú__doc__Úscipy._lib._array_apir   r%   r   r   Ú__package__r   r   r   r,   Ú__name__© r   r   ú<module>r3      sû   ððð ð 2Ð 1Ð 1Ð 1Ð 1Ð 1à €€€ðØ€L€L€L€LøØð ð ð Ø€E€E€Eðøøøð Ð˜+¨Ò+Ð+àÐÐÐÐð ÐÐÐÐÐð €˜dÐ#Ñ#Ô#ð"Mð "Mð "Mñ $Ô#ð"MðJð ð ð ˆzÒÐØ€D�F„F€F€F€Fð Ðs   Ž “œ