a Daemon Starter
Project description
DaemonStarter
DaemonStarter demo:
from daemon_starter import starter, get_logger
def exec():
while 1:
pass
starter(exec)
# or
def run(_logger):
watcher = Task(_logger)
watcher.start()
if __name__ == '__main__':
logger = get_logger('public_watcher.log')
starter(run, _logger=logger)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
DaemonStarter-0.0.0.6.tar.gz
(2.5 kB
view details)
File details
Details for the file DaemonStarter-0.0.0.6.tar.gz
.
File metadata
- Download URL: DaemonStarter-0.0.0.6.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227c691e44581724f92858c593b6dc4242de78bb454a3b54cc8642b2337f2780 |
|
MD5 | 102f425114d4c01722d03a7047c129d9 |
|
BLAKE2b-256 | 7014566ff8fe8f4034af2f9a9a3dfa800d7ef7495dd44453cdb6cf7ad20ddf1e |