403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.114
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u119869361 ( 9600978)
PHP Version : 8.4.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/kunden/usr/lib/python3/dist-packages/pip/_vendor/msgpack/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/kunden/usr/lib/python3/dist-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-313.pyc
�

�h^��X�SSKrSSKrSSKJr "SS\"SS55r"SS5rg)�N)�
namedtuplec�,^�\rSrSrSrU4SjrSrU=r$)�ExtType�z'ExtType represents ext type in msgpack.c��>�[U[5(d[S5e[U[5(d[S5eSUs=::aS::d
O [	S5e[
TU]XU5$)Nzcode must be intzdata must be bytesr�zcode must be 0~127)�
isinstance�int�	TypeError�bytes�
ValueError�super�__new__)�cls�code�data�	__class__s   ��9/usr/lib/python3/dist-packages/pip/_vendor/msgpack/ext.pyr�ExtType.__new__	s_����$��$�$��.�/�/��$��&�&��0�1�1��D��C���1�2�2��w��s�$�/�/��)�__name__�
__module__�__qualname__�__firstlineno__�__doc__r�__static_attributes__�
__classcell__)rs@rrrs���1�0�0rrz	code datac��\rSrSrSrSS/rSSjrSrSrSr	S	r
\S
5rSr
\S5rS
r\S5rSrSr\S5rSrg)�	Timestamp�aBTimestamp represents the Timestamp extension type in msgpack.

When built with Cython, msgpack uses C methods to pack and unpack `Timestamp`.
When using pure-Python msgpack, :func:`to_bytes` and :func:`from_bytes` are used to pack and
unpack `Timestamp`.

This class is immutable: Do not override seconds and nanoseconds.
�seconds�nanosecondsc���[U[5(d[S5e[U[5(d[S5eSUs=::aS:d
O [S5eXlX lg)a�Initialize a Timestamp object.

:param int seconds:
    Number of seconds since the UNIX epoch (00:00:00 UTC Jan 1 1970, minus leap seconds).
    May be negative.

:param int nanoseconds:
    Number of nanoseconds to add to `seconds` to get fractional time.
    Maximum is 999_999_999.  Default is 0.

Note: Negative times (before the UNIX epoch) are represented as neg. seconds + pos. ns.
zseconds must be an integerznanoseconds must be an integerr�ʚ;z?nanoseconds must be a non-negative integer less than 999999999.N)r	r
rr
r"r#)�selfr"r#s   r�__init__�Timestamp.__init__sZ���'�3�'�'��8�9�9��+�s�+�+��<�=�=��[�(�5�(��^�_�_���&�rc�<�SURSURS3$)z#String representation of Timestamp.zTimestamp(seconds=z, nanoseconds=�)�r"r#�r&s r�__repr__�Timestamp.__repr__5s#��#�D�L�L�>���@P�@P�?Q�QR�S�Src��[U5URLa9URUR:H=(a URUR:H$g)z0Check for equality with another Timestamp objectF)�typerr"r#�r&�others  r�__eq__�Timestamp.__eq__9s>����;�$�.�.�(��<�<�5�=�=�0�Z�T�5E�5E��IZ�IZ�5Z�Z�rc�.�URU5(+$)z(not-equals method (see :func:`__eq__()`))r3r1s  r�__ne__�Timestamp.__ne__?s���;�;�u�%�%�%rc�D�[URUR45$)N)�hashr"r#r,s r�__hash__�Timestamp.__hash__Cs���T�\�\�4�#3�#3�4�5�5rc�@�[U5S:Xa[R"SU5SnSnOh[U5S:Xa%[R"SU5SnUS-nUS-	nO4[U5S:Xa[R"S	U5up!O[S
5e[	X5$)z�Unpack bytes into a `Timestamp` object.

Used for pure-Python msgpack unpacking.

:param b: Payload from msgpack ext message with code -1
:type b: bytes

:returns: Timestamp object unpacked from msgpack ext payload
:rtype: Timestamp
��!Lr��!Ql���"��!IqzFTimestamp type can only be created from 32, 64, or 96-bit byte objects)�len�struct�unpackr
r )�br"r#�data64s    r�
from_bytes�Timestamp.from_bytesFs����q�6�Q�;��m�m�D�!�,�Q�/�G��K�
��V�q�[��]�]�4��+�A�.�F��1�1�G� �B�,�K�
��V�r�\�#)�=�=���#:� �K���X��
���.�.rc�4�URS-	S:XaXURS-UR-nUS-S:Xa[R"SU5nU$[R"SU5nU$[R"SURUR5nU$)z�Pack this Timestamp object into bytes.

Used for pure-Python msgpack packing.

:returns data: Payload for EXT message with code -1 (timestamp type)
:rtype: bytes
rArl��r>r@rC)r"r#rE�pack)r&rHrs   r�to_bytes�Timestamp.to_bytesas���
�L�L�B��1�$��%�%��+�d�l�l�:�F��*�*�a�/��{�{�4��0����	�{�{�4��0�����;�;�u�d�&6�&6����E�D��rc�V�[US-5n[US-S-5n[X5$)z�Create a Timestamp from posix timestamp in seconds.

:param unix_float: Posix timestamp in seconds.
:type unix_float: int or float
�r%)r
r )�unix_secr"r#s   r�	from_unix�Timestamp.from_unixvs0���h�!�m�$���8�a�<�5�0�1����.�.rc�:�URURS--$)zVGet the timestamp as a floating-point value.

:returns: posix timestamp
:rtype: float
ge��Ar+r,s r�to_unix�Timestamp.to_unix�s���|�|�d�.�.��4�4�4rc�&�[[US56$)zCreate a Timestamp from posix timestamp in nanoseconds.

:param int unix_ns: Posix timestamp in nanoseconds.
:rtype: Timestamp
r%)r �divmod)�unix_nss r�from_unix_nano�Timestamp.from_unix_nano�s���&��%�0�1�1rc�:�URS-UR-$)zfGet the timestamp as a unixtime in nanoseconds.

:returns: posix timestamp in nanoseconds
:rtype: int
r%r+r,s r�to_unix_nano�Timestamp.to_unix_nano�s���|�|�e�#�d�&6�&6�6�6rc���[RRn[RRSU5[R"UR
URS-S9-$)zBGet the timestamp as a UTC datetime.

:rtype: `datetime.datetime`
r��)r"�microseconds)�datetime�timezone�utc�
fromtimestamp�	timedeltar"r#)r&rds  r�to_datetime�Timestamp.to_datetime�sV��
���#�#��� � �.�.�q�#�6��9K�9K��L�L�t�/?�/?�4�/G�:
�
�	
rc�^�[[UR55URS-S9$)zACreate a Timestamp from datetime with tzinfo.

:rtype: Timestamp
r`r+)r r
�	timestamp�microsecond)�dts r�
from_datetime�Timestamp.from_datetime�s&����R�\�\�^�!4�"�.�.�SW�BW�X�Xr)r#r"N)r)rrrrr�	__slots__r'r-r3r6r:�staticmethodrIrMrRrUrZr]rgrmrrrrr r s�����M�*�I�'�,T��&�6��/��/�4�*�/��/�5��2��2�7�
��Y��Yrr )rbrE�collectionsrrr rrr�<module>rrs/���
�"�
0�j��K�0�
0�WY�WYr

Youez - 2016 - github.com/yon3zu
LinuXploit