backports.tempfile This package provides backports of new features in Python's tempfile module under the backports namespace. Supported Python versions CPython: 2.7, 3.4, 3.5, 3.6 PyPy, PyPy3 Backported functionality TemporaryDirectory (new in Python 3.4)