Skip to main content

`tap-ex1` is a Singer tap for Ex1, built with the Meltano Singer SDK.

Project description

dummyjson tap-ex1

tap-ex1 is a Singer tap for dummyjson.com (It is a exercise :)

Built with the Meltano Tap SDK for Singer Taps.

Configuration

Accepted Config Options

A full list of supported settings and capabilities for this tap is available by running:

tap-ex1 --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

Usage

You can easily run tap-ex1 by itself or in a pipeline using Meltano.

Executing the Tap Directly

tap-ex1 --version
tap-ex1 --help
tap-ex1 --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-ex1 CLI interface directly using poetry run:

poetry run tap-ex1 --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-ex1
meltano install

Now you can test and orchestrate using Meltano:

# Test invocation:
meltano invoke tap-ex1 --version
# OR run a test `elt` pipeline:
meltano elt tap-ex1 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.

docker build -t ex1-tap-img -f Dockerfile.meltano . docker run --volume $(pwd)/output:/app/output ex1-tap-img docker run --volume $(pwd)/output:/app/output ex1-tap-img run tap-ex1 target-csv

docker build -t ex1-fastapi-img -f Dockerfile.fastapi . docker run -p 8001:8000 ex1-fastapi-img docker run -p 8001:8000 ex1-fastapi-img uvicorn run_api:app --host 0.0.0.0 --port 8000

docker run astro_067921/airflow:latest ls

docker run --volume $(pwd)/output:/app/output sajjadgoudarzi/vicev-ex1-meltano:latest

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

tap_ex1-0.0.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

tap_ex1-0.0.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file tap_ex1-0.0.1.tar.gz.

File metadata

  • Download URL: tap_ex1-0.0.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for tap_ex1-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9032795e9928bd7ed8b484a1459f68bf8c355ef313c4365348e797e85e984de0
MD5 c2ba3b5151f71c341c70a86cb7d70cfd
BLAKE2b-256 cf3a5739ecbad72b8d8904cb781253ceae0864372191f42cb26c0f6f2676a971

See more details on using hashes here.

Provenance

File details

Details for the file tap_ex1-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tap_ex1-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for tap_ex1-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ef096b905b7c5ddb7e37ce2e6be6cc6602d4d3b21babd611a840ea1dea17635
MD5 5cd1f851573bafe96c5e7e7712df22e1
BLAKE2b-256 877d7cb2cba6873e52e82e8081db557d928b4a0ba900a47111318367df2fdb3a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page