Skip to main content

Singer target that summarizes a tap's output

Project description

singer-summarize

A POC Singer target that summarizes a tap's output.

Installation

From PyPI

I recommend using pipx to install this package:

pipx install singer-summarize

Build

Binary

cargo build -p singer_summarize --release

This will create a binary at target/release/singer-summarize.

Python

maturin build --release

This will create a Python wheel at target/wheels/.

Usage

Copy the binary to your PATH:

cp target/release/singer-summarize ~/.local/bin

Test it with a Singer tap:

$ tap-exchangeratesapi -c config.json | singer-summarize
{
  "streams": {
    "exchange_rate": {
      "schema": 1,
      "record": 100,
      "activate_version": 0,
      "batch": 0
    }
  },
  "state": {
    "count": 1,
    "last_seen": {
        "start_date": "2020-01-01",
    }
  }
}

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

singer_summarize-0.0.1a6.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distributions

singer_summarize-0.0.1a6-py3-none-win_amd64.whl (365.2 kB view hashes)

Uploaded Python 3 Windows x86-64

singer_summarize-0.0.1a6-py3-none-win32.whl (350.6 kB view hashes)

Uploaded Python 3 Windows x86

singer_summarize-0.0.1a6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (458.0 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

singer_summarize-0.0.1a6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (557.1 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ s390x

singer_summarize-0.0.1a6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (567.5 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ppc64le

singer_summarize-0.0.1a6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (428.4 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

singer_summarize-0.0.1a6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (435.7 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

singer_summarize-0.0.1a6-py3-none-manylinux_2_5_i686.manylinux1_i686.whl (505.3 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.5+ i686

singer_summarize-0.0.1a6-py3-none-macosx_11_0_arm64.whl (440.1 kB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

singer_summarize-0.0.1a6-py3-none-macosx_10_7_x86_64.whl (460.0 kB view hashes)

Uploaded Python 3 macOS 10.7+ x86-64

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