The target-csv Singer target sends data into Comma Separated Values (CSV) after it was pulled from a source using a Singer tap.

Alternative variants #

Multiple variants of target-csv are available. This document describes the singer-io variant.

Alternative variants are:

Standalone usage #

Install the package using pip:

pip install target-csv

For additional instructions, refer to the README in the repository.

Usage with Meltano #

Meltano helps you manage your configuration, incremental replication, and scheduled pipelines.

View the Meltano-specific target-csv instructions to learn more.

Capabilities #

These capabilities can also be overriden by specifying the capabilities key in your meltano.yml file.

Settings #

The settings for target target-csv that are known to Meltano are documented below. To quickly find the setting you're looking for, use the Table of Contents at the top of the page.

You can override these settings or specify additional ones in your meltano.yml by adding the settings key. Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this target.

destination_path #

  • Default: output

Sets the destination path the CSV files are written to, relative to the project root. The directory needs to exist already, it will not be created automatically. To write CSV files to the project root, set an empty string ("").

delimiter #

  • Default: ,

A one-character string used to separate fields. It defaults to a comma (,).

quotechar #

  • Default: '

A one-character string used to quote fields containing special characters, such as the delimiter or quotechar, or which contain new-line characters. It defaults to single quote (‘).

Looking for help? #

If you're having trouble getting the target-csv target to work, look for an existing issue in its repository, file a new issue, or join the Meltano Slack community and ask for help in the #plugins-general channel.

Found an issue on this page? #

This page is generated from a YAML file that you can contribute changes to. Edit it on GitHub!