🌠 Allow a single instance of a Python application to run at once | platform agnostic
-
Updated
Dec 16, 2025 - Python
🌠 Allow a single instance of a Python application to run at once | platform agnostic
A lightweight, zero-dependency, cross-platform process single-instance lock for Python using OS-level advisory file locks. (基于系统文件锁的 Python 轻量级跨平台进程单例锁,零依赖,防强杀/崩溃死锁。)
The boring parts of a small Python desktop app: single-instance lock, XDG paths, autostart, menu entry, session and tray detection, rotating logs.
To associate your repository with the single-instance topic, visit your repo's landing page and select "manage topics."