skillfed

filelock

A platform independent file lock.

filelock Permissive license MIT Active 975 v3.32.3 released

Install

filelock on PyPI

pip

pip install filelock

uv

uv add filelock

poetry

poetry add filelock

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 0 days since the last release
Last repo commit
First released
Popularity one of the 100 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: filelock-3.32.3-py3-none-any.whl

Keywords: application, cache, directory, log, user

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: InternetTopic :: Software Development :: LibrariesTopic :: System

About filelock

from the package's own PyPI description — quoted content, verbatim

Read as markdown · JSON record · Source repository · Homepage · Docs

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

filelock provides a platform-independent file locking mechanism for coordinating access to files across multiple processes or threads.

Active maintenance with recent releases; zero runtime dependencies and a pure-Python wheel keep installation friction minimal.

MIT license permits unrestricted use, modification, and distribution in both open and closed-source projects.

Usage

pip install filelock==3.32.3

from filelock import FileLock

with FileLock('myfile.lock'):
    # Critical section protected by lock
    pass

Requires Python 3.10 or later.

Verdict: filelock is a stable, actively maintained top-100 PyPI package with no known vulnerabilities, zero dependencies, and permissive MIT licensing. It is production-ready for any application needing cross-platform file locking.

file lockingcross-platform file lockprocess synchronizationconcurrent file accessmutex file lockdirectory lockapplication lock

Similar packages