target-timeplus is a Singer target for Timeplus.
Build with the Meltano Target SDK.
Install from PyPi (not ready in PyPi yet):
pipx install target-timeplusInstall from GitHub:
pipx install git+https://github.com/timeplus-io/target-timeplus.git@main| Setting | Required | Default | Description |
|---|---|---|---|
| endpoint | True | https://us.timeplus.cloud/wsId1234 | Timeplus workspace endpoint |
| apikey | True | None | Personal API key |
| stream_maps | False | None | Config object for stream maps capability. For more information check out Stream Maps. |
| stream_map_config | False | None | User-defined config values to be used within map expressions. |
| flattening_enabled | False | None | 'True' to enable schema flattening and automatically expand nested properties. |
| flattening_max_depth | False | None | The max depth to flatten schemas. |
A full list of supported settings and capabilities for this target is available by running:
poetry run target-timeplus --aboutThis Singer target 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.
You need to create a free account at https://timeplus.com. Sign up with a Google or Microsoft ID, then create a new workspace with a random ID and a friendly name. Then you will be redirected to https://us.timeplus.cloud/wsId1234/console
You need to create an API key to access Timeplus REST API. To do so:
- Click the user icon on the top-right corner.
- Choose Personal Settings
- Choose the 2nd tab API Key Management
- Click the Create API Key button
- Set a readable name and choose an expiration date
- Save the API key securely in your computer. You are not going to retrieve the plain text key again in the console.
For more details, please check https://docs.timeplus.com/quickstart-ingest-api
You can easily run target-timeplus by itself or in a pipeline using Meltano.
poetry run target-timeplus --version
poetry run target-timeplus --help
# Test using the "tap-smoke-test" sample:
meltano elt tap-smoke-test target-timeplusFollow these instructions to contribute to this project.
pipx install poetry
poetry installCreate tests within the target_timeplus/tests subfolder and
then run:
poetry run pytestYou can also test the target-timeplus CLI interface directly using poetry run:
poetry run target-timeplus --helpTesting 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-timeplus
meltano installNow you can test and orchestrate using Meltano:
# Test invocation:
meltano invoke target-timeplus --version
# OR run a test `elt` pipeline with the "tap-smoke-test" sample:
meltano elt tap-smoke-test target-timeplusSee the dev guide for more instructions on how to use the Meltano Singer SDK to develop your own Singer taps and targets.