Python Process Daemon Tool.
Project description
apdaemon: Python Process Daemon Tool.
====================================
Install
-------
via pip ::
pip3 install apdaemon
example::
from apdaemon.daemon import daemon
@daemon(service="maind")
def main():
import time
while True:
print("hello world")
time.sleep(3)
if __name__ == '__main__':
main()
run command: python3 daemon.py [start[default]|status|stop|restart]
====================================
Install
-------
via pip ::
pip3 install apdaemon
example::
from apdaemon.daemon import daemon
@daemon(service="maind")
def main():
import time
while True:
print("hello world")
time.sleep(3)
if __name__ == '__main__':
main()
run command: python3 daemon.py [start[default]|status|stop|restart]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
apdaemon-0.2.8.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file apdaemon-0.2.8.tar.gz
.
File metadata
- Download URL: apdaemon-0.2.8.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adf3f66a93056d7804106ada052fdc977fa852768d22e62288e1ee59fd441a45 |
|
MD5 | fd2a6f2f343cc4661f8850e927c33559 |
|
BLAKE2b-256 | 0f91c350b9c403ee144571237f3f1edcdf1d68e09f159a480615f8860d44cc8d |
File details
Details for the file apdaemon-0.2.8-py3-none-any.whl
.
File metadata
- Download URL: apdaemon-0.2.8-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ac6065980a10be443660fac604ffd479df45ce6034e9401d60f6c4211a46b6c |
|
MD5 | d51ef3886496bbf563918aa9d0ff94d9 |
|
BLAKE2b-256 | 42e6e29bb1f0e8303c700b254a70c6e6c9b5c5a52c285a4432c1e237d133d5c9 |