tap-partoo
is a Singer tap for the Partoo REST API.
Built with the Meltano Tap SDK for Singer Taps.
You can install the Singer tap with:
pipx install git+https://github.com/GendarmerieNationale/tap-partoo.git
Setting | Required | Default | Description |
---|---|---|---|
api_key | True | None | Partoo API Key |
start_date | True | None | Start syncing data from that date |
A full list of supported settings and capabilities is available by running: tap-partoo --about
You can easily run tap-partoo
by itself or in a pipeline using Meltano.
tap-partoo --version
tap-partoo --help
tap-partoo --config path/to/config.json --discover > ./catalog.json
After cloning the repo locally, inside the repo:
pipx install poetry
poetry install
Create tests within the tap_partoo/tests
subfolder and
then run:
poetry run pytest
You can also test the tap-partoo
CLI interface directly using poetry run
:
poetry run tap-partoo --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.
Your project comes with a custom meltano.yml
project file already created. Open the meltano.yml
and follow any "TODO" items listed in
the file.
Next, install Meltano (if you haven't already) and any needed plugins:
# Install meltano
pipx install meltano
# Initialize meltano within this directory
cd tap-partoo
meltano install
Now you can test and orchestrate using Meltano:
# Test invocation:
meltano invoke tap-partoo --version
# OR run a test `elt` pipeline:
meltano elt tap-partoo target-jsonl
See the dev guide for more instructions on how to use the SDK to develop your own taps and targets.
Gendarmerie Nationale, [email protected]
This was developed as part of the CyberImpact EIG project.