全部搜索项
stretch  ] [  buster  ]
[ 源代码: python-lockfile  ]

软件包:python-lockfile(1:0.12.2-2)

python-lockfile 的相关链接

Screenshot

Debian 的资源:

下载源码包 python-lockfile

维护者:

外部的资源:

相似软件包:

file locking library for Python — Python 2 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 2 library.

其他与 python-lockfile 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 python-lockfile

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 16.6 kB67.0 kB [文件列表]