U
    be                     @   sr   d Z ddlZeeZee  ddlmZ ddl	m
Z
mZmZmZ dZdadddZdddddgZejZdS )a?  
Utilities for streaming to/from several file-like data storages: S3 / HDFS / local
filesystem / compressed files, and many more, using a simple, Pythonic API.

The streaming makes heavy use of generators and pipes, to avoid loading
full file contents into memory, allowing work with arbitrarily large files.

The main functions are:

* `open()`, which opens the given file for reading/writing
* `parse_uri()`
* `s3_iter_bucket()`, which goes over all keys in an S3 bucket in parallel
* `register_compressor()`, which registers callbacks for transparent compressor handling

    N)version   )open	parse_uri
smart_openregister_compressorzsmart_open.s3_iter_bucket is deprecated and will stop functioning
in a future version. Please import iter_bucket from the smart_open.s3 module instead:

    from smart_open.s3 import iter_bucket as s3_iter_bucket

F       c              	   K   s4   ddl m} tstt da|| ||||||dS )z3Deprecated.  Use smart_open.s3.iter_bucket instead.r   )iter_bucketT)bucket_nameprefix
accept_key	key_limitworkersretriessession_kwargs)Zs3r   _WARNEDloggerwarning_WARNING)r   r   r   r   r   r   r   r    r   U/var/www/html/services/stratfitenv/lib/python3.8/site-packages/smart_open/__init__.pys3_iter_bucket-   s    
r   r   r   r   r   )r   NNr	   r
   )__doc__logging	getLogger__name__r   
addHandlerNullHandlerr   r   Zsmart_open_libr   r   r   r   r   r   __all____version__r   r   r   r   <module>	   s(   
     
