atomictempfile-0.2.post9
توضیحات
An atomic file write context manager
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | atomictempfile-0.2.post9 |
| نام | atomictempfile |
| نسخه کتابخانه | 0.2.post9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | J C Lawrence |
| ایمیل نویسنده | claw@kanga.nu |
| آدرس صفحه اصلی | https://github.com/clearclaw/atomictempfile |
| آدرس اینترنتی | https://pypi.org/project/atomictempfile/ |
| مجوز | LGPL v3.0 |
AtomicTempFile
====================
A context manager for atomic file writes.
::
$ pip install atomictempfile
AtomicTempFile
--------------------
A temporary file object which will be atomically renamed to the specified
path on exit.
with AtomicTempFile('whatever') as f:
f.write('stuff')
This allows transactional behaviours with file writes.
نحوه نصب
نصب پکیج whl atomictempfile-0.2.post9:
pip install atomictempfile-0.2.post9.whl
نصب پکیج tar.gz atomictempfile-0.2.post9:
pip install atomictempfile-0.2.post9.tar.gz