o
    g÷§iK  ã                   @   s   d Z ddlZG dd„ dƒZdS )a	  
A universally unique identifier (UUID) is a 128-bit label used for information in computer systems.
The term globally unique identifier (GUID) is also used.
When generated according to the standard methods, UUIDs are, for practical purposes, unique.
Their uniqueness does not depend on a central registration authority or coordination between the parties generating them,
unlike most other numbering schemes.
While the probability that a UUID will be duplicated is not zero, it is close enough to zero to be negligible.
é    Nc                   @   s"   e Zd ZdZedefdd„ƒZdS )ÚUUIDa%  
    A universally unique identifier (UUID) is a 128-bit label used for information in computer systems.
    The term globally unique identifier (GUID) is also used.
    When generated according to the standard methods, UUIDs are, for practical purposes, unique.
    Their uniqueness does not depend on a central registration authority or coordination between the parties generating them,
    unlike most other numbering schemes.
    While the probability that a UUID will be duplicated is not zero, it is close enough to zero to be negligible.
    Úreturnc                   C   s   d  dd„ dD ƒ¡dd… S )zo
        This function returns a randomly generated UUID
        :return:    a randomly generated UUID
        Ú c                 S   s*   g | ]}d   dd„ td|ƒD ƒ¡d ‘qS )r   c                 S   s   g | ]}t  d ¡‘qS )Ú0123456789abcdef)ÚrandomÚchoice)Ú.0Ú_© r
   úE/home/ubuntu/.local/lib/python3.10/site-packages/borb/license/uuid.pyÚ
<listcomp>-   s    z'UUID.get.<locals>.<listcomp>.<listcomp>r   ú-)ÚjoinÚrange)r   Úlr
   r
   r   r   ,   s    ÿÿzUUID.get.<locals>.<listcomp>)é   é   r   r   é   Néÿÿÿÿ)r   r
   r
   r
   r   Úget%   s   þÿûzUUID.getN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚstaticmethodÚstrr   r
   r
   r
   r   r      s    r   )r   r   r   r
   r
   r
   r   Ú<module>   s   	