Metadata-Version: 2.1
Name: aiotempfile
Version: 0.5.3
Summary: Provides asynchronous temporary files.
Home-page: https://github.com/crashvb/aiotempfile
Author: Richard Davis
Author-email: crashvb@gmail.com
License: Apache License 2.0
Description: # aiotempfile
        
        ## Overview
        
        Provides asynchronous temporary files.
        
        ## Compatibility
        
        * Tested with python 3.8
        
        ## Installation
        ### From [pypi.org](https://pypi.org/project/aiotempfile/)
        
        ```
        $ pip install aiotempfile
        ```
        
        ### From source code
        
        ```bash
        $ git clone https://github.com/crashvb/aiotempfile
        $ cd aiotempfile
        $ virtualenv env
        $ source env/bin/activate
        $ python -m pip install --editable .[dev]
        ```
        
        ## Usage
        
        This implementation is a derivation of [aiofiles](https://pypi.org/project/aiofile/) and functions the same way.
        
        ```python
        import aiotempfile
        async with aiotempfile.open() as file:
            file.write(b"data")
        ```
        
        If the context manager is not used, files will need be explicitly closed; otherwise, they will only be removed during the interepreter teardown.
        
        ```python
        import aiotempfile
        file = await aiotempfile.open()
        file.write(b"data")
        file.close()
        ```
        
        ### Environment Variables
        
        | Variable | Default Value | Description |
        | ---------| ------------- | ----------- |
        | AIOTEMPFILE_DEBUG | | Adds additional debug logging.
        
        ## Development
        
        [Source Control](https://github.com/crashvb/aiotempfile)
        
Keywords: aio aiotempfile async asynchronous file files temp temporary
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Provides-Extra: dev
