-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ead435b
commit 7faea8d
Showing
9 changed files
with
52 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
|License| |Release| |Supported versions| |Docs| |Contact| |Blog| | ||
|
||
gracefull-shutdown-py | ||
graceful-shutdown-py | ||
===================== | ||
|
||
Helps to support gracefull shutdown for your python application. | ||
Helps to support graceful shutdown for your python application. | ||
|
||
Example of usage | ||
---------------- | ||
Simple | ||
^^^^^^ | ||
.. code:: python | ||
from gracefull_shutdown import ExitSignalHandler | ||
from graceful_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/ | ||
.. |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/gracefull-shutdown-py/badge/?version=latest&style=flat | ||
:target: https://gracefull-shutdown-py.readthedocs.io/en/latest/ | ||
.. |Docs| image:: https://readthedocs.org/projects/graceful-shutdown-py/badge/?version=latest&style=flat | ||
:target: https://graceful-shutdown-py.readthedocs.io/en/latest/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pytest==6.2.1 | ||
pytest-cov==2.10.1 | ||
pytest==6.2.5 | ||
pytest-cov==3.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# https://gist.github.com/althonos/6914b896789d3f2078d1e6237642c35c | ||
|
||
[metadata] | ||
name = gracefull-shutdown-py | ||
version = 0.2.2 | ||
name = graceful-shutdown-py | ||
version = 0.3.0 | ||
author = Aleh Strakachuk | ||
author_email = [email protected] | ||
home-page = https://github.com/zifter/gracefull-shutdown-py | ||
description = attr: gracefull_shutdown.__doc__ | ||
home-page = https://github.com/zifter/graceful-shutdown-py | ||
description = attr: graceful_shutdown.__doc__ | ||
long-description = file: README.rst | ||
long_description_content_type = text/x-rst | ||
license = MIT | ||
license-file = LICENSE | ||
platform = any | ||
keywords = gracefull,shutdown | ||
keywords = graceful,shutdown | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
License :: OSI Approved :: MIT License | ||
|
@@ -31,10 +31,10 @@ zip_safe = false | |
include_package_data = true | ||
python_requires = >= 3.5 | ||
package_dir = | ||
gracefull_shutdown=src/gracefull_shutdown | ||
graceful_shutdown=src/graceful_shutdown | ||
tests=src/tests | ||
packages = | ||
gracefull_shutdown | ||
graceful_shutdown | ||
test_suite = tests | ||
setup_requires = | ||
setuptools >=30.3.0 # minimal version for `setup.cfg` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters