[Python-modules-team] Bug#831383: ITP: python-atomicwrites -- atomic file writes in Python
Jonas Smedegaard
dr at jones.dk
Fri Jul 15 10:32:31 UTC 2016
Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard <dr at jones.dk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* Package name : python-atomicwrites
Version : 1,0,0
Upstream Author : Markus Unterwaditzer <markus at unterwaditzer.net>
* URL : https://github.com/untitaker/python-atomicwrites
* License : Expat
Programming Lang: Python
Description : atomic file writes in Python
atomicwrites is Python library to atomically write files.
.
It uses a temporary file in the same directory as the given path. This
ensures that the temporary file resides on the same filesystem.
.
The temporary file will then be atomically moved to the target
location: On POSIX, it will use ``rename`` if files should be
overwritten, otherwise a combination of "link" and "unlink". On
Windows, it uses "MoveFileEx" through stdlib's "ctypes" with the
appropriate flags.
.
Note that with "link" and "unlink", there's a timewindow where the file
might be available under two entries in the filesystem: The name of the
temporary file, and the name of the target file.
The package is needed for recent releases of Radicale.
The package will be maintained by myself, but I welcome help or
adoption (Debian Python Modules Team cc'ed as invitation).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJXiLu8AAoJECx8MUbBoAEhNVYQAKcRm59/+cFVYwoQMKKXTiS5
v6bIAio02mMNB9YejBXMYbJcJMDVbj+mPBNmi9zLwY9U552OHfrmSFb+rTxl2n0/
PnhqBszh+L446f6zuXXlRrg4A0PCZ5hVTXB95sOdoNVx5kBG1AShQZQuKb5i++e2
cC5bB9QfSrj8mkpyzdzYXQSVRrfYKhZZOUQv5S5N+f73U8xrneocPyckfxdwwWbf
mP84ifLpyEtzjIrpmFTT6pWN96iWkVTssAksa/Ju0TxnZ7maXBG+97ijeroZIOXh
EjhGHyLuadmQxfWN11DZ3NR81BeHfIK37hECs/MPfgj+eM3b47KGwcIHIAtsxXM+
ANg8qf3U3ZUqA8RmV1vXXZ6gQrL642MepGg4L5ArN7r+e9MplDI1OAsXCP2AoE4L
+Ow89s2eG0RntBl1mwgvPptSTgxJskTNFpmJR2Hg/7BIa4+FQZMhRLMMxEdST5cd
GZ8qF5FD7MDItqjJjtT6todeHTRiu5Adk9zCNmHRsh60dhuWgPdbmw1beZibvX7f
7SPBEZJxSNt1mNothd9pjL3AU0fVTMbptq3ryxdqumGVwdl9lwbDmuiMgyh+kitJ
roZe2eU5F/sYt+FdiFiZMrJqPSEFrTgwQb2kGgI2tyv6XqttKK7i9T1MPWf5k3bt
iJHGvxsiBxCz3nX6v9fP
=+zYL
-----END PGP SIGNATURE-----
More information about the Python-modules-team
mailing list