Metadata-Version: 2.1
Name: exit
Version: 2018.11.19
Summary: register function to be executed at termination
Home-page: https://github.com/looking-for-a-job/exit.py
License: UNKNOWN
Description: [![](https://img.shields.io/pypi/pyversions/exit.svg?longCache=True)](https://pypi.org/pypi/exit/)
        
        #### Install
        ```bash
        $ [sudo] pip install exit
        ```
        
        #### Features
        +   better than `atexit.register`
        +   `SIGKILL`, `SIGSTOP` or `os._exit()` not supported
        
        #### Functions
        function|description
        -|-
        `exit.register(func=None, signals=[<Signals.SIGTERM: 15>])`|Register a function which will be executed on exit
        
        #### Examples
        ```python
        >>> import exit
        >>> def on_exit():
            print("goodbye world")
        
        >>> exit.register(on_exit)
        ```
        
        #### Links
        +   [How to always execute exit functions in Python](http://grodola.blogspot.com/2016/02/how-to-always-execute-exit-functions-in-py.html)
        
        <p align="center"><a href="https://pypi.org/project/readme-md/">readme-md</a> - README.md generator</p>
Keywords: exit termination
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown
