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 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!
- 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.
Metadata
Release files for hoopoe-python 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| hoopoe-python-0.0.8.tar.gz | 4.5 kB | Without provenance | Details |
Release files / hoopoe-python-0.0.8.tar.gz
| Download URL | hoopoe-python-0.0.8.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f49f95a66a3de88a5a53d34c4e4278f67be5e9bbc1a12b96b2420810766dd9e
|
|
BLAKE2b-256 checksum How to use checksums |
d77e275449fa38fd20a6d7fc78fc36d972648c36b4ee283d9f128d2473cdcbae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for hoopoe-python 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.