CMD + K

atomicfile

Community

Writeable file object that atomically updates a file.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::atomicfile

Usage Tracking

1.0.1
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

Writeable file object that atomically updates a file. All writes will go to a temporary file. Call close() explicitly when you are done writing, and AtomicFile will rename the temporary copy to the original name, making the changes visible. If the object is destroyed without being closed, all your writes are discarded. AtomicFile is friendly to with statement.

About

Summary

Writeable file object that atomically updates a file.

Last Updated

May 16, 2020 at 18:51

License

MIT

Total Downloads

4.4K

Supported Platforms

noarch