{"id":17679368,"url":"https://github.com/tmck-code/target-ndjson","last_synced_at":"2025-10-04T06:52:54.517Z","repository":{"id":88833267,"uuid":"283689248","full_name":"tmck-code/target-ndjson","owner":"tmck-code","description":"NDJSON Target for Singer Taps","archived":false,"fork":false,"pushed_at":"2020-09-23T07:52:45.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-30T18:32:57.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmck-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-30T06:32:36.000Z","updated_at":"2020-09-11T04:28:44.000Z","dependencies_parsed_at":"2023-06-12T20:15:15.574Z","dependency_job_id":null,"html_url":"https://github.com/tmck-code/target-ndjson","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tmck-code/target-ndjson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmck-code%2Ftarget-ndjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmck-code%2Ftarget-ndjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmck-code%2Ftarget-ndjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmck-code%2Ftarget-ndjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmck-code","download_url":"https://codeload.github.com/tmck-code/target-ndjson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmck-code%2Ftarget-ndjson/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278277871,"owners_count":25960430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-24T08:22:13.032Z","updated_at":"2025-10-04T06:52:54.493Z","avatar_url":"https://github.com/tmck-code.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# target-ndjson\n\nThis is a [Singer](https://singer.io) target that reads JSON-formatted data\nfollowing the [Singer spec](https://github.com/singer-io/getting-started/blob/master/SPEC.md).\n\n- [target-ndjson](#target-ndjson)\n  - [Behaviour](#behaviour)\n    - [Performance](#performance)\n  - [Testing](#testing)\n    - [With Docker](#with-docker)\n    - [Without Docker](#without-docker)\n\n---\n\n## Behaviour\n\nThis target writes to files in NDJSON (aka \"Newline-Delimited JSON\" files). This\nessentially unpacks each `\"RECORD\"` log recived, verbatim, and writes to file.\n\nThis target is intended for use in systems that implement their own data processing\nlayers, or that need un-transformed output.\n\n### Performance\n\nIn addition to producing \"un-transformed\" output, there are some additional changes\nin this tap to improve overall latency.\n\n- Using `ujson` over standard-lib `json` for JSON serde.\n- Keeping output files open, rather than re-opening in append mode per-line\n\nThis tap is designed for circumstances in which large amounts of data must be ingested\nfrom a tap and written to file, as fast and efficiently as (reasonably) possible.\n\n## Testing\n\nThis repository can be tested using `pytest`, with or with out a docker container\n\n### With Docker\n\n```shell\n# This Makefile contains handy helper commands for using docker.\n# You can also use the docker commands directly (see Makefile for examples)\nmake build test\n```\n\n### Without Docker\n\n```shell\npip install -r requirements.txt\npytest\n```\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmck-code%2Ftarget-ndjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmck-code%2Ftarget-ndjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmck-code%2Ftarget-ndjson/lists"}