Metadata-Version: 2.1
Name: jetsam
Version: 0.1.0
Summary: Takes a function and daemonizes it
Author: Tony B
Author-email: tony@ballast.dev
License: MIT
Project-URL: source, https://gitlab.com/ballast-dev/daemonizer
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# Daemonizer
- True daemonizer using native C calls  
- Currently only compatible with `*nix` file systems 

> (Extra Paranoid Edition) uses that **double fork magic!** 

## C Extension with room to grow
To showcase a C library being used as a _native python module_

## Example 
```python
from jetsam import daemon
import time
import logging

@daemon
def stuff():
    logging.basicConfig(
        filename="logfile", 
        level=logging.DEBUG, 
        filemode="w"
    )
    while True:  # to simulate long running proc
        time.sleep(1)
        logging.debug("I am running headless!")

stuff()
print("stuff() returns immediately and is daemonized")
```
