o
    f’×iy  ã                
   @   s0  d Z ddlmZ ddlZzddlmZ W n ey3   ddlm	Z
 e
 e
 e
 e¡dd¡¡r2edƒ‚‚ w dd	lmZ ejejkrPed
 djejŽ djejŽ ¡ƒ e ¡  ddlmZmZ eƒ  e e¡ ddlmZ eƒ  ddlmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%mZm&Z& ddl'm(Z( ddl)m*Z*m+Z+m,Z, ddl-m.Z.m/Z/m0Z0m1Z1 ddl2m3Z3m4Z4m5Z5m6Z6 ddl7m8Z8 ddl9m:Z: ddl;m<Z< ddl=m>Z>m?Z? ddl@mAZA ddlBmCZC ddl"mDZDmEZE ddl$mFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMmNZNmOZOmPZPmQZQmRZRmSZSmTZT ddl#mUZU dd	lmZV d!dd„ZWdd „ ZXdS )"zZ
    This is the h5py package, a Python interface to the HDF5
    scientific data format.
é    )ÚwarnNé   )Ú_errorsz..zsetup.pyz\You cannot import h5py from inside the install directory.
Change to another directory first.)ÚversionzWh5py is running against HDF5 {0} when it was built against {1}, this may cause problemsz{0}.{1}.{2})Úregister_convertersÚunregister_converters)Ú_register_lzf)Úh5aÚh5dÚh5dsÚh5fÚh5fdÚh5gÚh5rÚh5sÚh5tÚh5pÚh5zÚh5pl)Úfilters)Úis_hdf5ÚHLObjectÚEmpty)ÚFileÚregister_driverÚunregister_driverÚregistered_drivers)ÚGroupÚSoftLinkÚExternalLinkÚHardLink)ÚDataset)ÚDatatype)ÚAttributeManager)ÚVirtualSourceÚVirtualLayout)ÚMultiBlockSlice)Ú
get_config)Ú	ReferenceÚRegionReference)Úspecial_dtypeÚcheck_dtypeÚ
vlen_dtypeÚstring_dtypeÚ
enum_dtypeÚ	ref_dtypeÚregionref_dtypeÚopaque_dtypeÚcomplex_compat_dtypeÚcheck_vlen_dtypeÚcheck_string_dtypeÚcheck_enum_dtypeÚcheck_ref_dtypeÚcheck_opaque_dtypeÚcheck_complex_dtype)Ú	UNLIMITEDÚ c                 C   s   ddl m} || ƒS )zARun tests with pytest and returns the exit status as an int.
    r   )Ú	run_tests)Útestsr;   )Úargsr;   © r>   úK/home/ubuntu/SoloSpeech/.venv/lib/python3.10/site-packages/h5py/__init__.pyr;   V   s   r;   c                  C   sŠ   ddl } d| jv rAd}zddlm} | ¡ }W n ty,   ddlm} | ¡ du}Y n	 t	y4   Y nw |rAddl
m} | ¡ S td	ƒ‚)
zn Call this from an interactive IPython session to enable tab-completion
    of group and attribute names.
    r   NÚIPythonF)ÚInteractiveShell)Úipapir   )Úipy_completerz3Completer must be enabled in active ipython session)ÚsysÚmodulesÚIPython.core.interactiveshellrA   ÚinitializedÚImportErrorr@   rB   ÚgetÚ	Exceptionr:   rC   Úload_ipython_extensionÚRuntimeError)rD   Ú
ip_runningrA   Ú_ipapirC   r>   r>   r?   Úenable_ipython_completer_   s    
ÿrO   )r:   )YÚ__doc__Úwarningsr   Ú_warnÚatexitr:   r   rH   Úos.pathÚpathÚ_opÚexistsÚjoinÚdirnameÚ__file__r   Úhdf5_version_tupleÚhdf5_built_version_tupleÚformatÚsilence_errorsÚ_convr   Ú_register_convertersr   Ú_unregister_convertersÚregisterr   r   r	   r
   r   r   r   r   r   r   r   r   r   Ú_hlr   Ú_hl.baser   r   r   Ú	_hl.filesr   r   r   r   Ú	_hl.groupr   r   r   r    Ú_hl.datasetr!   Ú_hl.datatyper"   Ú	_hl.attrsr#   Ú_hl.vdsr$   r%   Ú	_selectorr&   Úh5r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   Ú__version__r;   rO   r>   r>   r>   r?   Ú<module>   sT   	û

þÿ
8D
	