o
    ‹¨Êh‹  ã                	   @   sl   d Z ddlmZ ejejeƒ ejeƒ ejeƒ iejejeƒ ejeƒ ejeƒ iiZ	dd„ Z
dd„ Zdd„ ZdS )	zÁ
    pyexcel.internal.attributes
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Book and sheet attributes

    :copyright: (c) 2015-2017 by Onni Software Ltd.
    :license: New BSD License
é    Nc                 C   ó   ddl m} t|| ||ƒ d S )Né   )ÚBookMeta)Úmetar   Úregister_an_attribute)ÚtargetÚactionÚattrr   © r
   úM/var/www/html/env/lib/python3.10/site-packages/pyexcel/internal/attributes.pyÚregister_book_attribute   ó   r   c                 C   r   )Nr   )Ú	SheetMeta)r   r   r   )r   r   r	   r   r
   r
   r   Úregister_sheet_attribute    r   r   c                 C   s¾   |t | tj v rdS t | |  |¡ |tjkr|  |¡ n|  |¡ |t | tj v o5|t | tj v }|r]t | tj  |¡ t | tj  |¡ t | tj  |¡ |  	|¡ dS dS )z$Register a file type as an attributeN)
ÚATTRIBUTE_REGISTRYÚ	constantsÚ	RW_ACTIONÚaddÚREAD_ACTIONÚregister_inputÚregister_presentationÚWRITE_ACTIONÚremoveÚregister_io)Úmeta_clsr   r   r	   Úintersectionr
   r
   r   r   &   s   

þür   )Ú__doc__Úpyexcel.constantsr   ÚSHEETr   Úsetr   r   ÚBOOKr   r   r   r   r
   r
   r
   r   Ú<module>   s     	ýýú