Skip to main content

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() and daemon.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 ( just___28@gmail.com )

Contact

Please submit an issue if you encounter a bug and please email any questions or requests to @authors

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

mattdaemon_py3-1.1.2.tar.gz (5.0 kB view hashes)

Uploaded source

Built Distribution

mattdaemon_py3-1.1.2-py3-none-any.whl (5.4 kB view hashes)

Uploaded py3

Supported by

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