$npx skillfedfor your agent

atomicwrites-homeassistant

Atomic file writes.

SkipPyPI Software DevelopmentReleased Jul 2022662.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — atomicwrites_homeassistant-1.4.1-py2.py3-none-any.whl
v1.4.1 · released 2022-07-08 · Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*

No—this package is abandoned (last release 2022-07-08, repository archived) and shows no active maintenance. While the code is stable and has no known vulnerabilities, using an unmaintained library for critical file operations carries long-term risk. Consider the original atomicwrites package if it has resumed maintenance, or evaluate whether your use case truly requires atomic writes or can tolerate simpler alternatives.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • However, the package is abandoned—last release was 2022-07-08 and the repository is archived.
  • This is a fork maintained because the original package is unmaintained, but the fork itself shows no active maintenance either.

License · maintenance · safety

MIT (permissive) — Licensed under MIT (permissive), so you can use it freely in commercial and open-source projects without restriction or obligation to share modifications.

last release 2022-07-08 (1498 days) · last repo commit 2022-07-08 · 321 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 662,308 downloads/mo, #5,439 on PyPI

Verify before relying

from atomicwrites import atomic_write

with atomic_write('foo.txt', overwrite=True) as f:
    f.write('Hello world.')
  • Whether this fork is actively maintained or has a clear succession plan despite the archived repository status
  • Real-world reliability of Windows atomic operations, which the documentation notes are not well-tested and may silently fall back to non-atomic methods
Same gist for agents: .md · .json

What it is and what it does

Atomicwrites is a Python library for writing files in a way that guarantees atomicity—either the entire file is written successfully or the original file remains untouched. It works by writing to a temporary file in the same directory, then atomically moving it to the target location using platform-specific operations: `rename` on POSIX systems (or `link`/`unlink` when overwriting is not allowed) and `MoveFileEx` on Windows. The library also invokes `fsync` to ensure data is flushed to disk.

The package provides both a simple high-level context-manager API and a lower-level class-based interface. It supports an `overwrite` parameter to control whether the target file may already exist, and handles errors consistently across platforms. With no runtime dependencies, it integrates easily into any Python project that needs to safely write configuration files, databases, or other critical data without risk of corruption from crashes or concurrent access.

Use it for

  • Writing configuration files that must not be corrupted if the process crashes mid-write
  • Atomically updating database or cache files in multi-process environments
  • Safely persisting application state or logs without risk of partial writes
  • Cross-platform file operations where atomicity guarantees are required

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—this package is abandoned (last release 2022-07-08, repository archived) and shows no active maintenance.

While the code is stable and has no known vulnerabilities, using an unmaintained library for critical file operations carries long-term risk. Consider the original atomicwrites package if it has resumed maintenance, or evaluate whether your use case truly requires atomic writes or can tolerate simpler alternatives.

Install

atomicwrites-homeassistant on PyPI

Before you install

Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2022-07-08 and the repository is archived. This is a fork maintained because the original package is unmaintained, but the fork itself shows no active maintenance either.

License in practice

Licensed under MIT (permissive), so you can use it freely in commercial and open-source projects without restriction or obligation to share modifications.

Quickstart

from atomicwrites import atomic_write

with atomic_write('foo.txt', overwrite=True) as f:
    f.write('Hello world.')

Verify before relying

  • Whether this fork is actively maintained or has a clear succession plan despite the archived repository status
  • Real-world reliability of Windows atomic operations, which the documentation notes are not well-tested and may silently fall back to non-atomic methods

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,498 days since the last release
Last repo commit repository archived
First released
Downloads662,308 / month, #5,439 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPython

Evidence: atomicwrites_homeassistant-1.4.1-py2.py3-none-any.whl

Tags

Capabilities
atomic file writessafe file writingprevent file corruptiontransactional file operationsrace-free file creationtemporary file atomicitycross-platform file safety
Topics
file-iocross-platform

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “safe file writing”

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also atomicwrites · types-atomicwrites · lockfile · filelock · pathlib-mate · DrissionRecord · django-read-only · ephemeral-port-reserve · boltons · azure-storage-file