Skip to main content

Provides asynchronous temporary files.

Project description


pypi version build status coverage status python versions linting code style license


Provides asynchronous temporary files.



$ pip install aiotempfile

From source code

$ git clone
$ cd aiotempfile
$ virtualenv env
$ source env/bin/activate
$ python -m pip install --editable .[dev]


This implementation is a derivation of aiofiles and functions the same way.

import aiotempfile
async with as file:

If the context manager is not used, files will need be explicitly closed; otherwise, they will only be removed during the interepreter teardown.

import aiotempfile
file = await

Environment Variables

Variable Default Value Description
AIOTEMPFILE_DEBUG Adds additional debug logging.


Source Control

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiotempfile-0.5.4.tar.gz (4.9 kB view hashes)

Uploaded source

Built Distribution

aiotempfile-0.5.4-py3-none-any.whl (9.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page