Skip to main content

A simple command line program to translate a CSV containing customer contact information to Google's Customer Match format.

Project description

A simple command line program to translate a CSV containing customer contact information to Google’s Customer Match data format. Has options to allow for hashing of the data before exporting it to a CSV.

Installation

Using pip:

pip install customer-match-translator

Example

customer-match-translator contacts.csv -o output.csv

Will output a customer match compliant file to output.csv.

To hash the file before saving, pass the –hash flag:

customer-match-translator --hash contacts.csv -o output.csv

Sometimes you may not have the zip code of your customers. If you instead have a city or state column, the translator will ask you if you want to try to infer the zipcodes. These cannot be entirely accurate, because there may exist multiple zipcodes for any city.

Requirements

The CSV file must have recognizable field types. Of course, these can simply match the required fields from Google:

  • First Name

  • Last Name

  • Phone

  • Email

  • Country

  • Zip

If the field types are not found, the translator will not be able to translate the file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

customer_match_translator-1.0.2-py3.8.egg (17.1 kB view hashes)

Uploaded Source

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