a
    Sic                  
   @   sF  d Z ddlmZ ddlZzddlmZ W nD eyl   ddlm	Z
 e
e
e
eddrfedn Y n0 dd	lmZ ejejkre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> ddl?m@Z@ ddl"mAZAmBZB ddl$mCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMmNZNmOZO ddl#mPZP dd	lmZQ ejdd e@ jRkr0ddlSmTZTmUZU d"ddZVd d! ZWd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)MultiBlockSlice)
get_config)	ReferenceRegionReference)special_dtypecheck_dtype
vlen_dtypestring_dtype
enum_dtype	ref_dtyperegionref_dtypeopaque_dtypecheck_vlen_dtypecheck_string_dtypecheck_enum_dtypecheck_ref_dtypecheck_opaque_dtype)	UNLIMITED   )VirtualSourceVirtualLayout 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=   I/var/www/html/django/DPS/env/lib/python3.9/site-packages/h5py/__init__.pyr:   Y   s    r:   c                  C   s   ddl } d| jv rd}zddlm} | }W n: tyX   ddlm} | du}Y n t	yh   Y n0 |rddl
m} | S td	dS )
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modulesZIPython.core.interactiveshellr@   initializedImportErrorr?   rA   get	Exceptionr9   rB   Zload_ipython_extensionRuntimeError)rC   Z
ip_runningr@   Z_ipapirB   r=   r=   r>   enable_ipython_completerb   s    
rJ   )r9   )X__doc__warningsr   _warnatexitr9   r   rF   os.pathpath_opexistsjoindirname__file__r   Zhdf5_version_tupleZhdf5_built_version_tupleformatZsilence_errorsZ_convr   Z_register_convertersr   Z_unregister_convertersregisterr   r   r	   r
   r   r   r   r   r   r   r   r   r   Z_hlr   Z_hl.baser   r   r   Z	_hl.filesr   r   r   r   Z	_hl.groupr   r   r   r    Z_hl.datasetr!   Z_hl.datatyper"   Z	_hl.attrsr#   	_selectorr$   h5r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   __version__Zvds_min_hdf5_versionZ_hl.vdsr7   r8   r:   rJ   r=   r=   r=   r>   <module>
   sN   



8<
	