locket
File-based locks for Python on Linux and Windows
1.0.0
23M downloads/mo
#968 most downloaded on PyPI
mwilliamson/locket.py
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2.3 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
14 years old
5 releases · first in 2013
0 releases in the last 12 months
see the full history below
Release timeline
5 releases · Feb 2013 to Apr 2022Releases
latest 5-
1.0.020 Apr 2022Commits, not release notes
This project publishes no release notes. Between
0.2.1and1.0.0there were 20 commits, 16 of them substantive:- Fix #7: better file locking on Windows
- Use native Windows types
- Address review comments
- Run tests on Windows
- Drop Python 3.4 support
- Fix formatting in README
- Explicitly mention LockError in README
- Close file when acquire() fails
- Raise LockError when calling release on an unlocked lock
- Use time.monotonic() when available
- Add explicit support for Python 3.10
- Update makefile
- Replace nose with pytest
- Update README
- Fix tests on Windows
- Fix wording of description
-
0.2.119 Jan 2021Commits, not release notes
This project publishes no release notes. Between
0.2.0and0.2.1there were 24 commits, 22 of them substantive:- Use setuptools instead of distutils
- Fix formatting in README.rst
- Update .travis.yml to use tox
- Explicitly list Python versions in .travis.yml
- Support Python 3.5 and 3.6
- Fix #5: make sure it is sane to use different timeouts on the same file (#6)
- Clarify test
- Add comment on reason for test
- Add test explicitly checking file lock identity
- Add explicit timeout to test
- Remove FreeBSD reference from LICENSE
- Update supported Python versions to 2.7 and >= 3.4
- Update Python versions in tox.ini
- Add python_requires to setup.py
- Add license to setup.py
- remove unused attr
- Replace Travis with GitHub Actions
- Add explicit support for Python 3.9
- Update LICENSE for consistency
- Add installation instructions to README
…and 2 more.
-
0.2.019 May 2015Commits, not release notes
This project publishes no release notes. Between
0.1.1and0.2.0there were 24 commits, 23 of them substantive:- Add author_email to setup.py
- Update makefile
- Mark test function as not being a test itself
- Use spur.local 0.3.6 instead of spur 0.2.x
- Get the tests passing on Python 3
- Add tox.ini
- Update .gitignore
- Add .travis.yml
- Add py34 to tox.ini
- Add classifiers to setup.py
- Use README.rst instead of README.md
- Simplify MANIEST.in
- whitespace
- Add thread lock onto lock_file
- try/except/finally blocks for thread_lock
- naked raise after thread lock release
- Extract non-blocking acquire code
- Prevent same lock object from being acquired twice
- Ensure that same path cannot be acquired twice
- Ensure that lock files are reused
…and 3 more.
-
0.1.103 Feb 2013Nothing published for this version
-
0.1.003 Feb 2013Nothing published for this version