Metadata-Version: 2.1
Name: exit
Version: 0.0.2
Summary: register function to be executed at termination
Home-page: https://github.com/looking-for-a-job/exit.py
License: UNKNOWN
Keywords: exit termination
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
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
Requires-Dist: setuptools

[![](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
+   based on [grodola.blogspot.com/2016/02/how-to-always-execute-exit-functions-in-py.html](http://grodola.blogspot.com/2016/02/how-to-always-execute-exit-functions-in-py.html)

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

