Skip to main content

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]



Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for apdaemon, version 0.2.8
Filename, size File type Python version Upload date Hashes
Filename, size apdaemon-0.2.8-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size apdaemon-0.2.8.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page