Easily daemonize your python projects
Project description
This package helps in daemonize your Python3 projects.
Installation
You can install directly after cloning:
use the Python package:
.. code-block:: bash
$ pip install --user mattdaemon_py3
Features
-
superuser (root) enforcement. Your script either requires it or it doesn't. You choose!
- If these checks fail, the script will exit with a status of 1.
-
Uses the double-fork magic of UNIX to daemonize.
Dependencies
Python
_ 3
Notes
- This is designed for CLI scripts, because it decouples from the parent environment and all.
- Includes annoying messages when you use root to run a script.
daemon.start()
anddaemon.stop()
don't print messages. You'll have to decide what to print, if anything.- MIT Licensed code, so you're free to do whatever you want with this. Sell it, steal it, improve it, anything at all!
Running / Usage
- Add the script to your dependencies, it's on pypi! (
pip install mattdaemon
) - Documentation is available on
readthedocs
_, so check there for usage.
Usage
License
MIT License
.. code:: rst
|MIT license|
.. image:: https://img.shields.io/badge/License-MIT-blue.svg
Authors
Maurya Allimuthu ( catchmaurya@gmail.com )
Santosh Bhaskar ( justsbk28@gmail.com )
Contact
Please submit an issue if you encounter a bug and please email any questions or requests to @authors
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
mattdaemon_py3-1.1.1.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for mattdaemon_py3-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd538a7154abb4880e7590844a1875f8260ae11f0dfc8e48eec98b534211766 |
|
MD5 | f10f91119b0f151516bc16923ad82ac6 |
|
BLAKE2b-256 | 3c13a90ce76d20f80b8c216b64236df29bf26420b3c5143f6cab28685c65c722 |