wolph/portalocker
An easy library for Python file locking. It works on Windows, Linux, BSD and Unix systems and can even perform distributed locking. Naturally it also supports the with statement.
PythonBSD-3-Clause
Issues
- 1
- 10
lock on NFS mount not working
#92 opened by alcoat - 2
Is this 2016 StackOverflow answer still accurate? (`fh = open(p); Lock(fh)` vs. `with Lock(p) as fh`)
#94 opened by joshuacwnewton - 3
Better Examples Needed
#76 opened by elibroftw - 0
'portalocker' has no attribute 'LockFlags'
#91 opened by danxinsihuo - 13
Version 2.7.0 Released in January 2023 was updated recently to remove support for Python 3.7
#90 opened by notshof - 5
docs files are installed in the wrong location
#88 opened by hubutui - 2
- 9
Require explicit name for BoundedSemaphore()?
#87 opened by dhoulder - 4
How to lock a file but be able to read it
#84 opened by CodingOctocat - 4
race condition for… file metadata?
#66 opened by niacdoial - 2
What are the different locking mechanisms?
#58 opened by rayluo - 3
Mismatch between documentation and implementation
#82 opened by clo-vis - 1
DLL load failed while importing win32file
#78 opened by 56907dzq - 2
fileno support
#80 opened by mockodin - 1
What is the actual license for this project?
#79 opened by dssd96 - 11
Windows shared lock with Python 3
#64 opened by barry-gallagher - 2
which cases would lead to exception in unlock
#54 opened by ZhuYuJin - 2
LockException(OSError(22, 'Invalid argument')) when using NON_BLOCKING flag on Linux
#77 opened by elibroftw - 4
Timeout not working with SHARED flag
#74 opened by daviddavo - 2
is lock reenterable?
#72 opened by SenjuObito - 2
distutils was depreacted in Python 3.10
#73 opened by tirkarthi - 2
Setting the DenyMode against a file
#70 opened by JANorman - 3
- 4
- 2
- 2
Sorry for OT
#61 opened by Paulchen-Panther - 6
Fix `ResourceWarning` when `AlreadyLocked`
#59 opened by BoniLindsley - 3
mode variable set but immediately overridden
#52 opened by naggie - 6
Rlock - with limit?
#57 opened by pliablepixels - 10
ModuleNotFoundError
#55 opened by MMK21Hub - 1
- 1
Depends on old and unsupported pytest-pep8
#51 opened by PureTryOut - 8
Lock file gets blocked on Windows if put in user home directory and not unlocked explicitly
#49 opened by olegvereshchynsky - 3
- 9
Add pypiwin32 as dependency on setup.py
#38 opened by evandrocoan - 2
tests directory
#44 opened by dbaio - 1
- 1
Passing arguments to underlying open()
#42 opened by aunsbjerg - 1
Do you mind/can you say which file has this `Permission denied` on the trackback?
#41 opened by evandrocoan - 5
Opening a write-locked file, but can't find contents (when opening a pickled pandas DataFrame)
#40 opened by mar-ses - 6
PyWin32 as dependency?
#39 opened by lazuka13 - 4
Shared locks with msvcrt backend
#29 opened by matekatona - 15
Does portalocker support python 3.5.2 win?
#31 opened by vitidev - 2
- 4
Link to docs into project header
#25 opened by techtonik - 3
Support for other Unixes
#35 opened by bmw - 4
How to remove the .lock file after the unlock?
#28 opened by joanlopez - 1
Document locking gotcha's on Linux
#27 opened by techtonik - 1
print portalocker.__version__
#24 opened by techtonik