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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for customer_match_translator-1.0.2-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cc2b843457bbc1c64263b618ea8d830f9656baa9faeb285bb401b93874043f8 |
|
MD5 | 5c0105a9df4d2d7028a0df7838247246 |
|
BLAKE2b-256 | 8d7d2a7a03237903e2f2da654fa72abf314be92627a1f442e66ecbdfbeed8585 |
Hashes for customer_match_translator-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8db4b18b8d6190004cdc5fedde988d8c922a06ef53b91dc7937b52936f9e971 |
|
MD5 | f75954f8d77f8e9fa9ebbdb8a871d6c7 |
|
BLAKE2b-256 | 0e598a72d51a6b975146b1f19b01aada3ceae75a8d6bb543a67c94e707f71e43 |