|License| |Release| |Supported versions| |Docs| |Contact| |Blog|
graceful-shutdown-py
=====================
Helps to support graceful shutdown for your python application.
Example of usage
----------------
Simple
^^^^^^
.. code:: python
from graceful_shutdown import ExitSignalHandler
shutdown = ExitSignalHandler()
while not shutdown.triggered:
sleep(1)
.. |Release| image:: https://img.shields.io/github/release/zifter/graceful-shutdown-py.svg
:target: https://github.com/zifter/graceful-shutdown-py/releases
.. |Supported versions| image:: https://img.shields.io/pypi/pyversions/graceful-shutdown-py.svg
:target: https://pypi.org/project/graceful-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/graceful-shutdown-py/badge/?version=latest&style=flat
:target: https://graceful-shutdown-py.readthedocs.io/en/latest/
Raw data
{
"_id": null,
"home_page": "https://github.com/zifter/graceful-shutdown-py",
"name": "graceful-shutdown-py",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "",
"keywords": "graceful,shutdown",
"author": "Aleh Strakachuk",
"author_email": "zifter.ai@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f8/c7/a47d2009e29a9a8badaa8cec79f195716de45025a452093f392ce8ab5e8c/graceful-shutdown-py-0.3.0.tar.gz",
"platform": "any",
"description": "|License| |Release| |Supported versions| |Docs| |Contact| |Blog|\n\ngraceful-shutdown-py\n=====================\n\nHelps to support graceful shutdown for your python application.\n\nExample of usage\n----------------\nSimple\n^^^^^^\n.. code:: python\n\n from graceful_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/graceful-shutdown-py.svg\n :target: https://github.com/zifter/graceful-shutdown-py/releases\n.. |Supported versions| image:: https://img.shields.io/pypi/pyversions/graceful-shutdown-py.svg\n :target: https://pypi.org/project/graceful-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/graceful-shutdown-py/badge/?version=latest&style=flat\n :target: https://graceful-shutdown-py.readthedocs.io/en/latest/\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "attr: graceful_shutdown.__doc__",
"version": "0.3.0",
"split_keywords": [
"graceful",
"shutdown"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9d0604db879ba1635d4695a1bdbdc7dfc27b5f54ed4d543c142d128e7525a844",
"md5": "dcd3887e8efc7eecd5a492864506aa00",
"sha256": "52c7a19eebd40ca89b4010f320605cff1591a76db87c0e2df02678d016ffd1f3"
},
"downloads": -1,
"filename": "graceful_shutdown_py-0.3.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "dcd3887e8efc7eecd5a492864506aa00",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.5",
"size": 3197,
"upload_time": "2023-01-16T20:00:17",
"upload_time_iso_8601": "2023-01-16T20:00:17.834327Z",
"url": "https://files.pythonhosted.org/packages/9d/06/04db879ba1635d4695a1bdbdc7dfc27b5f54ed4d543c142d128e7525a844/graceful_shutdown_py-0.3.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f8c7a47d2009e29a9a8badaa8cec79f195716de45025a452093f392ce8ab5e8c",
"md5": "546180845a22243fd478f8799409af91",
"sha256": "fdce8d33b4e30c384208a79fa133268ac9c1396ca1adc3b447669b96034b93ea"
},
"downloads": -1,
"filename": "graceful-shutdown-py-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "546180845a22243fd478f8799409af91",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 3006,
"upload_time": "2023-01-16T20:00:19",
"upload_time_iso_8601": "2023-01-16T20:00:19.506904Z",
"url": "https://files.pythonhosted.org/packages/f8/c7/a47d2009e29a9a8badaa8cec79f195716de45025a452093f392ce8ab5e8c/graceful-shutdown-py-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-16 20:00:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "zifter",
"github_project": "graceful-shutdown-py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "graceful-shutdown-py"
}