
    bi                        d dl mZ d dlZd dlZd dlZd dlZd dlZd Zej                  ej                  d ej                  edZy)    )annotationsNc                4   t        j                         }t        j                  |d      5 }|j	                  dd      5 }|j                  |        ddd       ddd       |j                  d       |j                         S # 1 sw Y   2xY w# 1 sw Y   6xY w)z,Write data into zipfile and return the bytesw)filemodemyfileNr   )ioBytesIOzipfileZipFileopenwriteseekread)dataoutzzfs       K/home/cdr/jupyterlab/.venv/lib/python3.12/site-packages/dask/bytes/utils.pyzip_compressr   
   s{    
**,C	c	, VVHc" 	bHHTN	 HHQK88:	 	 s"   BBBB	BBc                    | S )N )xs    r   <lambda>r      s    A     )gzipbz2Nxzzip)	
__future__r   r   r   r	   lzmar   r   compressr   r   r   <module>r#      s@    " 
  	   MM<<

--r   