wrapt_timeout_decorator

Python Powerful Timeout Decorator that can be used safely on classes, methods, class methods

MIT License

Downloads
192K
Stars
149
Committers
3
wrapt_timeout_decorator - v1.5.1 Latest Release

Published by bitranox 8 months ago

v1.5.1
2024-02-28:
overhaul documentation
github actions/checkout@v4
github actions/setup-python@v5

wrapt_timeout_decorator - v1.5.0

Published by bitranox 8 months ago

v1.5.0

2024-02-27:
- thanks to Alberto Ornaghi: <https://github.com/alor>_
- introduced parameter dec_mp_reset_signals
- restores the default behavior of signal handlers on multiprocessing fork
- suitible especially for FastAPI and Uvicorn

wrapt_timeout_decorator - v1.4.1

Published by bitranox 10 months ago

v1.4.1

2024-01-10:
- thanks to fayak: <https://github.com/fayak>_
- omit mypy option --no-implicit-reexport
- explicitly export methods in __init__.py

wrapt_timeout_decorator - v1.4.0

Published by bitranox over 1 year ago

v1.4.0

2023-07-13:
- check for killed child processes (for instance by OOMKiller)
- change dill requirements for windows
- require minimum python 3.8
- remove python 3.7 tests
- introduce PEP517 packaging standard
- introduce pyproject.toml build-system
- remove mypy.ini
- remove pytest.ini
- remove setup.cfg
- remove setup.py
- remove .bettercodehub.yml
- remove .travis.yml
- update black config
- clean ./tests/test_cli.py
- add codeql badge
- move 3rd_party_stubs outside the src directory to ./.3rd_party_stubs
- add pypy 3.10 tests
- add python 3.12-dev tests

wrapt_timeout_decorator - v1.3.12.2

Published by bitranox over 2 years ago

v1.3.12.2

2022-06-01: update to github actions checkout@v3 and setup-python@v3

wrapt_timeout_decorator - v1.3.12

Published by bitranox over 2 years ago

v1.3.12

2022-05-23: update requirements.txt

wrapt_timeout_decorator - v1.3.11

Published by bitranox over 2 years ago

v1.3.11

2022-05-23:
- set dill version < 0.3.5 on windows, because decorating class methods fails with dill 0.3.5 upwards
- update tests to the latest python versions

wrapt_timeout_decorator - v1.3.10

Published by bitranox over 2 years ago

v1.3.10

2022-04-26: add tests for thread lock

wrapt_timeout_decorator - v1.3.9

Published by bitranox over 2 years ago

v1.3.9
2022-04-26: preserve the signature of the decorator. make sure You use the stub file "wrapt.pyi" for local mypy testing

wrapt_timeout_decorator - v1.3.8

Published by bitranox over 2 years ago

v1.3.8

2022-03-29: remedy mypy Untyped decorator makes function "cli_info" untyped

wrapt_timeout_decorator - v1.3.7

Published by bitranox over 2 years ago

v1.3.7

2022-03-28: extend time on test_timeout_decorator_arg - github macos seems to be slow, so sometimes that test fails

wrapt_timeout_decorator - v1.3.6

Published by bitranox over 2 years ago

v1.3.6

2022-03-25: fix github actions windows test

wrapt_timeout_decorator - v1.3.4

Published by bitranox over 2 years ago

v1.3.4
2022-03-23: extend time on test_timeout_ok_timeout_as_kwarg - github macos seems to be slow, so sometimes that test fails

wrapt_timeout_decorator - v1.3.3

Published by bitranox over 2 years ago

v1.3.3

2022-03-10: extend time on test_timeout_alternate_exception - github macos seems to be slow, so sometimes that test fails

wrapt_timeout_decorator - v1.3.2

Published by bitranox over 2 years ago

v1.3.2

2022-03-01: github actions pipeline, codestyle black, fix requirements

wrapt_timeout_decorator - strict mypy static type checking, housekeeping

Published by bitranox about 5 years ago

  • strict mypy static type checking
  • housekeeping
  • delete old python 2.7 - 3.4 code
wrapt_timeout_decorator - pointing out caveats when using signals, the decorator defaults now to NOT using Signals !

Published by bitranox over 5 years ago

pointing out caveats when using signals, the decorator defaults now to NOT using Signals !

wrapt_timeout_decorator - nested decorators, mypy static type checking

Published by bitranox over 5 years ago

enable nested decorators
update documentation for nested decorators
integrate mypy static type checking

wrapt_timeout_decorator - import issues

Published by bitranox over 5 years ago

import multiprocess as multiprocessing might break packages - so import as multiprocess

wrapt_timeout_decorator - import issues

Published by bitranox over 5 years ago

Version 1.2.7 - "import multiprocess as multiprocessing" might break packages - so import as multiprocess

Package Rankings
Top 3.89% on Pypi.org
Related Projects