o
    
iD                     @   s   d Z ddlZddlZddlmZmZ ee edZW d   n1 s&w   Y  ee	Z
e
e  ddlmZmZmZmZ dZda					
	dddZg d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)PackageNotFoundErrorversion
smart_open   )open	parse_urir   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)s3r   _WARNEDloggerwarning_WARNING)r   r   r   r   r   r   r   r    r   G/home/ubuntu/.local/lib/python3.10/site-packages/smart_open/__init__.pys3_iter_bucket0   s   
r   )r   r   r   r   r   )r	   NNr
   r   )__doc__
contextlibloggingimportlib.metadatar   r   suppress__version__	getLogger__name__r   
addHandlerNullHandlersmart_open_libr   r   r   r   r   r   r   __all__r   r   r   r   <module>   s&   


