Registry / devops / sppm
library2.1.4pypypiunverified

SPPM is a Python process management library that simplifies daemonization, service supervision, and command-line process control. Current version 2.1.4 supports Python >=3.8.5. Released under MIT license, maintained on GitHub with irregular cadence.

pip install sppm
INSTALL
IMPORT
SIG · SPPM
S
sppm
devopspythonv2.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ProcessManager
from sppm_cli import ProcessManager
from sppm import ProcessManager
HappyLog
from sppm_help import HappyLog
build_sppm_help
from sppm_help import build_sppm_help

Initialize a ProcessManager, start a command as a managed process, check status, then stop it.

from sppm import ProcessManager pm = ProcessManager() pm.start('my_process', 'python worker.py') status = pm.status() print(status) pm.stop('my_process')
sppm --version
Debug
Known issues
gotchaProcessManager uses fork() on Unix; on Windows, it may fall back to subprocess spawn. Ensure your application code handles both.
fix
Test on target OS and handle platform-specific behavior.
affects: all
gotchaWhen running multiple processes, avoid starting processes with the same name; subsequent starts silently overwrite the previous entry.
fix
Use unique names per process or check if a name already exists via status().
affects: >=2.0.0
deprecatedThe 'run' method is deprecated in 2.1.0+; use 'start' instead.
fix
Replace pm.run(cmd) with pm.start('name', cmd).
affects: >=2.1.0
Upgrade
Version history
2.1.4latest on PyPI · released Jun 18, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
sppm — pip install sppm · libregistry