{"enrichment":{"capability":"portalocker provides cross-platform file locking with an easy API, supporting exclusive and shared locks on Windows, Linux, Unix, and macOS, plus optional Redis-based distributed locks and PID-file locking for singleton patterns.","verdict":"portalocker is a mature, actively maintained library with zero known vulnerabilities, low install friction, and permissive licensing. It is well-suited for applications needing cross-platform file locking or distributed locks via Redis. The Python 3.10+ requirement and optional Windows dependency for shared locks are the only considerations."},"id":"portalocker","links":{"html":"https://skillfed.io/packages/portalocker","md":"https://skillfed.io/packages/portalocker.md","pypi":"https://pypi.org/project/portalocker/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-02","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"portalocker","python_support":"supports_current","summary":"Cross-platform file locking, with Redis, PID-file and bounded-semaphore locks"},"popularity":{"tier":"top_1000"},"security":{"n_vulnerabilities":0},"version":"4.1.0"}
