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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mattdaemon_py3-1.1.2.tar.gz.

File metadata

  • Download URL: mattdaemon_py3-1.1.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for mattdaemon_py3-1.1.2.tar.gz
Algorithm Hash digest
SHA256 1085051703c4e9ca42281e16f5aed14715e5e6dc183d11acf8f3d336842a52c7
MD5 6a49ffe5be0566bd79e8281856d66f4c
BLAKE2b-256 6b5d5006f97193ed82f8e8b15a58b529c63af167c6ff62bf56815cdab2854ae4

See more details on using hashes here.

File details

Details for the file mattdaemon_py3-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mattdaemon_py3-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e695d9ca8b4226d71f1712e7e3f9caea31c038de7bad43ac1e135e58edd43db
MD5 2a55635b91e85aca0608684d2c33a265
BLAKE2b-256 1a24765585268dcdbe3524115256441ced9a1f13ff35db61ffb315a825b06fdf

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