Skip to main content

Singer target for data.world

Project description

A Singer target that writes data to data.world

How to use it

target-datadotworld works together with any other Singer Tap to store on data.world data extracted from sources like SalesForce, HubSpot, Marketo, MySQL and more.

Install and Run

First, make sure Python 3.6 is installed on your system.

target-datadotworld can be run with any Singer Tap, but we’ll use tap-fixerio which pulls currency exchange rate data - as an example.

These commands will install tap-fixerio and target-datadotworld with pip, and then run them together, piping the output of tap-fixerio to target-datadotworld:

? pip install target-datadotworld tap-fixerio
? tap-fixerio | target-datadotworld -c config.json
INFO Replicating the latest exchange rate data from fixer.io
INFO Tap exiting normally

The data will be written to the dataset specified in config.json. In this specific case, under a stream named exchange-rates.

If you’re using a different Tap, substitute tap-fixerio in the final command above with the command used to run your Tap.

Configuration

target-datadotworld requires configuration file that is used to store your data.world API token and dataset information.

The following attributes are required:

  • api_token: Your data.world API token

  • dataset_id: The title of the dataset where the data is to be stored. Must only contain lowercase letters, numbers, and dashes.

Additionally, the following optional attributes can be provided.

  • dataset_owner: If not the same as the owner of the API token (e.g. if the dataset is to be accessed/created under an organization account, as opposed to the user’s own)

Example:

{
    "api_token": "your_token",
    "dataset_id": "fixerio-data",
    "dataset_owner": "my-company",
}

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-datadotworld-1.0.1.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

target_datadotworld-1.0.1-py2.py3-none-any.whl (15.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file target-datadotworld-1.0.1.tar.gz.

File metadata

File hashes

Hashes for target-datadotworld-1.0.1.tar.gz
Algorithm Hash digest
SHA256 36e2b18a3d363c097850f4c630b98d15b535caa40aea2f50290deb9c27907cf0
MD5 e7c9a562e31ae54caf963f0cc9017b4c
BLAKE2b-256 f63580ff525a53cdca00d34cfcfba4a21b1399e0dd7f4e4ae8a93d0697d9b955

See more details on using hashes here.

File details

Details for the file target_datadotworld-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for target_datadotworld-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 88c840b1379c7b7fa7041b5873f52152652c9641b3cfb0874880435d26b25139
MD5 df7d5479771574e87e9997c44f547fbe
BLAKE2b-256 1d7e9ae6afe1f9444c02972a48eb3b293110de0cad03a5f3b5a150d74a879578

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