Python SDK for Hoopoe
Project description
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
- Get a free API Key at https://hoopoe.app
- Install NPM packages
pip install hoopoe-python
Usage
First import hoopoe-python and create an instance of it.
from hoopoe-python import Hoopoe
hoopoe = new Hoopoe({
api_key: 'your_hoopoe_api_key',
version: '1', # API version, default 1
base_url: 'https://...', # self-hosted only
})
Then you can send a notification to yourself using like this:
hoopoe.upupa("Your message here", extra = {
"extra": "info",
"could": "be",
"added": "here",
})
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/amazing-feature
) - Commit your Changes (
git commit -m 'Add some amazing-feature'
) - Push to the Branch (
git push origin feature/amazing-feature
) - 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
Built Distribution
File details
Details for the file hoopoe-python-0.0.6.tar.gz
.
File metadata
- Download URL: hoopoe-python-0.0.6.tar.gz
- Upload date:
- Size: 3.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bc7395fc1bad629169fc4d51cec696c3ecdafe9bc3ae5d795300c2a30267f1d |
|
MD5 | 5919d8ef6cdf2923a216eeea6d54ecc6 |
|
BLAKE2b-256 | 9c0a40d49c65b1a7f7a1580397989b0cbaf6268d71f7c6701bf78043c290eab5 |
File details
Details for the file hoopoe_python-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: hoopoe_python-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8cf4a0589983890e32439189a0e5c02c395779c0c4c02176bdd6a7de32a2d02 |
|
MD5 | 44a94bd200b1ff2c1eeae0a7a645d4a0 |
|
BLAKE2b-256 | 4660995b4d0829480a910b8b60244d78820fae17af1997ea0141bcbbbc19e763 |