Skip to main content

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.

Metadata

Release files for atomictempfile 0.2.post10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atomictempfile 0.2.post10
File Size Uploaded Provenance
atomictempfile-0.2.post10.tar.gz 21.7 kB Without provenance Details

Release files / atomictempfile-0.2.post10.tar.gz

Download URL atomictempfile-0.2.post10.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
24dcc6e42900b9979f4e5fe620a2a898cc1c2b364ff56f058b9c9c49a7a5af4f
BLAKE2b-256 checksum
How to use checksums
053cf7f1f9ef69fb26a828f38e2527541c70a406da6834a3b11ea8b0f6b0470c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for atomictempfile 0.2.post10

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page