FICHA · MANJARO

python-locket

File-based locks for Python

  • Library
  • Dev
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Provides file-based locks so Python processes can coordinate access to shared files or resources. It helps avoid two processes writing the same cache, database, or output file at the same time.

Locks reduce race conditions but do not replace careful error handling. Applications should handle stale lock files, crashes, and timeouts without corrupting user data.

Permissions

Permissions not analysed for this source yet.