MCPcopy Create free account

hub / github.com/tox-dev/filelock / types & classes

Types & classes42 in github.com/tox-dev/filelock

↓ 68 callersClassReadWriteLock
Cross-process read-write lock backed by SQLite. Allows concurrent shared readers or a single exclusive writer. The lock is reentrant within
src/filelock/_read_write.py:99
↓ 28 callersClassSoftReadWriteLock
Cross-process and cross-host reader/writer lock built on :class:`SoftFileLock` primitives. Use this class instead of :class:`~filelock.ReadW
src/filelock/_soft_rw/_sync.py:135
↓ 27 callersClassAsyncReadWriteLock
Async wrapper around :class:`ReadWriteLock` for use in ``asyncio`` applications. Because Python's :mod:`sqlite3` module has no async API, al
src/filelock/_async_read_write.py:38
↓ 19 callersClassSoftFileLock
Portable file lock based on file existence. Unlike :class:`UnixFileLock <filelock.UnixFileLock>` and :class:`WindowsFileLock <filelock.Windo
src/filelock/_soft.py:21
↓ 12 callersClassTimeout
Raised when the lock could not be acquired in *timeout* seconds.
src/filelock/_error.py:4
↓ 7 callersClassUnixFileLock
Uses the :func:`fcntl.flock` to hard lock the lock file on unix systems.
src/filelock/_unix.py:18
↓ 5 callersClassAcquireReturnProxy
A context-aware object that will release the lock file when exiting.
src/filelock/_api.py:56
↓ 3 callersClassExThread
tests/test_filelock.py:228
↓ 3 callersClassMyFileLock
tests/test_filelock.py:785
↓ 2 callersClassAsyncAcquireReadWriteReturnProxy
Context-aware object that releases the async read/write lock on exit.
src/filelock/_async_read_write.py:20
↓ 2 callersClassAsyncAcquireSoftReadWriteReturnProxy
Async context-aware object that releases an :class:`AsyncSoftReadWriteLock` on exit.
src/filelock/_soft_rw/_async.py:19
↓ 2 callersClassAsyncSoftFileLock
Simply watches the existence of the lock file.
src/filelock/asyncio.py:389
↓ 2 callersClass_Locks
src/filelock/_soft_rw/_sync.py:59
↓ 1 callersClassAioFileLock
tests/test_async_filelock.py:167
↓ 1 callersClassAsyncAcquireReturnProxy
A context-aware object that will release the lock file when exiting.
src/filelock/asyncio.py:54
↓ 1 callersClassAsyncSoftReadWriteLock
Async wrapper around :class:`SoftReadWriteLock` for ``asyncio`` applications. The sync class's blocking filesystem operations run on a threa
src/filelock/_soft_rw/_async.py:37
↓ 1 callersClassFilePathLock
tests/test_filelock.py:918
↓ 1 callersClassMySoftFileLock
tests/test_filelock.py:802
↓ 1 callersClassOptions
tasks/changelog.py:33
↓ 1 callersClass_HeartbeatThread
src/filelock/_soft_rw/_sync.py:733
↓ 1 callersClass_Hold
Everything that exists only while a lock is held; ``None`` when the instance has no lock.
src/filelock/_soft_rw/_sync.py:73
↓ 1 callersClass_MarkerInfo
src/filelock/_soft_rw/_sync.py:66
↓ 1 callersClass_Paths
src/filelock/_soft_rw/_sync.py:52
↓ 1 callersClass_RaceCon
tests/test_read_write_unit.py:637
↓ 1 callersClass_SlowRollbackCon
tests/test_read_write_unit.py:592
↓ 1 callersClass_ThreadLocalRegistry
src/filelock/_api.py:44
ClassAsyncFileLockContext
A dataclass which holds the context for a ``BaseAsyncFileLock`` object.
src/filelock/asyncio.py:37
ClassAsyncFileLockMeta
src/filelock/asyncio.py:75
ClassAsyncThreadLocalFileContext
A thread local version of the ``FileLockContext`` class.
src/filelock/asyncio.py:50
ClassAsyncUnixFileLock
Uses the :func:`fcntl.flock` to hard lock the lock file on unix systems.
src/filelock/asyncio.py:393
ClassAsyncWindowsFileLock
Uses the :func:`msvcrt.locking` to hard lock the lock file on windows systems.
src/filelock/asyncio.py:397
ClassBaseAsyncFileLock
Base class for asynchronous file locks. .. versionadded:: 3.15.0
src/filelock/asyncio.py:109
ClassBaseFileLock
Abstract base class for a file lock object. Provides a reentrant, cross-process exclusive lock backed by OS-level primitives. Subclasses imp
src/filelock/_api.py:182
ClassFileLockContext
A dataclass which holds the context for a ``BaseFileLock`` object.
src/filelock/_api.py:75
ClassFileLockMeta
src/filelock/_api.py:113
ClassLock1
tests/test_filelock.py:889
ClassLock2
tests/test_filelock.py:892
ClassPatchedPythonDomain
docs/conf.py:82
ClassThreadLocalFileContext
A thread local version of the ``FileLockContext`` class.
src/filelock/_api.py:106
ClassWindowsFileLock
Uses the :func:`msvcrt.locking` function to hard lock the lock file on Windows systems. Lock file cleanup: Windows attempts to delet
src/filelock/_windows.py:50
Class_ReadWriteLockMeta
Metaclass that handles singleton resolution when is_singleton=True. Singleton logic lives here rather than in ReadWriteLock.get_lock so that
src/filelock/_read_write.py:59
Class_SoftRWMeta
src/filelock/_soft_rw/_sync.py:86