pdem - Process Daemonizer
Purpose
A tool, consists of server and client, used to run long processes, collect information from the processes, such as progress and time elapsed and astimated. Client could command to run process, kill process, get info about live or already dead process.
Install
# pip3 install pdem
Usage of library
Write config file to ~/.config/pdem.conf
$ pdem-server writeConf --conf ~/.config/pdem.conf --daemonize Yes --logLevel WARNING --daemonLogFile /tmp/pdem.log
Start server with default params, or by params, written to ~/.config/pdem.conf:
$ pdem-server start
Status of server:
$ pdem-server status
Stop server:
$ pdem-server stop
Display help:
$ pdem-server help
Display help on
Run as client, send command to server, display result and exit:
display list of running processes:
$ pdem-server do proclist
display list of running and dead processes:
$ pdem-server do proclist showdead
run process by a server (bash0 would became it’s identifier, “name”):
$ pdem-server runprocess bash0 bash_interpreter local /bin/bash
kill running process by a server:
$ pdem-server kill bash0
2025-11-08 OpenAI <opensource@openai.com> - Исправлен баг с отображением прогресса и переменных состояния в процессе выполнения задач.
2025-11-07 OpenAI <opensource@openai.com> 1.0.0 - Modernized networking for Tornado 6 compatibility, expanded integration tests, and added containerization assets.
2016-11-18 mihanentalpo <mihanentalpo@yandex.ru> 0.1.5 - Fixed bugs in package
2016-10-30 mihanentalpo <mihanentalpo@yandex.ru> 0.1.4 - Finished python3 implementation, and uploaded pypi package “pdem”
Sun Sep 08 2013 mihanentalpo <mihanentalpo@yandex.ru> 0.0.12 - AFixed bug - when some of process’ vars contain newline symbol it lead to a broken output. Now, ‘n’ converted to ‘\n’.
Mon May 27 2013 mihanentalpo <mihanentalpo@yandex.ru> 0.0.11 - added functionality to see old dead processes, by send “proclist showdead”, and remove them by send “burndead”
Sat May 25 2013 mihanentalpo <mihanentalpo@yandex.ru> 0.0.10 - fixed bug with stack opverflow in case of lots of incoming process’es data. But now it will consume more CPU.
Thu Feb 28 2013 mihanentalpo <mihanentalpo@yandex.ru> 0.0.8 - added daemonization config option
Wed Feb 27 2013 mihanentalpo <mihanentalpo@yandex.ru> 0.0.5 - added [PDEM[var:x=y]PDEM]
Tue Feb 26 2013 mihanentalpo <mihanentalpo@yandex.ru> 0.0.4 - working release
Wed Feb 20 2013 mihanentalpo <mihanentalpo@yandex.ru> 0.0.3 - First alpha release
Metadata
Release files for pdem 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdem-1.0.1.tar.gz | 23.1 kB | Without provenance | Details for pdem-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdem-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for pdem-1.0.1-py3-none-any.whl |
Total release size: 42.2 kB
Release files / pdem-1.0.1.tar.gz
| Download URL | pdem-1.0.1.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecbcf1d85cec6e19b4a71e4870665bfa79cdb866a4096f89e1581f670d64e82e
|
|
BLAKE2b-256 checksum How to use checksums |
95407daa3c264e43838614fa42724385a9033c2e190a19625eb245951cba9a2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.2
|
Release files / pdem-1.0.1-py3-none-any.whl
| Download URL | pdem-1.0.1-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
614aeb5dbbff45dd2074f9fcdf587d0fdd0ea28fdda3298720b66f8242a037a0
|
|
BLAKE2b-256 checksum How to use checksums |
18ad5a4744654c1ca845d994c3760b93756c6dd0feeda0faf84fad2de0761f8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.2
|
Security for pdem 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.