Metadata-Version: 2.1
Name: python-daemon
Version: 3.1.2
Summary: Library to implement a well-behaved Unix daemon process.
Author-email: Ben Finney <ben+python@benfinney.id.au>
Maintainer: Ben Finney
Maintainer-email: ben+python@benfinney.id.au
License: Copying this work        #################                =?unknown-8bit?q?=E2=80=98python-daemon=E2=80=99_is_under_Copyright_=C2=A9_2008=E2=80=932024_Ben_Finney_and_others=2E________________This_work=2C_=E2=80=98python-daemon=E2=80=99=2C_is_free_software=3A_you_may_copy=2C_modify=2C________and/or_distribute_this_work_under_certain_conditions=3B_see_the_relevant________files_for_specific_grant_of_license=2E_No_warranty_expressed_or_implied=2E________________=E2=80=98daemon=E2=80=99_library________=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D________________The_files_=E2=80=98daemon/*=E2=80=99_constitute_the_Python_=E2=80=98daemon=E2=80=99_library=2E________________The_Python_=E2=80=98daemon=E2=80=99_library_is_licensed_to_you_under_the_terms_of_the_Apache________License=2C_version_2=2E0_as_published_by_the_Apache_Software_Foundation=2E________See_the_file_=60LICENSE=2EASF-2_=3CLICENSE=2EASF-2=3E=60=5F_for_details=2E________________All_other_files________=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D________________All_other_files_in_this_distribution=2C_including_but_not_limited_to_the________packaging_definition_and_test_suite=2C_are_licensed_to_you_under_the_terms_of_the________GNU_General_Public_License_as_published_by_the_Free_Software_Foundation=3B________version_3_of_that_license_or_any_later_version=2E________See_the_file_=60LICENSE=2EGPL-3_=3CLICENSE=2EGPL-3=3E=60=5F_for_details=2E________________=0C________________=2E=2E____________This_document_is_written_using_=60reStructuredText=60=5F_markup=2C_and_can____________be_rendered_with_=60Docutils=60=5F_to_other_formats=2E____________________=2E=2E__=5FDocutils=3A_https=3A//docutils=2Esourceforge=2Eio/____________=2E=2E__=5FreStructuredText=3A_https=3A//docutils=2Esourceforge=2Eio/rst=2Ehtml________________=2E=2E____________This_is_free_software=3A_you_may_copy=2C_modify=2C_and/or_distribute_this_work____________under_the_terms_of_the_Apache_License_version_2=2E0_as_published_by_the____________Apache_Software_Foundation=2E____________No_warranty_expressed_or_implied=2E_See_the_file_=E2=80=98LICENSE=2EASF-2=E2=80=99?= for details.                ..            Local variables:            coding: utf-8            mode: text            mode: rst            End:            vim: fileencoding=utf-8 filetype=rst :        
Project-URL: Home Page, https://pagure.io/python-daemon/
Project-URL: Change Log, https://pagure.io/python-daemon/blob/main/f/ChangeLog
Project-URL: Source, https://pagure.io/python-daemon/
Project-URL: Issue Tracker, https://pagure.io/python-daemon/issues
Keywords: daemon,fork,unix
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/plain
License-File: LICENSE.ASF-2
License-File: LICENSE.GPL-3
Requires-Dist: lockfile (>=0.10)
Provides-Extra: build
Requires-Dist: python-daemon[doc] ; extra == 'build'
Requires-Dist: wheel ; extra == 'build'
Requires-Dist: build ; extra == 'build'
Requires-Dist: docutils ; extra == 'build'
Requires-Dist: changelog-chug ; extra == 'build'
Provides-Extra: devel
Requires-Dist: python-daemon[dist,test] ; extra == 'devel'
Provides-Extra: dist
Requires-Dist: python-daemon[build] ; extra == 'dist'
Requires-Dist: twine ; extra == 'dist'
Provides-Extra: doc
Provides-Extra: static-analysis
Requires-Dist: pip-check ; extra == 'static-analysis'
Requires-Dist: pycodestyle (~=2.12) ; extra == 'static-analysis'
Requires-Dist: pydocstyle (~=6.3) ; extra == 'static-analysis'
Requires-Dist: pyupgrade (~=3.17) ; extra == 'static-analysis'
Requires-Dist: isort (~=5.13) ; extra == 'static-analysis'
Provides-Extra: test
Requires-Dist: python-daemon[build,static-analysis] ; extra == 'test'
Requires-Dist: testtools ; extra == 'test'
Requires-Dist: testscenarios (>=0.4) ; extra == 'test'
Requires-Dist: coverage ; extra == 'test'

This library implements the well-behaved daemon specification of
:pep:`3143`, ���Standard daemon process library���.

A well-behaved Unix daemon process is tricky to get right, but the
required steps are much the same for every daemon program. A
`DaemonContext` instance holds the behaviour and configured
process environment for the program; use the instance as a context
manager to enter a daemon state.

Simple example of usage::

    import daemon

    from spam import do_main_program

    with daemon.DaemonContext():
        do_main_program()

Customisation of the steps to become a daemon is available by
setting options on the `DaemonContext` instance; see the
documentation for that class for each option.
