
    /+"g@                        d Z ddlZddlmZ ddlmZ ddlmZ ddlm	Z	 dZ
d Z e            Ze
d	d
gZere                    d	            e	e                              ddged                              ddged                              ddged                              dddge
gd           ddZddZdS )z
    pyexcel_xls
    ~~~~~~~~~~~~~~~~~~~

    The lower level xls/xlsx/xlsm file format handler using xlrd/xlwt

    :copyright: (c) 2016-2021 by Onni Software Ltd
    :license: New BSD License
    N)get_data)isstream)	save_data)IOPluginInfoChainV2xlsc                      t          t          d          } | r0t          |                     d          d                   }|dk    rdS dS )N__version__.r      TF)getattrxlrdintsplit)xlrd_versionmajors     V/var/www/ffwdstore.be/apps/py-env/lib/python3.11/site-packages/pyexcel_xls/__init__.pyxlrd_version_2_or_greaterr      sL    4//L L&&s++A.//A::45    xlsxxlsmzxlsr.XLSInFilefilebinary)relative_plugin_class_path	locations
file_typesstream_typezxlsr.XLSInMemorymemoryzxlsr.XLSInContentcontentzxlsw.XLSWriterc                 P    t          |           r	|t          }t          | fd|i|S )zAstandalone module function for reading module supported file typeN	file_type)r   __FILE_TYPE__	read_data)afiler    keywordss      r   r   r   ?   s5     "9,!	U<<i<8<<<r   c                 V    t          |           r	|t          }t          | |fd|i| dS )zAstandalone module function for writing module supported file typeNr    )r   r!   
write_data)r#   datar    r$   s       r   r   r   F   s=     "9,!	ud<<i<8<<<<<r   )N)__doc__r   pyexcel_io.ior   r"   r   r   r&   pyexcel_io.pluginsr   r!   r   XLRD_VERSION_2_OR_ABOVEsupported_file_formatsremove__name__add_a_readeradd_a_writer r   r   <module>r2      s     0 / / / / / " " " " " " 1 1 1 1 1 1 3 2 2 2 2 2   4355 '8  *!!&)))  H   * */h%	 +  
 ,1j%	   
 ,2k%	   
 ,/x 	    = = = == = = = = =r   