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.

Source Distribution

apdaemon-0.2.6.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

apdaemon-0.2.6-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file apdaemon-0.2.6.tar.gz.

File metadata

  • Download URL: apdaemon-0.2.6.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for apdaemon-0.2.6.tar.gz
Algorithm Hash digest
SHA256 0dd66425a8182b05c362ca2654a37262d24a0d37a04a29f8276791770f6425ee
MD5 8d79f942fb5f4716831f7aca28014224
BLAKE2b-256 d3bbb4fb729b42e63063e92cf34db09dee2db3090766576dd6df43925c2759ae

See more details on using hashes here.

File details

Details for the file apdaemon-0.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for apdaemon-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2701228fc30fa25dfe0f9bbc795997e0d12f09c4c447e4f7bd1536e3cb44aafe
MD5 925e34aa8b1695f9199720a5980c5364
BLAKE2b-256 15e8cf69d9895f65b703c630c89dfb73cac0d7bff26f025666255f9fbd8f857b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page