
    wi                         S r SSKrSSKrSr SSKJr  S r\" \5      r	\	SS r
/ SQrS	 r\" 5         SS
K7  g! \ a    Sr N.f = f)a  PyUSB - Easy USB access in Python

This package exports the following modules and subpackages:

    core - the main USB implementation
    legacy - the compatibility layer with 0.x version
    backend - the support for backend implementations.
    control - USB standard control requests.
    libloader - helper module for backend library loading.

Since version 1.0, main PyUSB implementation lives in the 'usb.core'
module. New applications are encouraged to use it.
    NzWander Lairson Costa)versionz0.0.0c                     SS K nUR                  SU 5      nUR                  5       u  p4pVn[        U5      [        U5      [        U=(       d    S5      U4$ )Nr   z(\d+)\.(\d+)(\.(\d+))?[.-]?(.*)0)rematchgroupsint)r   r   mmajorminor_patchsuffixs           F/home/james-whalen/.local/lib/python3.13/site-packages/usb/__init__.py_get_extended_version_infor   8   sH    
3W=A%&XXZ"E!Fu:s5z3u|#4f<<       )legacycontrolcorebackendutil	libloaderc                  6   SSK Jn   [        R                  " S5      n[        R
                  " S5      nUb  U R                  S5        [        R
                  " S5      n[        R                  [        R                  [        R                  [        R                  [        R                  S.nUR                  U[        R                  S-   5      nUR                  US	9   [        R                  " U5      n[        R                   " S
5      nUR#                  U5        UR%                  U5        g  " S S[        R&                  5      nUR                  [        R                  S-   5        UR%                  U" 5       5        g !   [        R                  " 5       n N= f)Nr   )_debugusbPYUSB_DEBUGTPYUSB_LOG_FILENAME)debuginfowarningerrorcritical
   )levelz.%(asctime)s %(levelname)s:%(name)s:%(message)sc                       \ rS rSrS rSrg)_setup_log.<locals>.NullHandler^   c                     g )N )selfrecords     r   emit$_setup_log.<locals>.NullHandler.emit_   s    r   r*   N)__name__
__module____qualname____firstlineno__r-   __static_attributes__r*   r   r   NullHandlerr'   ^   s    r   r4   )r   r   logging	getLoggerosgetenvenable_tracingDEBUGINFOWARNINGERRORCRITICALgetsetLevelFileHandlerStreamHandler	FormattersetFormatter
addHandlerHandler)	r   loggerdebug_levelfilenameLEVELSr%   handlerfmtr4   s	            r   
_setup_logrM   C   s/   u%F))M*Kd#9912"==!,,$__"==%..	0 

;(8(82(=>&	.))(3G  PQS!'"	'// 	 	((2-.+-(!	.++-Gs   E? ?F)*)__doc__r5   r7   
__author__usb._versionr   __version__ImportErrorr   extended_version_infoversion_info__all__rM   
usb.legacyr*   r   r   <module>rX      sk   >  	#
3= 3;? $Ra(
G$)N  s  Ks   8 AA