`target-apprise` is a Singer target for Apprise, built with the Meltano SDK for Singer Targets.
Project description
target-apprise
Target for Apprise.
Tap was created by AutoIDM
Built with the Meltano SDK for Singer Taps and Targets. Curious about Meltano? I'd recommend checking out the Meltano Hub for a large number of taps/targets available to connect data with!
Usage (example with a slack uri)
pipx install meltano
#Note that you have to escape the quotes, dotenv is nice as it's not committed along with your repo keeping your secrets, secret!
meltano config target-apprise set uris [\"https://hooks.slack.com/services/tokenhere/tokenhere/tokenhere\"] --store dotenv
meltano invoke target-apprise --version
# Note that instead of input_example, you can setup data to come from anywhere (Normally it'd be from a DB / DW via a singer tap)
cat input_example | meltano invoke target-apprise
Sponsors
Want to become a sponsor? Reach out to us at autoidm.com
Capabilities
about
stream-maps
schema-flattening
Settings
Setting | Required | Default | Description |
---|---|---|---|
uris | True | None | Array of apprise URIs, see list here https://github.com/caronc/apprise |
stream_maps | False | None | Config object for stream maps capability. (Doesn't make much sense with this target) |
stream_map_config | False | None | User-defined config values to be used within map expressions. (Doesn't make much sense with this target) |
flattening_enabled | False | None | 'True' to enable schema flattening and automatically expand nested properties. (Doesn't make much sense with this target) |
flattening_max_depth | False | None | The max depth to flatten schemas. (Doesn't make much sense with this target) |
A full list of supported settings and capabilities is available by running: target-apprise --about
Note that uris are sensitive information, so be sure to set these in your .env
file if you're using Meltano.
Source Authentication and Authorization
Usage
You can easily run target-apprise
by itself or in a pipeline using Meltano.
Executing the Target Directly
target-apprise --version
target-apprise --help
# Test using the sample in this repo:
cat input_example | target-apprise --config /path/to/target-apprise-config.json
Developer Resources
Initialize your Development Environment
pipx install poetry
poetry install
Create and Run Tests
Create tests within the target_apprise/tests
subfolder and
then run:
poetry run pytest
You can also test the target-apprise
CLI interface directly using poetry run
:
poetry run target-apprise --help
Testing with Meltano
Note: This target will work in any Singer environment and does not require Meltano. Examples here are for convenience and to streamline end-to-end orchestration scenarios.
Next, install Meltano (if you haven't already) and any needed plugins:
# Install meltano
pipx install meltano
# Initialize meltano within this directory
cd target-apprise
meltano install
Now you can test and orchestrate using Meltano:
# Test invocation:
meltano invoke target-apprise --version
# OR run a test `elt` pipeline with the Carbon Intensity sample tap:
cat cat input_example | meltano invoke target-apprise
SDK Dev Guide
See the dev guide for more instructions on how to use the Meltano SDK to develop your own Singer taps and targets.
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 target_apprise-0.0.7.tar.gz
.
File metadata
- Download URL: target_apprise-0.0.7.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f430ab5e21b60b7be3013732388a5d0ec39e4d28d898324c3f3631ab9d2a904 |
|
MD5 | 5ba9e3263cf60f69be36ad39f0300816 |
|
BLAKE2b-256 | 886914ddf4cbee69592f4d938ee83a284dd857bc07b055388e4aab96ec445b9b |
Provenance
The following attestation bundles were made for target_apprise-0.0.7.tar.gz
:
Publisher:
release.yml
on AutoIDM/target-apprise
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
target_apprise-0.0.7.tar.gz
- Subject digest:
9f430ab5e21b60b7be3013732388a5d0ec39e4d28d898324c3f3631ab9d2a904
- Sigstore transparency entry: 142654211
- Sigstore integration time:
- Predicate type:
File details
Details for the file target_apprise-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: target_apprise-0.0.7-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 204b8d61d6e90aa1d5f457d4f8ad659a537e958a9f3fa5875e3de09395ef991f |
|
MD5 | 97f0c8d0c37948a9bb6d47df8ee4b4e2 |
|
BLAKE2b-256 | 6983cbf71aafd122e537925584e6df424108bf557a5d7f07e761f931bf749b6c |
Provenance
The following attestation bundles were made for target_apprise-0.0.7-py3-none-any.whl
:
Publisher:
release.yml
on AutoIDM/target-apprise
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
target_apprise-0.0.7-py3-none-any.whl
- Subject digest:
204b8d61d6e90aa1d5f457d4f8ad659a537e958a9f3fa5875e3de09395ef991f
- Sigstore transparency entry: 142654213
- Sigstore integration time:
- Predicate type: