Skip to main content

Typo is the intelligent data quality barrier for enterprise information systems. The Typo target proxy communicates with Singer taps, consumes data that conforms to the Singer JSON specification, and provides data quality services to data in motion.

Project description

target-typo-proxy

Singer target that provides data quality checking with Typo for data in transit.

target-typo-proxy works as a standard Singer target that provides AI assisted data quality by sending the received data to Typo for inspection. Depending on the results returned by Typo, target-typo-proxy forwards the record to a valid or error target. An optional passthrough target receives all records regardless of Typo results.

Install

Requires Python 3

pip install target-typo-proxy

Use

target-typo-proxy takes two types of input:

  1. A stream of Singer-formatted data on stdin
  2. A config file containing:
    1. api_key - API Key created in the Typo Dashboard
    2. api_secret - API secret created in the Typo Dashboard
    3. cluster_api_endpoint - URL to your Typo cluster. See your account details on the Typo Dashboard.
    4. repository - Name of the repository
    5. send_threshold - The batch size in number of rows to send in each import request to Typo
    6. errors_target - The command for the target that will receive records predicted as error
    7. valid_target - The command for the target that will receive records predicted as valid
    8. passthrough_target - (optional) The command for the target that will receive all records

At least one of errors_target and valid_target must be provided.

Sample config file:

{
  "disable_collection": false,
  "api_key": "my_apikey",
  "api_secret": "my_apisecret",
  "cluster_api_endpoint": "https://cluster.typo.ai/management/api/v1",
  "repository": "my_repository",
  "send_threshold": 250,
  "errors_target": "my_target -c errors.json",
  "valid_target": "my_target -c valid.json",
  "passthrough_target": "another_target -c passthrough.json"
}
> TAP-some-api | target-typo-proxy -c config.json

Development Install

python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Support

You may reach Typo Support at the email handle support@ then the typo domain or See the contact information at https://www.typo.ai


Copyright 2019 Typo. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

This product includes software developed at or by Typo (https://www.typo.ai/).

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

target-typo-proxy-0.1.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

target_typo_proxy-0.1.0-py2.py3-none-any.whl (16.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file target-typo-proxy-0.1.0.tar.gz.

File metadata

  • Download URL: target-typo-proxy-0.1.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for target-typo-proxy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2c4ab5b4539afe04e9f254488754f9d5f342958fe3bea327134c02585d81c8b7
MD5 658500f14174b98917069cd3d68adb9a
BLAKE2b-256 f30c6deb1d0f9cac3afbefa8bc44d75550d2b3ed0f019fc99f7ba90d805de5e7

See more details on using hashes here.

File details

Details for the file target_typo_proxy-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: target_typo_proxy-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for target_typo_proxy-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 58ef24d22a59d010a735ecd9c9fe9363595c374a9cb3c772359af230047c5a02
MD5 e38a39aa49ce147ed7c65f57fa95f047
BLAKE2b-256 66f499720e565baf29c4ece67ce18c126931079aeb8b0a4a2834b79f73e08610

See more details on using hashes here.

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