
    hD                     0   S r SSKrSSKrSSKJrJr  \R                  " \5         \" S5      rSSS5        \R                  " \	5      r
\
R                  \R                  " 5       5        SSKJrJrJrJr  SrSq     SS	 jr/ S
Qrg! , (       d  f       N_= f)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

Fc           
      r    SSK Jn  [        (       d  [        R	                  [
        5        SqU" U UUUUUUS9$ )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   s           M/home/james-whalen/.local/lib/python3.13/site-packages/smart_open/__init__.pys3_iter_bucketr   0   s?      7x %     )r   r   r	   r   r   ) NN      )__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   <module>r+      s       <-.,'K /
 
		8	$   '%%' ( L L 
 4[ /.s   	B
B