Skip to content

ipsedixit-org/python-exit-gracefully-example

Repository files navigation

Python exit gracefully example

Initial setup

Create virtualenv with all dependencies using make command:

make setup

Execute

source .venv/bin/activate
python python_exit_gracefully_example/main.py

Update requirements

make update-reqs

Code linting

Code linting has been done using (black)[https://github.com/psf/black] and (isort)[https://pycqa.github.io/isort/].

source .venv/bin/activate
make lint

Execute tox

tox -e tests,pep8

About

This repository is mirrored from https://gitlab.com/ipsedixit-org/python-exit-gracefully-example. This program show how a Python program could be implemented in order to exit gracefully, for example receiving a SIGINT.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published