--- id: filelock version: "3.32.3" license: MIT license_treatment: permissive maintenance: active --- # filelock — A platform independent file lock. License: permissive · Maintenance: active · Popularity: top 100 on PyPI ## Install pip install filelock uv add filelock poetry add filelock ## Description # filelock [![PyPI](https://img.shields.io/pypi/v/filelock)](https://pypi.org/project/filelock/) [![Supported Python versions](https://img.shields.io/pypi/pyversions/filelock.svg)](https://pypi.org/project/filelock/) [![Documentation status](https://readthedocs.org/projects/py-filelock/badge/?version=latest)](https://py-filelock.readthedocs.io/en/latest/?badge=latest) [![Downloads](https://static.pepy.tech/badge/filelock/month)](https://pepy.tech/project/filelock) [![check](https://github.com/tox-dev/py-filelock/actions/workflows/check.yaml/badge.svg)](https://github.com/tox-dev/py-filelock/actions/workflows/check.yaml) For more information checkout the [official documentation](https://py-filelock.readthedocs.io/en/latest/index.html). ## AI interpretation — verify before relying filelock provides a platform-independent file locking mechanism for coordinating access to files across multiple processes or threads. 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. [View on SkillFed](https://skillfed.io/packages/filelock) · [View on PyPI](https://pypi.org/project/filelock/)