Instance Checker
A simple and powerful Python utility to count running instances of an application.
Usage Example
from instance_checker.utils import CountHelper
helper = CountHelper(lock_dir="/tmp/my_app_locks")
print(helper.process_count("my_app")) #> 2
print(helper.pid_file_count("my_app")) #> 1
Installation
pip install instance-checker
License
MIT License — feel free to use it in any project! 🎉
Documentation
https://instance-checker.dkurchigin.ru/
Author
Made with ❤️ by @dkurchigin
Gitverse
Metadata
Release files for instance_checker 0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| instance_checker-0.4.3.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| instance_checker-0.4.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / instance_checker-0.4.3.tar.gz
| Download URL | instance_checker-0.4.3.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
335574aff1bd98c03abd0552508b448c4ff549aaf8dda5ea31c90de0a49c3f7f
|
|
BLAKE2b-256 checksum How to use checksums |
247df83ad439f148665a3d51110a8c77245849820f32c7b030e5e78f43038d2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.25.9 CPython/3.13.7 Linux/5.15.0-144-generic
|
Release files / instance_checker-0.4.3-py3-none-any.whl
| Download URL | instance_checker-0.4.3-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58c5c4c5cce39d8b79f4ec6c675d16e3f8d57e3e8f1ffe008a2101b1cc4b7332
|
|
BLAKE2b-256 checksum How to use checksums |
3afe76cd2f6012a46c5e7529557297674f38b95642ff4d6fd94912c3ae0fd4a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.25.9 CPython/3.13.7 Linux/5.15.0-144-generic
|