Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> python >> python3-lockfile
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: python-lockfile  ]

套件: python3-lockfile (1:0.12.2-2.2)

file locking library for Python — Python 3 library

The ‘lockfile’ library exports a ‘LockFile’ class which provides a simple API for locking files.

The appropriate implementation for ‘LockFile’ is chosen automatically based on the OS capabilities for an atomic filesystem operation. These implementations are also available for explicit use as ‘LinkLockFile’ and ‘MkdirLockFile’.

Other back ends are possible with the same semantics. Examples included are:

 * ‘SQLiteLockFile’, using records in an SQLite database.
 * ‘PIDLockFile’, using the semantics of a Unix PID file.

Unlike other Python locking libraries (the Windows ‘msvcrt.locking’ function, the Unix ‘fcntl.flock’, ‘fcntl.lockf’, and the deprecated ‘posixfile’ module), the API is identical across both Unix (including GNU/Linux and MacOS) and Windows platforms.

This package installs the Python 3 library.

其他與 python3-lockfile 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

下載 python3-lockfile

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 14.2 kB64 kB [文件列表]