The easy way to send notifications
Clone or download
dependabot[bot] and liiight Bump hypothesis from 3.74.3 to 3.76.0 (#162)
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 3.74.3 to 3.76.0.
<details>
<summary>Release notes</summary>

*Sourced from [hypothesis's releases](https://github.com/HypothesisWorks/hypothesis/releases).*

> ## Hypothesis for Python - version 3.76.0
> You can [read the changelog for this release here](https://hypothesis.readthedocs.io/en/latest/changes.html#v3-76-0).
> 
> ## Hypothesis for Python - version 3.75.4
> You can [read the changelog for this release here](https://hypothesis.readthedocs.io/en/latest/changes.html#v3-75-4).
> 
> ## Hypothesis for Python - version 3.75.3
> You can [read the changelog for this release here](https://hypothesis.readthedocs.io/en/latest/changes.html#v3-75-3).
> 
> ## Hypothesis for Python - version 3.75.2
> You can [read the changelog for this release here](https://hypothesis.readthedocs.io/en/latest/changes.html#v3-75-2).
> 
> ## Hypothesis for Python - version 3.75.1
> You can [read the changelog for this release here](https://hypothesis.readthedocs.io/en/latest/changes.html#v3-75-1).
> 
> ## Hypothesis for Python - version 3.75.0
> You can [read the changelog for this release here](https://hypothesis.readthedocs.io/en/latest/changes.html#v3-75-0).
</details>
<details>
<summary>Commits</summary>

- [`4e208b1`](HypothesisWorks/hypothesis@4e208b1) Bump hypothesis-python version to 3.76.0 and update changelog
- [`928e575`](HypothesisWorks/hypothesis@928e575) Deprecate float sizes (min_size, max_size) ([#1635](https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/1635))
- [`9064a8f`](HypothesisWorks/hypothesis@9064a8f) Bump hypothesis-python version to 3.75.4 and update changelog
- [`1652781`](HypothesisWorks/hypothesis@1652781) Merge pull request [#1608](https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/1608) from Zalathar/length-shrinker
- [`49b536e`](HypothesisWorks/hypothesis@49b536e) Merge pull request [#1632](https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/1632) from seifertm/ignore_pluggy_deprecation
- [`9fb3fcf`](HypothesisWorks/hypothesis@9fb3fcf) Tests no longer fail with a DeprecationWarning for users of pluggy<0.6.
- [`23bd21b`](HypothesisWorks/hypothesis@23bd21b) Bump hypothesis-python version to 3.75.3 and update changelog
- [`1379f18`](HypothesisWorks/hypothesis@1379f18) Merge pull request [#1601](https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/1601) from Zalathar/example-block-docs
- [`acad9ca`](HypothesisWorks/hypothesis@acad9ca) Add RELEASE.rst
- [`7aa3881`](HypothesisWorks/hypothesis@7aa3881) Explain how Length.run_step works
- Additional commits viewable in [compare view](HypothesisWorks/hypothesis@hypothesis-python-3.74.3...hypothesis-python-3.76.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=hypothesis&package-manager=pip&previous-version=3.74.3&new-version=3.76.0)](https://dependabot.com/compatibility-score.html?dependency-name=hypothesis&package-manager=pip&previous-version=3.74.3&new-version=3.76.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
Latest commit bdba023 Oct 17, 2018

README.MD

Notifiers

Full logo

Travis CI Codecov image PyPi version Supported Python versions License Status Docker build RTD Paypal Downloads Twitter Follow Code style: black

See changelog for recent changes

Got an app or service and you want to enable your users to use notifications with their provider of choice? Working on a script and you want to receive notification based on its output? You don't need to implement a solution yourself, or use individual provider libs. A one stop shop for all notification providers with a unified and simple interface.

Supported providers

Pushover, SimplePush, Slack, Gmail, Email (SMTP), Telegram, Gitter, Pushbullet, Join, Hipchat, Zulip, Twilio, Pagerduty, Mailgun, PopcornNotify, StatusPage.io

Advantages

  • Spend your precious time on your own code base, instead of chasing down 3rd party provider APIs. That's what we're here for!
  • With a minimal set of well known and stable dependencies (requests, jsonschema and click) you're better off than installing 3rd party SDKs.
  • A unified interface means that you already support any new providers that will be added, no more work needed!
  • Thorough testing means protection against any breaking API changes. We make sure your code your notifications will always get delivered!

Installation

Via pip:

$ pip install notifiers

Or Dockerhub:

$ docker pull liiight/notifiers

Basic Usage

>>> from notifiers import get_notifier
>>> p = get_notifier('pushover')
>>> p.required
{'required': ['user', 'message', 'token']}
>>> p.notify(user='foo', token='bar', message='test')
<NotificationResponse,provider=Pushover,status=Success>

Or:

>>> from notifiers import notify
>>> notify('pushover', user='foo', token='bar', message='test')
<NotificationResponse,provider=Pushover,status=Success>

From CLI

$ notifiers pushover notify --user foo --token baz "This is so easy!"

As a logger

Directly add to your existing stdlib logging:

>>> import logging
>>> from notifiers.logging import NotificationHandler

>>> log = logging.getLogger(__name__)

>>> defaults = {
        'token': 'foo,
        'user': 'bar
    }
>>> hdlr = NotificationHandler('pushover', defaults=defaults)
>>> hdlr.setLevel(logging.ERROR)

>>> log.addHandler(hdlr)
>>> log.error('And just like that, you get notified about all your errors!')

Mentions

In the near future

  • Many more providers!
  • Low level providers (Amazon SNS, Google FCM, OS Toast messages) via extra dependencies

See Docs for more information

Donations

If you like this and want to buy me a cup of coffee, please click the donation button above or click this link

Code of Conduct

Everyone interacting in the Notifiers project's codebases, issue trackers and chat rooms is expected to follow the PyPA Code of Conduct.