This release is a pre-release and may not be stable for production use.
sftpovw: safer overwrite file over sftp
protect against corruption:
- old file: data lost if overwrite fails
- new file: partial write may leave corrupt/incomplete file
- readers: processes opening the file may observe unspecified/intermediate data
when PUT localfile to remotefile,
safe level 0
protect nothing
- just put localfile to remotefile
safe level 1
protect readers
- unlink remotefile
- put localfile to remotefile
safe level 2
protect old file and readers
- rename remotefile to tmpfile
- put localfile to remotefile
- unlink tmpfile
safe level 3
protect new file, old file, and readers
- put localfile to tmpfile
- rename tmpfile to remotefile
safe level 4
protect new file, old file, and readers
usually this level is unnecessary. should only be used if your rename is not atomic.
- put localfile to tmpfile1
- rename remotefile to tmpfile2
- rename tmpfile1 to remotefile
- unlink tmpfile2
Metadata
Release files for sftpovw 0.1.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sftpovw-0.1.dev1-py3-none-any.whl | Python 3 | none | any | Details for sftpovw-0.1.dev1-py3-none-any.whl |
Release files / sftpovw-0.1.dev1-py3-none-any.whl
| Download URL | sftpovw-0.1.dev1-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9e4b208e81944ecbd7fca95bd0b4b70b95f4a4f0c6cf6aa531769c59be3c90e
|
|
BLAKE2b-256 checksum How to use checksums |
518eb56b27072ae093b38cebdc86e75c81c5024b2c9087c7e9ff66df97e8dc92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for sftpovw 0.1.dev1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.