Powerful Pipes Notifier - Multi-Channel notification tool with the power of UNIX Pipes
In a nutshell Powerful Pipes Notifier is a notification tool to forward STDIN data to different destinations.
Install
> pip install powerful-pipes-notifier
Quick Start
Powerful pipes notifier send to a destination the stdin data, line by line.
Examples:
HTTP Web Hook
> notifier -d http://localhost/webhook
Web Socket Hook
> notifier ws://localhost/websocket-hook
Allowed destinations
Currently, these are the implemented schemas:
- http://URI -> webhook
- ws://URI -> websocket
- mongodb://user:password@host:port/?db=DATABASE&collection=COLLECTION
MongoDB examples
> docker-compose -f docker-compose.mongo.yaml up -d
> cat examples/localhost_meta.txt | notifier -d "mongodb://root:example@127.0.0.1:27900/?db=notifier&collection=logs"
NOTE: Pay attention of symbol "?" in the URI after the port slash.
Rules engine
You can set a rule that tell to notifier if notify or not.
Rules are based in JSONPath standard and will try to match it in the input JSON data.
Usage example:
> notifier -d http://localhost/webhook -R "_meta.dataSource.sourceName == 'har asdf'"
> notifier -d http://localhost/webhook -R "_meta.summary.current == _meta.summary.total"
Documentation
You can find the complete documentation at: Documentation.
Authors
Powerful Pipes Notifier was made by 42Crunch Research Team:
License
Powerful Pipes Notifier is Open Source and available under the AGPLv3+.
Contributions
Contributions are very welcome. See CONTRIBUTING.md or skim existing tickets to see where you could help out.
Acknowledgements
Project logo thanks to Pipe icons created by starline - Flaticon .
Metadata
Release files for powerful-pipes-notifier 1.0.5
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 | Actions |
|---|---|---|---|---|
| powerful-pipes-notifier-1.0.5.tar.gz | 13.1 kB | Without provenance | Details for powerful-pipes-notifier-1.0.5.tar.gz |
Release files / powerful-pipes-notifier-1.0.5.tar.gz
| Download URL | powerful-pipes-notifier-1.0.5.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf24819b1ec37b65023847b53c2b653950861ff40349b40f11a4a19538aa2d13
|
|
BLAKE2b-256 checksum How to use checksums |
75b14160fee1186f3bca0f3f21793ee45206026c276f9df82bdc5c992b97a517
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for powerful-pipes-notifier 1.0.5
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.