Skip to main content

Python SDK for Hoopoe

Project description


Logo Python

Hoopoe Python

Python SDK for Hoopoe | Get notified of what's important
Explore the docs »

View Demo · Report Bug · Request Feature

About The Project

Hoopoe is a platform that helps you notify yourself when something important happens in your platform!

Getting Started

There's two ways to use hoopoe, either you can user Hoopoe.app or host it yourself.

Installation

  1. Get a free API Key at https://hoopoe.app
  2. Install PyPI packages
    pip install hoopoe-python
    

Usage

First import hoopoe-python and create an instance of it.

from hoopoe import Hoopoe 

hoopoe = new Hoopoe({
    api_key: 'your_hoopoe_api_key',
    version: '1', # API version, default 1
    base_url: 'https://...', # self-hosted only, ignore if you're using Hoopoe Cloud
})

Then you can send a notification to yourself using like this:

hoopoe.upupa("Your message here", extra = {
    "extra": "info",
    "could": "be",
    "added": "here",
})

By default the upupa command will send the code trace back, you have the option to disable it:

hoopoe.upupa("", extra={}, include_trace_back=False)

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/amazing-feature)
  3. Commit your Changes (git commit -m 'Add some amazing-feature')
  4. Push to the Branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hoopoe-python-0.0.7.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

hoopoe_python-0.0.7-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file hoopoe-python-0.0.7.tar.gz.

File metadata

  • Download URL: hoopoe-python-0.0.7.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for hoopoe-python-0.0.7.tar.gz
Algorithm Hash digest
SHA256 59c6bc727253b2c18c15fde89e51bc8188860cab40809a1b7f2a079c4d8c72bb
MD5 fb36928b10869f4db2229b9c45e48bb0
BLAKE2b-256 90fb7426249e58e640e65ee15b5cb78040be6eef13a92b997d051c538ff1ca6b

See more details on using hashes here.

File details

Details for the file hoopoe_python-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: hoopoe_python-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for hoopoe_python-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b2cbc9e307b74ed2a5edf6d294a0964ab4a46edba1ee7c6735ad5c5b1d2fe945
MD5 d5d1ea3769c1abbf0dc3603ade74c758
BLAKE2b-256 9176acece96c1221e66c08e17b006d41642a06337da78869fb9a21de99a1325f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page