# singer-summarize
A POC Singer target that summarizes a tap's output.
## Installation
### From PyPI
I recommend using [pipx](https://pypa.github.io/pipx/) to install this package:
```shell
pipx install singer-summarize
```
## Build
### Binary
```shell
cargo build -p singer_summarize --release
```
This will create a binary at `target/release/singer-summarize`.
### Python
```shell
maturin build --release
```
This will create a Python wheel at `target/wheels/`.
## Usage
Copy the binary to your `PATH`:
```shell
cp target/release/singer-summarize ~/.local/bin
```
Test it with a Singer tap:
```console
$ 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",
}
}
}
```
Raw data
{
"_id": null,
"home_page": "https://github.com/edgarrmondragon/singer-rust",
"name": "singer-summarize",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "Edgar Ramirez <edgarrm358@gmail.com>",
"keywords": "singer.io,target",
"author": "",
"author_email": "Edgar Ramirez <edgarrm358@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/8b/81/7e1e073b3f38e1578e46cc0593ed9b6060a98e7681d30f17380adcb23d9c/singer_summarize-0.0.1a5.tar.gz",
"platform": null,
"description": "# singer-summarize\n\nA POC Singer target that summarizes a tap's output.\n\n## Installation\n\n### From PyPI\n\nI recommend using [pipx](https://pypa.github.io/pipx/) to install this package:\n\n```shell\npipx install singer-summarize\n```\n\n## Build\n\n### Binary\n\n```shell\ncargo build -p singer_summarize --release\n```\n\nThis will create a binary at `target/release/singer-summarize`.\n\n### Python\n\n```shell\nmaturin build --release\n```\n\nThis will create a Python wheel at `target/wheels/`.\n\n## Usage\n\nCopy the binary to your `PATH`:\n\n```shell\ncp target/release/singer-summarize ~/.local/bin\n```\n\nTest it with a Singer tap:\n\n```console\n$ tap-exchangeratesapi -c config.json | singer-summarize\n{\n \"streams\": {\n \"exchange_rate\": {\n \"schema\": 1,\n \"record\": 100,\n \"activate_version\": 0,\n \"batch\": 0\n }\n },\n \"state\": {\n \"count\": 1,\n \"last_seen\": {\n \"start_date\": \"2020-01-01\",\n }\n }\n}\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Singer target that summarizes a tap's output",
"version": "0.0.1a5",
"project_urls": {
"Homepage": "https://github.com/edgarrmondragon/singer-rust",
"repository": "https://github.com/edgarrmondragon/singer-rust"
},
"split_keywords": [
"singer.io",
"target"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "007b7a2d64ad4556757d3bca80b788c279579074d1189569e35fb0245c171401",
"md5": "c6166ca1057a0d1c857ee83aa7723a08",
"sha256": "fc88e41fc33e0b8eceea77400277a491d2cb61f3c6592afaa4b0af0ddba48ebb"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5-py3-none-macosx_10_7_x86_64.whl",
"has_sig": false,
"md5_digest": "c6166ca1057a0d1c857ee83aa7723a08",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 480992,
"upload_time": "2023-10-22T02:25:10",
"upload_time_iso_8601": "2023-10-22T02:25:10.599316Z",
"url": "https://files.pythonhosted.org/packages/00/7b/7a2d64ad4556757d3bca80b788c279579074d1189569e35fb0245c171401/singer_summarize-0.0.1a5-py3-none-macosx_10_7_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ee97142b89eb635ec696cdf8e6a0a1fb38a28347a3e20d77cbb34e3014ecd902",
"md5": "42fc129ccefb85056ff8ac16f04022b4",
"sha256": "c2caa8f2c2a9d35ac3405691ac2046ec84de4c2b3b1ebc47fa0562daf9a0bf87"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5-py3-none-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "42fc129ccefb85056ff8ac16f04022b4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 456967,
"upload_time": "2023-10-22T02:25:12",
"upload_time_iso_8601": "2023-10-22T02:25:12.206268Z",
"url": "https://files.pythonhosted.org/packages/ee/97/142b89eb635ec696cdf8e6a0a1fb38a28347a3e20d77cbb34e3014ecd902/singer_summarize-0.0.1a5-py3-none-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3ecfa43f120fdcad84002b8f982c51734dd4f12a9a69a42f384190ce18f92c57",
"md5": "8c740a9792418e98186e0610616ddd7c",
"sha256": "a42d1e11f6b932d98e0a9c2b7519d47d60d7934fbb34a0bc22f0e11c7983b115"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "8c740a9792418e98186e0610616ddd7c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 454017,
"upload_time": "2023-10-22T02:25:13",
"upload_time_iso_8601": "2023-10-22T02:25:13.919661Z",
"url": "https://files.pythonhosted.org/packages/3e/cf/a43f120fdcad84002b8f982c51734dd4f12a9a69a42f384190ce18f92c57/singer_summarize-0.0.1a5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "333d2e816ebe0f9a14eb0782b24e2f8fd5c6af58607a123270fb4a722e58160d",
"md5": "4dbc13803e250a8023f5ea5b17aaa187",
"sha256": "51e6d99256c954d3dc67aa4190f324e9ea43d173b5a72e54b8f1982647813a8f"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl",
"has_sig": false,
"md5_digest": "4dbc13803e250a8023f5ea5b17aaa187",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 446612,
"upload_time": "2023-10-22T02:25:15",
"upload_time_iso_8601": "2023-10-22T02:25:15.431314Z",
"url": "https://files.pythonhosted.org/packages/33/3d/2e816ebe0f9a14eb0782b24e2f8fd5c6af58607a123270fb4a722e58160d/singer_summarize-0.0.1a5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5b239870cfa07b0bdb749ba5b485bebb6c62ef28f8a31a75109d385eecb8a1d0",
"md5": "a3e75b47e9c6ce9ea80ddccba47f6e3a",
"sha256": "46e398d912c447a3b7c9cc2c9c7637fe36b334472c1ef659aad290bc0ae04a9f"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
"has_sig": false,
"md5_digest": "a3e75b47e9c6ce9ea80ddccba47f6e3a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 586684,
"upload_time": "2023-10-22T02:25:16",
"upload_time_iso_8601": "2023-10-22T02:25:16.617931Z",
"url": "https://files.pythonhosted.org/packages/5b/23/9870cfa07b0bdb749ba5b485bebb6c62ef28f8a31a75109d385eecb8a1d0/singer_summarize-0.0.1a5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2b73318fba3bf1c46739e55749da57bf5c76d75277d6acba42c150fd6e6c94f6",
"md5": "e14b1b4ca03e16ca3d97cf2dbd4dd2d9",
"sha256": "5114bbf46d353c0bb571850bf256807ac998052888ebc9d71d737fea311ca485"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"has_sig": false,
"md5_digest": "e14b1b4ca03e16ca3d97cf2dbd4dd2d9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 582518,
"upload_time": "2023-10-22T02:25:18",
"upload_time_iso_8601": "2023-10-22T02:25:18.036552Z",
"url": "https://files.pythonhosted.org/packages/2b/73/318fba3bf1c46739e55749da57bf5c76d75277d6acba42c150fd6e6c94f6/singer_summarize-0.0.1a5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5b14226d0336a41e4d7edf7097225732b518387c69f7a7e11e930180b5364e25",
"md5": "1ab35fd2ea5ef72fd07b1b58cc3bfe7a",
"sha256": "eff404ebff3fa62c006a14976ee491cf48363810de5354899e99c27218092ec4"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "1ab35fd2ea5ef72fd07b1b58cc3bfe7a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 475589,
"upload_time": "2023-10-22T02:25:19",
"upload_time_iso_8601": "2023-10-22T02:25:19.761310Z",
"url": "https://files.pythonhosted.org/packages/5b/14/226d0336a41e4d7edf7097225732b518387c69f7a7e11e930180b5364e25/singer_summarize-0.0.1a5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8e9a6d9ec608b5790ae8ce93441a06ec4a315bb17d9c0c57007fdba1c82c36eb",
"md5": "46e059d68591bc20435d50a89f23fa42",
"sha256": "cf59aba2236ceab40b2b4d4160c69590437baefca85c7bc4bb38b5bb962c6560"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5-py3-none-manylinux_2_5_i686.manylinux1_i686.whl",
"has_sig": false,
"md5_digest": "46e059d68591bc20435d50a89f23fa42",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 525310,
"upload_time": "2023-10-22T02:25:20",
"upload_time_iso_8601": "2023-10-22T02:25:20.974215Z",
"url": "https://files.pythonhosted.org/packages/8e/9a/6d9ec608b5790ae8ce93441a06ec4a315bb17d9c0c57007fdba1c82c36eb/singer_summarize-0.0.1a5-py3-none-manylinux_2_5_i686.manylinux1_i686.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "266c5a1e191ba4f83c6787723d649d42dc7b48273c6008caa48a1e202b6937ba",
"md5": "de1b911883aa877bb5e9c548bb8fbd11",
"sha256": "a48fb0d244d43f81771772abc35bfaa1e8ca6b17e7c2044e7def712a66932e38"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5-py3-none-win32.whl",
"has_sig": false,
"md5_digest": "de1b911883aa877bb5e9c548bb8fbd11",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 368887,
"upload_time": "2023-10-22T02:25:22",
"upload_time_iso_8601": "2023-10-22T02:25:22.622067Z",
"url": "https://files.pythonhosted.org/packages/26/6c/5a1e191ba4f83c6787723d649d42dc7b48273c6008caa48a1e202b6937ba/singer_summarize-0.0.1a5-py3-none-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e6f477b8d3a8fc7c9592e42159ff88c272463aa190d1b1e6cbd392f55b34c93b",
"md5": "960675b248beb25cd5446ba43ce12edf",
"sha256": "f363d077c004460a0bcbb5e7b7da5307cbeaa632208bf83fa712904dfc3b0b69"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5-py3-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "960675b248beb25cd5446ba43ce12edf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 382296,
"upload_time": "2023-10-22T02:25:23",
"upload_time_iso_8601": "2023-10-22T02:25:23.963511Z",
"url": "https://files.pythonhosted.org/packages/e6/f4/77b8d3a8fc7c9592e42159ff88c272463aa190d1b1e6cbd392f55b34c93b/singer_summarize-0.0.1a5-py3-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8b817e1e073b3f38e1578e46cc0593ed9b6060a98e7681d30f17380adcb23d9c",
"md5": "9694a556e9f77fbeef4a9158bbbddbff",
"sha256": "97d73c1f653c1f0e300a2d2e486d5808acc13759847cd1b11d5920dcd7bc02ad"
},
"downloads": -1,
"filename": "singer_summarize-0.0.1a5.tar.gz",
"has_sig": false,
"md5_digest": "9694a556e9f77fbeef4a9158bbbddbff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 7991,
"upload_time": "2023-10-22T02:25:25",
"upload_time_iso_8601": "2023-10-22T02:25:25.286586Z",
"url": "https://files.pythonhosted.org/packages/8b/81/7e1e073b3f38e1578e46cc0593ed9b6060a98e7681d30f17380adcb23d9c/singer_summarize-0.0.1a5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-22 02:25:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "edgarrmondragon",
"github_project": "singer-rust",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "singer-summarize"
}