`tap-totango` is a Singer tap for totango, built with the Meltano Singer SDK.
Project description
tap-totango
tap-totango
is a Singer tap for totango.
Built with the Meltano Tap SDK for Singer Taps.
Installation
Install from PyPi:
pipx install tap-totango
Install from BitBucket:
pipx install git+https://bitbucket.org/indiciumtech/tap-totango.git@main
Configuration
Accepted Config Options
A full list of supported settings and capabilities for this tap is available by running:
tap-totango --about
Configure using environment variables
This Singer tap will automatically import any environment variables within the working directory's
.env
if the --config=ENV
is provided, such that config values will be considered if a matching
environment variable is set either in the terminal context or in the .env
file.
Source Authentication and Authorization
You should create a Totango API personal access token and provide it as the auth_token
setting for the tap.
We recommend passing it as an environment variable. For instance, when using the tap with Meltano you should add the following line to your .env
file:
export TAP_TOTANGO_AUTH_TOKEN=< YOUR_PERSONAL_ACCESS_TOKEN >
Usage
You can easily run tap-totango
by itself or in a pipeline using Meltano.
Executing the Tap Directly
tap-totango --version
tap-totango --help
tap-totango --config CONFIG --discover > ./catalog.json
Developer Resources
Follow these instructions to contribute to this project.
Initialize your Development Environment
pipx install poetry
poetry install
Create and Run Tests
Create tests within the tests
subfolder and
then run:
poetry run pytest
You can also test the tap-totango
CLI interface directly using poetry run
:
poetry run tap-totango --help
Testing with Meltano
Note: This tap 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 tap-totango
meltano install
Now you can test and orchestrate using Meltano:
# Test invocation:
meltano invoke tap-totango --version
# OR run a test `elt` pipeline:
meltano elt tap-totango target-jsonl
SDK Dev Guide
See the dev guide for more instructions on how to use the SDK to develop your own taps and targets.
Acknowledgements
Edson Nogueira thanks all members of the Meltaners group @ Indicium Tech, namely Cesar Rubim, Lucas Marques, Guilherme Tavares e Igor Benincá, for the professional guidance.
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
Hashes for tap_totango-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d3a9d00327b9e0213d4a3b46b7c5b2905fec079bbff182f21b8e36078cf4d3 |
|
MD5 | cda2908cf5e940b1aa5e270ede277e7d |
|
BLAKE2b-256 | 32f87058bf505a61eddc35911cb9c2a15e6291a6e14bfd59e437c0e22d9ff992 |