|License| |Release| |Supported versions| |Docs| |Contact| |Blog|
gracefull-shutdown-py
=====================
Helps to support gracefull shutdown for your python application.
Example of usage
----------------
Simple
^^^^^^
.. code:: python
from gracefull_shutdown import ExitSignalHandler
shutdown = ExitSignalHandler()
while not shutdown.triggered:
sleep(1)
.. |Release| image:: https://img.shields.io/github/release/zifter/gracefull-shutdown-py.svg
:target: https://github.com/zifter/gracefull-shutdown-py/releases
.. |Supported versions| image:: https://img.shields.io/pypi/pyversions/gracefull-shutdown-py.svg
:target: https://pypi.org/project/gracefull-shutdown-py/
.. |Contact| image:: https://img.shields.io/badge/telegram-write%20me-blue.svg
:target: https://t.me/zifter
.. |Blog| image:: https://img.shields.io/badge/site-my%20blog-yellow.svg
:target: https://zifter.github.io/
.. |License| image:: https://img.shields.io/badge/License-MIT-yellow.svg
:target: https://opensource.org/licenses/MIT
.. |Docs| image:: https://readthedocs.org/projects/gracefull-shutdown-py/badge/?version=latest&style=flat
:target: https://gracefull-shutdown-py.readthedocs.io/en/latest/
Raw data
{
"_id": null,
"home_page": "https://github.com/zifter/gracefull-shutdown-py",
"name": "gracefull-shutdown-py",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "",
"keywords": "gracefull,shutdown",
"author": "Aleh Strakachuk",
"author_email": "zifter.ai@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/cc/ad/c917636fddeb972665c94a4f88ad297ad469d7cfa31bb9bbd1bdc30dadde/gracefull-shutdown-py-0.2.1.tar.gz",
"platform": "any",
"description": "|License| |Release| |Supported versions| |Docs| |Contact| |Blog|\n\ngracefull-shutdown-py\n=====================\n\nHelps to support gracefull shutdown for your python application.\n\nExample of usage\n----------------\nSimple\n^^^^^^\n.. code:: python\n\n from gracefull_shutdown import ExitSignalHandler\n\n shutdown = ExitSignalHandler()\n while not shutdown.triggered:\n sleep(1)\n\n.. |Release| image:: https://img.shields.io/github/release/zifter/gracefull-shutdown-py.svg\n :target: https://github.com/zifter/gracefull-shutdown-py/releases\n.. |Supported versions| image:: https://img.shields.io/pypi/pyversions/gracefull-shutdown-py.svg\n :target: https://pypi.org/project/gracefull-shutdown-py/\n.. |Contact| image:: https://img.shields.io/badge/telegram-write%20me-blue.svg\n :target: https://t.me/zifter\n.. |Blog| image:: https://img.shields.io/badge/site-my%20blog-yellow.svg\n :target: https://zifter.github.io/\n.. |License| image:: https://img.shields.io/badge/License-MIT-yellow.svg\n :target: https://opensource.org/licenses/MIT\n.. |Docs| image:: https://readthedocs.org/projects/gracefull-shutdown-py/badge/?version=latest&style=flat\n :target: https://gracefull-shutdown-py.readthedocs.io/en/latest/\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "attr: gracefull_shutdown.__doc__",
"version": "0.2.1",
"split_keywords": [
"gracefull",
"shutdown"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6f702e767c80460d6af5ce5d86acd34d3275041e5723f8f92ee951ca242686da",
"md5": "165bf87ba5744cd8ac224f95ab155c2f",
"sha256": "e3573fd849d079b00f1689414730ad2a16e797e1a53bce5eb5db1bc6351245e7"
},
"downloads": -1,
"filename": "gracefull_shutdown_py-0.2.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "165bf87ba5744cd8ac224f95ab155c2f",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.5",
"size": 3193,
"upload_time": "2023-01-13T17:14:44",
"upload_time_iso_8601": "2023-01-13T17:14:44.296113Z",
"url": "https://files.pythonhosted.org/packages/6f/70/2e767c80460d6af5ce5d86acd34d3275041e5723f8f92ee951ca242686da/gracefull_shutdown_py-0.2.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ccadc917636fddeb972665c94a4f88ad297ad469d7cfa31bb9bbd1bdc30dadde",
"md5": "6bed866697ea3b852184a270194569f3",
"sha256": "410f90643d772f6414369b88e3d27fc17571dc4072e015df537f66c9e964d1eb"
},
"downloads": -1,
"filename": "gracefull-shutdown-py-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "6bed866697ea3b852184a270194569f3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 2986,
"upload_time": "2023-01-13T17:14:45",
"upload_time_iso_8601": "2023-01-13T17:14:45.728459Z",
"url": "https://files.pythonhosted.org/packages/cc/ad/c917636fddeb972665c94a4f88ad297ad469d7cfa31bb9bbd1bdc30dadde/gracefull-shutdown-py-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-13 17:14:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "zifter",
"github_project": "gracefull-shutdown-py",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"tox": true,
"lcname": "gracefull-shutdown-py"
}