Metadata-Version: 1.1
Name: deiman
Version: 0.1.1
Summary: Deiman is a Python utility class for daemonizing a process. It provides start and stop methods, as well as a method for retrieving running status information. Linux/Unix-only.
Home-page: http://syslog.tv/deiman
Author: Kura
Author-email: kura@kura.io
License: (The MIT License)

Copyright (c) 2013 Kura

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the 'Software'), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Description: ======
        Deiman
        ======
        
        Deiman is a Python utility class for daemonizing a process.
        It has start and stop methods, as well as a method for retrieving running status information.
        
        Linux/Unix-only.
        
        Uses the Unix double fork method to fork your process to the background.
        
        
        Installation
        ============
        
        From PyPI
        ~~~~~~~~~
        
          pip install deiman
        
        Or
        
          easy_install deiman
        
        
        From GitHub
        ~~~~~~~~~~~
        
          pip install -e git+git://github.com/kura/deiman.git#egg=deiman
        
        From source
        ~~~~~~~~~~~
        
        Download the latest tarball from PyPI or GitHub. Unpack and run:
        
          python setup.py install
        
        Usage
        =====
        
        To use Deiman, you simply need to import the main Deiman class, 
        passing a path to where you want the pid to be stored and call 
        the start and stop methods as required::
        
          from deiman.deiman import Deiman
        
        
          d = Deiman("/tmp/a.pid")
          d.start()
          
          while True:
              print "This print will be hidden because I am daemonized"
        
        Examples
        ========
        
        See the examples_ directory for usage examples on GitHub.
        
        .. _examples: https://github.com/kura/deiman/tree/master/examples
        
Platform: linux
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Unix
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
