tempfile2

`tempfile` wrapper


Keywords
tempfile
License
MIT
Install
pip install tempfile2==0.1.2

Documentation

Build status

tempfile2

tempfile wrapper with slightly more convenient interface.

Install

pip install tempfile2

Usage

import tempfile2

with tempfile2.NamedTemporaryFile(close=True) as temp_file:
    # Closed at this point
    # ...
# Deleted at this point

Build

python3 setup.py bdist_wheel --universal