Portalocker Versions Save

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.

v2.8.2

9 months ago

Removed docs from build to fix #88 again

v2.8.1

9 months ago

Removed docs from build to fix #88

v2.8.0

9 months ago

Added support for Python 3.11 and 3.12 thanks to @hugovk. Made the package fully ruff, pyright and mypy compliant with automated testsing using both tox and Github actions

v2.7.0

1 year ago

Added fail_when_locked=False support to BoundedSemaphore thanks to @flaviens

v2.6.0

1 year ago

Added fileno() support. Fixes #80 on posix systems

v2.5.1

1 year ago

Added clear warning when locking in non-blocking mode without specifying either EXCLUSIVE or SHARED mode. Fixes #77

v2.5.0

1 year ago

Fixed shared locks on Windows and simplified locking mechanism

v2.4.0

2 years ago

Added warning when trying to use a timeout in blocking mode. And removed deprecated testing code and checks

untagged-24f08340fba4610e9ee8

2 years ago

v2.3.2

2 years ago

commit 5590a941f915904846593745ec632d2e42259534 Merge: 4257ced 0806422 Author: Rick van Hattem [email protected] Date: Fri Aug 27 15:44:10 2021 +0200

Merge tag 'v2.3.2' into develop

Added semver indicator and specified needed Python release thanks to @rayluo v2.3.2

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCgAdFiEEFJMl/RWQTpxOuJ6V6BRE6c4faV0FAmEo7CoACgkQ6BRE6c4f
# aV3OJA/+O4ck6qU/Tf7yudYCYK+xh+dpZ4A3kfxX/Ed5K0Q/1CQhQee1hqO7p4NE
# aTQbLpjsIBrpNNKjgHkz7qKXFDLhjygji0R6YRE4dxXbEbEdC98NY907FMOEO0kM
# cKZt/3FFBpW/LgTYnJ12cIw5Cwh+kHGnRIyisdUZuMcp3sTpANhMZ9eySyhrdh5k
# T3eROMZ+b0qItGnJcMPcyGz/UkkyKWdFH9cN63wMq1doh3nETdib761h47p/hmBz
# FYuYb5rmA9O2OORLJ1D06Q5d/KxIWG5u4XNYoNQ3BWBIPf53bcqkvcnztu5IyJmd
# ojEW8WAMRPp5m4tdS1Y/DrsplQxU5A83VW7Hu0DGB3xv4y0vsO9TIlEPgKCMu/jG
# Je2RQOMJarmLNin4MYs8DCn4p97mQBOyX+HKr4wa2IV+0lJd0+TaTqtKAx626HMQ
# Dq/d58g2n+F0vTjr0+2VeJAhsIXdbgDyAC2NN8rS6DEInmLZgDnHmu57VomEeR7Q
# NcClcO5O2dEtjBLt1SnKkXpjc8VqU1yHMwCnI8KUo40Iq7hLrSBqBGbHP7Jp7rRz
# cWuNdRtRmWTjHnA9JeH327ScC6Ikzuv7rbPRZttHliuGMxxHSLKc48S2xL1k7Cq4
# 5edh7gW5VDvA6e5cevt9PAHLeQRECecWEASkd1ca8AUNkZ+dheE=
# =FmXv
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Aug 27 15:44:10 2021 CEST
# gpg:                using RSA key 149325FD15904E9C4EB89E95E81444E9CE1F695D
# gpg: Good signature from "/Rick van Hattem <[email protected]>"/ [ultimate]
# gpg:                 aka "/[jpeg image of size 9662]"/ [ultimate]