<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import <EOL> import os <EOL> if os . name == '<STR_LIT>' : <EOL> import ctypes <EOL> def _load_library ( dllname , loadfunction , dllpaths = ( '<STR_LIT>' , ) ) : <EOL> """<STR_LIT>""" <EOL> try : <EOL> dllpaths = ( os . path . abspath ( <EOL> os . path . dirname ( __file__ ) ) , ) + dllpaths <EOL> except NameError : <EOL> pass <EOL> for path in dllpaths : <EOL> if path : <EOL> try : <EOL> oldenv = os . environ [ '<STR_LIT>' ] <EOL> os . environ [ '<STR_LIT>' ] = path + '<STR_LIT:;>' + oldenv <EOL> except KeyError : <EOL> oldenv = None <EOL> try : <EOL> return loadfunction ( os . path . join ( path , dllname ) ) <EOL> except WindowsError : <EOL> pass <EOL> finally : <EOL> if path and oldenv is not None : <EOL> os . environ [ '<STR_LIT>' ] = oldenv <EOL> return None <EOL> import sys <EOL> hdf5_dlls = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> if hasattr ( sys , '<STR_LIT>' ) : <EOL> hdf5_dlls = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> for dll in hdf5_dlls : <EOL> if _load_library ( dll , ctypes . cdll . LoadLibrary ) : <EOL> break <EOL> else : <EOL> raise ImportError ( <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' % hdf5_dlls ) <EOL> if not _load_library ( '<STR_LIT>' , ctypes . cdll . LoadLibrary ) : <EOL> pass <EOL> if not _load_library ( '<STR_LIT>' , ctypes . cdll . LoadLibrary ) : <EOL> pass <EOL> from . utilsextension import ( <EOL> get_pytables_version , get_hdf5_version , blosc_compressor_list , <EOL> blosc_compcode_to_compname_ as blosc_compcode_to_compname , <EOL> blosc_get_complib_info_ as blosc_get_complib_info ) <EOL> __version__ = get_pytables_version ( ) <EOL> """<STR_LIT>""" <EOL> hdf5_version = get_hdf5_version ( ) <EOL> """<STR_LIT>""" <EOL> hdf5Version = hdf5_version <EOL> """<STR_LIT>""" <EOL> from . utilsextension import ( is_hdf5_file , is_pytables_file , <EOL> which_lib_version , set_blosc_max_threads , <EOL> silence_hdf5_messages ) <EOL> from . misc . enum import Enum <EOL> from . atom import * <EOL> from . flavor import restrict_flavors <EOL> from . description import * <EOL> from . filters import Filters <EOL> from . exceptions import * <EOL> from . file import File , open_file , copy_file <EOL> from . node import Node <EOL> from . group import Group <EOL> from . leaf import Leaf <EOL> from . table import Table , Cols , Column <EOL> from . array import Array <EOL> from . carray import CArray <EOL> from . earray import EArray <EOL> from . vlarray import VLArray <EOL> from . unimplemented import UnImplemented , Unknown <EOL> from . expression import Expr <EOL> from . tests import print_versions , test <EOL> __all__ = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:test>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] <EOL> if '<STR_LIT>' in locals ( ) : <EOL> __all__ . extend ( ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> from . utilsextension import _broken_hdf5_long_double <EOL> if not _broken_hdf5_long_double ( ) : <EOL> if '<STR_LIT>' in locals ( ) : <EOL> __all__ . extend ( ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> __all__ . extend ( ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> if '<STR_LIT>' in locals ( ) : <EOL> __all__ . extend ( ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> __all__ . extend ( ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> else : <EOL> from . import atom as _atom <EOL> from . import description as _description <EOL> try : <EOL> del _atom . Float96Atom , _atom . Complex192Col <EOL> del _description . Float96Col , _description . Complex192Col <EOL> _atom . all_types . discard ( '<STR_LIT>' ) <EOL> _atom . ComplexAtom . _isizes . remove ( <NUM_LIT> ) <EOL> except AttributeError : <EOL> try : <EOL> del _atom . Float128Atom , _atom . Complex256Atom <EOL> del _description . Float128Col , _description . Complex256Col <EOL> _atom . all_types . discard ( '<STR_LIT>' ) <EOL> _atom . ComplexAtom . _isizes . remove ( <NUM_LIT:32> ) <EOL> except AttributeError : <EOL> pass <EOL> del _atom , _description <EOL> del _broken_hdf5_long_double </s>
