+
    [DiC                        R t ^ RIHtHt ^ RIt^ RIt^ RIt^ RIt^ RIt]P                  R8  d   ^ RI
Ht M^ RIHt ]P                  P                  RR4      P!                  4       t]R8X  dF   ]P$                  ! 4       R9   d	   ^RI5 RtMs]P$                  ! 4       R9   d	   ^RI5 R	tMU ^RI5 RtML]R
8X  d
    ^RI5 RtM<]R8X  d	   ^RI5 RtM-]R8X  d	   ^RI5 RtM]R	8X  d	   ^RI5 R	tM]! R],          4      hRt^ t^t^tRR ltRR R lltRR R lltR#   ] d    ^RI5 R	t L/i ; i  ] d    ^RI5 R	t LCi ; i)z=Python interface to the Zstandard (zstd) compression library.)absolute_importunicode_literalsN)Buffer)
ByteStringPYTHON_ZSTANDARD_IMPORT_POLICYdefault)*cextcfficffi_fallbackrustzKunknown module import policy: %s; use default, cffi_fallback, cext, or cffiz0.25.0c                $   VP                  RR4      pVR9   d   T;'       g    \        4       pRp	Rp
MZVR9   d:   T;'       g    \        4       pRp	Tp
V
P                  R4      '       g
   V
R,           p
M\	        RP                  V4      4      h\        \        R4      '       d   \        \        \        P                  3pM\        \        3p\        W4      '       d   \        P                  ! W
4      pR	pM=\        V R
4      '       g   \        V R4      '       d   T p\        V4      pM\        R4      hV	R8X  d   VP!                  WR7      pM%V	R8X  d   VP#                  WR7      pM\%        R4      hRV9  d   \&        P(                  ! WWVR7      # V# )aI  Create a file object with zstd (de)compression.

The object returned from this function will be a
:py:class:`ZstdDecompressionReader` if opened for reading in binary mode,
a :py:class:`ZstdCompressionWriter` if opened for writing in binary mode,
or an ``io.TextIOWrapper`` if opened for reading or writing in text mode.

:param filename:
   ``bytes``, ``str``, or ``os.PathLike`` defining a file to open or a
   file object (with a ``read()`` or ``write()`` method).
:param mode:
   ``str`` File open mode. Accepts any of the open modes recognized by
   ``open()``.
:param cctx:
   ``ZstdCompressor`` to use for compression. If not specified and file
   is opened for writing, the default ``ZstdCompressor`` will be used.
:param dctx:
   ``ZstdDecompressor`` to use for decompression. If not specified and file
   is opened for reading, the default ``ZstdDecompressor`` will be used.
:param encoding:
    ``str`` that defines text encoding to use when file is opened in text
    mode.
:param errors:
   ``str`` defining text encoding error handling mode.
:param newline:
   ``str`` defining newline to use in text mode.
:param closefd:
   ``bool`` whether to close the file when the returned object is closed.
    Only used if a file object is passed. If a filename is specified, the
    opened file is always closed when the returned object is closed.
t rrbwbzInvalid mode: {!r}PathLikeTreadwritez6filename must be a str, bytes, file or PathLike object)closefdz2logic error in zstandard.open() handling open mode)encodingerrorsnewline)r   r   )r   wbaabxxb)replaceZstdDecompressorZstdCompressorendswith
ValueErrorformathasattrosstrbytesr   
isinstancebuiltinsopenbool	TypeErrorstream_readerstream_writerRuntimeErrorioTextIOWrapper)filenamemodecctxdctxr   r   r   r   normalized_mode	open_moderaw_open_modetypesinner_fhfhs   &&&&&&&&      2lib/python3.14/site-packages/zstandard/__init__.pyr,   r,   a   st   R ll3+O+%))')		=	=''~'	'%%c**)C/M-44T:;;r:eR[[)e(""==9	6	"	"gh&@&@w-D
 	
 C:	c	:OPP
/!&
 	
 	    c                <    V ^8  d   QhR\         R\        R\        /# )   datalevelreturnr   intr)   )r%   s   "r>   __annotate__rG      s!      6 # e r?   c                <    \        VR7      pVP                  V 4      # )a  Compress source data using the zstd compression format.

This performs one-shot compression using basic/default compression
settings.

This method is provided for convenience and is equivalent to calling
``ZstdCompressor(level=level).compress(data)``.

If you find yourself calling this function in a tight loop,
performance will be greater if you construct a single ``ZstdCompressor``
and repeatedly call ``compress()`` on it.
)rC   )r"   compress)rB   rC   r6   s   && r>   rI   rI      s     &D==r?   c                <    V ^8  d   QhR\         R\        R\        /# )rA   rB   max_output_sizerD   rE   )r%   s   "r>   rG   rG      s&     B BV Bc B% Br?   c                :    \        4       pVP                  WR7      # )a  Decompress a zstd frame into its original data.

This performs one-shot decompression using basic/default compression
settings.

This method is provided for convenience and is equivalent to calling
``ZstdDecompressor().decompress(data, max_output_size=max_output_size)``.

If you find yourself calling this function in a tight loop, performance
will be greater if you construct a single ``ZstdDecompressor`` and
repeatedly call ``decompress()`` on it.
)rK   )r!   
decompress)rB   rK   r7   s   && r>   rM   rM      s     D??4?AAr?   )      )CPython)PyPy)r   NNNNNN)rN   )    )__doc__
__future__r   r   r+   r2   r'   platformsysversion_infocollections.abcr   typingr   environgetstrip_module_policypython_implementation	backend_cbackendbackend_cffiImportErrorbackend_rust__version___MODE_CLOSED
_MODE_READ_MODE_WRITEr,   rI   rM    r?   r>   <module>ri      sb   D 8  	 	  
w&+ $i%'  Y%%'<7 		'	'	)Y	6#	$G
 & 
 vGvGvG
	(	)  
Tn$B Ba  	'G	  #s$   +D ;D2 D/.D/2EE