Ë
    âQ(h¥  ã                   ó€   — d Z ddlZ	 ddlZe�edk(  rddlZnddlmZ d	d„Zd„ Ze	dk(  r e«        yy# e$ r dZY Œ0w xY w)
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                  j                  «       D ]/  \  }}t        j                  t        j                  |   ||| ¬«       Œ1 y)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      úZ/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/scipy/datasets/_download_all.pyÚdownload_allr      st   € ô €}Üð 6ó 7ð 	7ð €|Ü�~‰~˜lÓ+ˆÜ&/×&8Ñ&8×&>Ñ&>Ó&@ò 6Ñ"ˆ�lÜ�‰œ9×2Ñ2°<Ñ@Ø".Ø)°ö	6ñ6ó    c                  óÔ   — t        j                  d¬«      } | j                  ddt        t	        j
                  d«      d¬«       | j                  «       }t        |j                  «       y )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&   /   sX   € Ü×$Ñ$Ð1MÔN€FØ
×Ñ˜ c´Ü %§¡¨|Ó <ØMð ô Oð ×ÑÓ€DÜ�—‘Õr   Ú__main__)N)
Ú__doc__r   r   r   Ú__package__r   r   r   r&   Ú__name__© r   r   ú<module>r,      sc   ðñó ðÛð
 Ð˜+¨Ò+äõ ó6ò.ð ˆzÒÙ…Fð øðY ò Ø‚Eðús   ˆ3 ³=¼=