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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Egg

customer_match_translator-1.0.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file customer_match_translator-1.0.2-py3.8.egg.

File metadata

  • Download URL: customer_match_translator-1.0.2-py3.8.egg
  • Upload date:
  • Size: 17.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for customer_match_translator-1.0.2-py3.8.egg
Algorithm Hash digest
SHA256 6cc2b843457bbc1c64263b618ea8d830f9656baa9faeb285bb401b93874043f8
MD5 5c0105a9df4d2d7028a0df7838247246
BLAKE2b-256 8d7d2a7a03237903e2f2da654fa72abf314be92627a1f442e66ecbdfbeed8585

See more details on using hashes here.

File details

Details for the file customer_match_translator-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for customer_match_translator-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f8db4b18b8d6190004cdc5fedde988d8c922a06ef53b91dc7937b52936f9e971
MD5 f75954f8d77f8e9fa9ebbdb8a871d6c7
BLAKE2b-256 0e598a72d51a6b975146b1f19b01aada3ceae75a8d6bb543a67c94e707f71e43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page