
    ,hm                         d Z ddlmZ ddlZg dZdZdj                  eD  cg c]
  }  e|        c}       Zd Z	d Z
d	 Zd
 Zd Z e e	             Z e
       Z ej"                  e       yc c} w )z{
EBCDIC codecs for data exchange with legacy systems.

For more information, visit <https://pypi.python.org/pypi/ebcdic/>.
    )absolute_importN)codec_namesignored_codec_nameslookup__version____version_info__)   r	   r	   .c               #   0  K   ddl } ddl}|j                  j                  t              }| j                  |j                  j                  |d            D ]=  }|j                  j                  |j                  j                  |            d   }| ? yw)z=
    Names of the codecs included in the ebcdic package.
    r   Nzcp*.py)globos.pathpathdirname__file__joinsplitextbasename)r   ospackage_folder
codec_path
codec_names        Q/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/ebcdic/__init__.py_codec_namesr   -   su      WW__X.Nii^X FG 
WW%%bgg&6&6z&BCAF
s   BBc                      i } t         D ]7  }t        d|z   t               t               dg      }|j	                         | |<   9 | S )Nzebcdic.getregentry)r   
__import__globalslocalsr   )resultr   codec_modules      r   _create_codec_name_to_info_mapr!   :   sL    F! 8
!)j"8')VXP]_)557z8 M    c                 ,    t         j                  |       S )zo
    The `codec.CodecInfo` matching `codec_name` provided it is part of the
    package, otherwise `None`.
    )_codec_name_to_info_mapget)	code_names    r   _find_ebcdic_codecr'   B   s    
 #&&y11r"   c                      t        t        j                               D  cg c]  \  } }|t        j                  |       k7  r| ! c}} S c c}} w )z
    A list of codec names in this package that are ignored because they are
    already provided by other means, e.g. the standard library.
    )sortedr$   itemscodecsr   )r   
codec_infos     r   r   r   J   sH     +11H1N1N1P*Q&
JV]]:66    s   $A	c                 J    t        |       }|t        d| dt              |S )zx
    The `codecs.CodecInfo` for the EBCDIC codec `codec_name`. An unknown
    `codecs_name` raises a `LookupError`.
    zEBCDIC codec is z but must be one of: )r'   LookupErrorr   )r   r   s     r   r   r   U   s)    
  
+F~U`abbMr"   )__doc__
__future__r   r+   __all__r   r   strr   r   r!   r'   r   r   r)   r   r$   register)items   0r   <module>r5      s   : '   hh.>?dD	?@
2 \^$8:  " #s @s   A.