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 ( just___28@gmail.com )
Contact
Please submit an issue if you encounter a bug and please email any questions or requests to @authors
Metadata
Release files for mattdaemon-py3 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mattdaemon_py3-1.1.2.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mattdaemon_py3-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / mattdaemon_py3-1.1.2.tar.gz
| Download URL | mattdaemon_py3-1.1.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1085051703c4e9ca42281e16f5aed14715e5e6dc183d11acf8f3d336842a52c7
|
|
BLAKE2b-256 checksum How to use checksums |
6b5d5006f97193ed82f8e8b15a58b529c63af167c6ff62bf56815cdab2854ae4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Release files / mattdaemon_py3-1.1.2-py3-none-any.whl
| Download URL | mattdaemon_py3-1.1.2-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e695d9ca8b4226d71f1712e7e3f9caea31c038de7bad43ac1e135e58edd43db
|
|
BLAKE2b-256 checksum How to use checksums |
1a24765585268dcdbe3524115256441ced9a1f13ff35db61ffb315a825b06fdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|