معرفی شرکت ها


capture-errors-0.0.4b0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Python package that captures exceptions and notify them
ویژگی مقدار
سیستم عامل -
نام فایل capture-errors-0.0.4b0
نام capture-errors
نسخه کتابخانه 0.0.4b0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Ashish Garg
ایمیل نویسنده ashish.garg@linux.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/capture-errors/
مجوز -
# Capture Errors A python package that captures the exceptions and notify them via different methods of notification. This package provides the complete context of the runtime errors which help developers debug the issues and saves time in bug fixing. ## Installation Use the command `pip` to install the package ```bash $ pip install capture-errors ``` ## Environment Setup ```bash $ export CAPTURE_EMAIL_HOST=smtp.gmail.com $ export CAPTURE_EMAIL_PORT=465 $ export CAPTURE_EMAIL_USER=username@gmail.com $ export CAPTURE_EMAIL_PASSWORD=securePassxxxx ``` ## Usage ```python from capture import Capture from capture.adapters.email import EmailAdapter capture = Capture() email_adapter_properties = { 'from_email': '<email-address>', 'recipients': '<email-address>', } capture.set_adapter(EmailAdapter, email_adapter_properties) try: # Code that can generate an error # For example: ZeroDivisionError x = 10 y = 500000 while True: remainder = y % x x -= 1 except Exception as ex: capture.push(ex) ``` ## Available Adapters * EmailAdapter


نیازمندی

مقدار نام
>=3.0 Jinja2


نحوه نصب


نصب پکیج whl capture-errors-0.0.4b0:

    pip install capture-errors-0.0.4b0.whl


نصب پکیج tar.gz capture-errors-0.0.4b0:

    pip install capture-errors-0.0.4b0.tar.gz